summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Pakker2017-12-14 10:38:22 +0100
committerOmar Pakker2017-12-14 10:38:22 +0100
commit5d33e989f9531241ccb50ee10e1ccebcb831bac4 (patch)
tree0667c94e52c808e773c8e4bcb8b21b952fe44019
downloadaur-5d33e989f9531241ccb50ee10e1ccebcb831bac4.tar.gz
Initial commit for the looking-glass client
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD31
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4aff29c23a3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = looking-glass-git
+ pkgdesc = An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough
+ pkgver = a2.r5.g2ae9b47
+ pkgrel = 1
+ url = https://looking-glass.hostfission.com
+ arch = x86_64
+ license = LGPL
+ makedepends = git
+ makedepends = sdl2_ttf
+ makedepends = spice-protocol
+ depends = sdl2_ttf
+ depends = glu
+ depends = openssl
+ depends = fontconfig
+ provides = looking-glass
+ conflicts = looking-glass
+ source = looking-glass::git+https://github.com/gnif/LookingGlass.git
+ sha512sums = SKIP
+
+pkgname = looking-glass-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..98fa11faf07
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Omar Pakker <archlinux@opakker.nl>
+
+_pkgname=looking-glass
+pkgname="${_pkgname}-git"
+pkgver=a2.r5.g2ae9b47
+pkgrel=1
+pkgdesc="An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough"
+url="https://looking-glass.hostfission.com"
+arch=('x86_64')
+license=('LGPL')
+makedepends=('git' 'sdl2_ttf' 'spice-protocol')
+depends=('sdl2_ttf' 'glu' 'openssl' 'fontconfig')
+optdepends=()
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+source=("${_pkgname}::git+https://github.com/gnif/LookingGlass.git")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "${_pkgname}"
+ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "${_pkgname}/client"
+ make
+}
+
+package() {
+ install -Dm755 "${srcdir}/${_pkgname}/client/bin/looking-glass-client" "${pkgdir}/usr/bin/looking-glass-client"
+}