From c1d3da9ca87c414100b1cb969e36b8d7d05b9a74 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 10 Aug 2022 09:16:34 +0100 Subject: added ovmf, lolcat, spice, and squashfstools --- repo/spice-gtk/spice-gtk.xibuild | 46 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 repo/spice-gtk/spice-gtk.xibuild (limited to 'repo/spice-gtk/spice-gtk.xibuild') 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 +} -- cgit v1.2.1