summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Pakker2021-07-19 09:43:36 +0000
committerOmar Pakker2021-07-19 09:43:36 +0000
commitdbf4130f0e18ecd68084c98e2732d62898e5781f (patch)
tree96c425bbc8f4913549194f576a02528ab02ebd4d
parente45d7be02ed72dfff4f7fa57799ae38c240666f1 (diff)
downloadaur-dbf4130f0e18ecd68084c98e2732d62898e5781f.tar.gz
Update to be compatible with post B4 changes.
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD27
2 files changed, 26 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 88438aad4a1..4a8fbb9f8f3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,26 +1,27 @@
pkgbase = looking-glass-git
pkgdesc = An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough
- pkgver = B3.r236.g118d9a0
+ pkgver = B4.r63.gb8effaf4
pkgrel = 1
epoch = 2
url = https://looking-glass.io/
install = looking-glass-git.install
arch = x86_64
license = GPL2
- makedepends = cmake
makedepends = git
+ makedepends = cmake
makedepends = fontconfig
makedepends = spice-protocol
makedepends = wayland-protocols
- makedepends = libgl
- makedepends = libegl
makedepends = libxss
makedepends = libxi
- makedepends = libxinerama
makedepends = obs-studio
source = looking-glass::git+https://github.com/gnif/LookingGlass.git
source = LGMP::git+https://github.com/gnif/LGMP.git
source = PureSpice::git+https://github.com/gnif/PureSpice.git
+ source = cimgui::git+https://github.com/cimgui/cimgui.git
+ source = imgui::git+https://github.com/ocornut/imgui.git
+ sha512sums = SKIP
+ sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 8cf76621c76..11eba34a9d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,35 +7,44 @@ pkgname=("${_pkgname}-git"
"${_pkgname}-host-git"
"obs-plugin-${_pkgname}-git")
epoch=2
-pkgver=B3.r236.g118d9a0
+pkgver=B4.r63.gb8effaf4
pkgrel=1
pkgdesc="An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough"
url="https://looking-glass.io/"
arch=('x86_64')
license=('GPL2')
-makedepends=('cmake' 'git' 'fontconfig' 'spice-protocol' 'wayland-protocols'
- 'libgl' 'libegl' 'libxss' 'libxi' 'libxinerama' 'obs-studio')
+makedepends=('git' 'cmake' 'fontconfig' 'spice-protocol' 'wayland-protocols'
+ 'libxss' 'libxi' 'obs-studio')
source=("${_pkgname}::git+https://github.com/gnif/LookingGlass.git"
"LGMP::git+https://github.com/gnif/LGMP.git"
- "PureSpice::git+https://github.com/gnif/PureSpice.git")
+ "PureSpice::git+https://github.com/gnif/PureSpice.git"
+ "cimgui::git+https://github.com/cimgui/cimgui.git"
+ "imgui::git+https://github.com/ocornut/imgui.git")
sha512sums=('SKIP'
'SKIP'
+ 'SKIP'
+ 'SKIP'
'SKIP')
install="${pkgbase}.install"
pkgver() {
- cd "${_pkgname}"
+ cd "${srcdir}/${_pkgname}"
local TAG=$(git describe --abbrev=0 --tags)
local SUFFIX=$(git describe --long --tags | sed 's/^'"${TAG}"'-\([^-]*-g\)/r\1/;s/-/./g')
printf "%s.%s" "${TAG//-/}" "${SUFFIX}"
}
prepare() {
- cd "${_pkgname}"
-
+ cd "${srcdir}/${_pkgname}"
git submodule init
git config submodule.repos/LGMP.url "${srcdir}/LGMP"
git config submodule.repos/PureSpice.url "${srcdir}/PureSpice"
+ git config submodule.repos/cimgui.url "${srcdir}/cimgui"
+ git submodule update
+
+ cd "repos/cimgui"
+ git submodule init
+ git config submodule.imgui.url "${srcdir}/imgui"
git submodule update
}
@@ -57,6 +66,10 @@ package_looking-glass-git() {
cd "${srcdir}/${_pkgname}/client"
make DESTDIR="${pkgdir}" install
+
+ # cimgui is build and linked as a static library.
+ # As such, it had no business getting installed. Delete it.
+ rm "${pkgdir}/usr/cimgui.a"
}
package_looking-glass-module-dkms-git() {