diff options
author | davidovski <david@davidovski.xyz> | 2022-08-10 09:16:34 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-08-10 09:16:34 +0100 |
commit | c1d3da9ca87c414100b1cb969e36b8d7d05b9a74 (patch) | |
tree | 1cd983a42e1a221991d09783e08c6c162d4be5cf /repo/spice-gtk/spice-gtk.xibuild | |
parent | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (diff) |
added ovmf, lolcat, spice, and squashfstools
Diffstat (limited to 'repo/spice-gtk/spice-gtk.xibuild')
-rw-r--r-- | repo/spice-gtk/spice-gtk.xibuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/repo/spice-gtk/spice-gtk.xibuild b/repo/spice-gtk/spice-gtk.xibuild new file mode 100644 index 0000000..4cdf6b7 --- /dev/null +++ b/repo/spice-gtk/spice-gtk.xibuild @@ -0,0 +1,46 @@ +#!/bin/sh + +NAME="spice-gtk" +DESC="GTK+ widget for SPICE clients" + +MAKEDEPS=" meson gstreamer gst-plugins-base spice-protocol json-glib gtk3 usbredir libusb asciidoc lz4 opus glib libsasl gobject-introspection vala libjpeg-turbo cairo zlib pixman openssl libx11 libepoxy libva python-six python-parsing perl acl polkit" + +PKG_VER=0.40 +SOURCE="https://www.spice-space.org/download/gtk/spice-gtk-$PKG_VER.tar.xz" + +ADDITIONAL=" +disable-test-relying-on-usb.patch +fix-pkgconfig-version.patch +" + +prepare () { + apply_patches +} + +build() { + meson --prefix=/usr \ + -Dgtk=enabled \ + -Dwebdav=disabled \ + -Dbuiltin-mjpeg=false \ + -Dusbredir=enabled \ + -Dpolkit=enabled\ + -Dpie=true \ + -Dintrospection=enabled \ + -Dvapi=enabled \ + -Dlz4=enabled \ + -Dsasl=enabled \ + -Dopus=enabled \ + -Dsmartcard=disabled \ + -Dgtk_doc=disabled \ + -Dcoroutine=gthread \ + . 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 +} |