summaryrefslogtreecommitdiff
path: root/repo/usbredir/usbredir.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/usbredir/usbredir.xibuild
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/usbredir/usbredir.xibuild')
-rw-r--r--repo/usbredir/usbredir.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/usbredir/usbredir.xibuild b/repo/usbredir/usbredir.xibuild
new file mode 100644
index 0000000..9e87d9b
--- /dev/null
+++ b/repo/usbredir/usbredir.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="usbredir"
+DESC="USB network redirection protocol libraries"
+
+MAKEDEPS="libusb meson glib"
+
+PKG_VER=0.12.0
+SOURCE="https://www.spice-space.org/download/usbredir/usbredir-$PKG_VER.tar.xz"
+
+build() {
+ meson --prefix=/usr \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+check() {
+ meson test --no-rebuild -v -C output
+}
+
+package() {
+ DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
+}
+