From d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 20:02:02 +0100 Subject: added deps for qemu --- repo/usbredir/usbredir.xibuild | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 repo/usbredir/usbredir.xibuild (limited to 'repo/usbredir/usbredir.xibuild') 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 +} + -- cgit v1.2.1