summaryrefslogtreecommitdiff
path: root/repo/spice-vdagent/spice-vdagent.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-08-10 09:16:34 +0100
committerdavidovski <david@davidovski.xyz>2022-08-10 09:16:34 +0100
commitc1d3da9ca87c414100b1cb969e36b8d7d05b9a74 (patch)
tree1cd983a42e1a221991d09783e08c6c162d4be5cf /repo/spice-vdagent/spice-vdagent.xibuild
parent9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (diff)
added ovmf, lolcat, spice, and squashfstools
Diffstat (limited to 'repo/spice-vdagent/spice-vdagent.xibuild')
-rw-r--r--repo/spice-vdagent/spice-vdagent.xibuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/repo/spice-vdagent/spice-vdagent.xibuild b/repo/spice-vdagent/spice-vdagent.xibuild
new file mode 100644
index 0000000..f997504
--- /dev/null
+++ b/repo/spice-vdagent/spice-vdagent.xibuild
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+NAME="spice-vdagent"
+DESC="Spice guest agent for Linux"
+
+MAKEDEPS="spice-protocol alsa-lib dbus glib libdrm libpciaccess libxfixes libxinerama libxrandr"
+
+PKG_VER=0.22.1
+SOURCE="https://spice-space.org/download/releases/spice-vdagent-$PKG_VER.tar.bz2"
+
+ADDITIONAL="
+spice-vdagentd.initd
+"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --with-session-info=none
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make install DESTDIR="$PKG_DEST"
+ install -Dm0755 "$BUILD_ROOT"/spice-vdagentd.initd "$PKG_DEST"/etc/init.d/spice-vdagentd
+ install -dm 0755 "$PKG_DEST"/etc/modules-load.d/
+ printf 'uinput\n' >"$PKG_DEST"/etc/modules-load.d/spice-vdagent.conf
+}
+