diff options
author | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
commit | d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch) | |
tree | 684a17eebf446aa1adab1097616f1882c8d51568 /repo/usbredir | |
parent | d1fc3393cca72e8e432f827f7624e38734fad6dc (diff) |
added deps for qemu
Diffstat (limited to 'repo/usbredir')
-rw-r--r-- | repo/usbredir/usbredir.xibuild | 24 |
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 +} + |