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/spice/failing-tests.patch | 43 +++++++++++++++++++++++++++++++++++++++++ repo/spice/fix-build.patch | 7 +++++++ repo/spice/spice-server.xibuild | 8 ++++++++ repo/spice/spice.xibuild | 28 +++++++++++++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 repo/spice/failing-tests.patch create mode 100644 repo/spice/fix-build.patch create mode 100644 repo/spice/spice-server.xibuild create mode 100644 repo/spice/spice.xibuild (limited to 'repo/spice') diff --git a/repo/spice/failing-tests.patch b/repo/spice/failing-tests.patch new file mode 100644 index 0000000..a32e034 --- /dev/null +++ b/repo/spice/failing-tests.patch @@ -0,0 +1,43 @@ +diff --git a/server/tests/meson.build b/server/tests/meson.build +index 09ba0f2..9833746 100644 +--- a/server/tests/meson.build ++++ b/server/tests/meson.build +@@ -52,7 +52,6 @@ + ['test-channel', true, 'cpp'], + ['test-stream-device', true, 'cpp'], + ['test-set-ticket', true], +- ['test-listen', true], + ['test-record', true], + ['test-display-no-ssl', false], + ['test-display-streaming', false], +@@ -62,10 +61,6 @@ + ['test-display-width-stride', false], + ] + +-if spice_server_has_sasl +- tests += [['test-sasl', true]] +-endif +- + if spice_server_has_smartcard == true + tests += [['test-smartcard', true, 'cpp']] + endif +--- a/server/tests/meson.build ++++ b/server/tests/meson.build +@@ -42,7 +42,6 @@ + ['test-dispatcher', true, 'cpp'], + ['test-options', true], + ['test-stat', true], +- ['test-agent-msg-filter', true], + ['test-loop', true], + ['test-qxl-parsing', true], + ['test-leaks', true], +--- a/server/tests/meson.build ++++ b/server/tests/meson.build +@@ -44,7 +44,6 @@ + ['test-stat', true], + ['test-loop', true], + ['test-qxl-parsing', true], +- ['test-leaks', true], + ['test-vdagent', true], + ['test-fail-on-null-core-interface', true], + ['test-empty-success', true], diff --git a/repo/spice/fix-build.patch b/repo/spice/fix-build.patch new file mode 100644 index 0000000..76c2c31 --- /dev/null +++ b/repo/spice/fix-build.patch @@ -0,0 +1,7 @@ +diff --git a/doxygen.sh a/doxygen.sh +new file mode 100755 +index 0000000000..1a2485251c +--- /dev/null ++++ a/doxygen.sh +@@ -0,0 +1 @@ ++#!/bin/sh diff --git a/repo/spice/spice-server.xibuild b/repo/spice/spice-server.xibuild new file mode 100644 index 0000000..4571110 --- /dev/null +++ b/repo/spice/spice-server.xibuild @@ -0,0 +1,8 @@ +#!/bin/sh + +DESC="Server library for SPICE" + +package () { + add_from_main "usr/lib/*server.so.*" +} + diff --git a/repo/spice/spice.xibuild b/repo/spice/spice.xibuild new file mode 100644 index 0000000..16ea6d2 --- /dev/null +++ b/repo/spice/spice.xibuild @@ -0,0 +1,28 @@ +#!/bin/sh + +NAME="spice" +DESC="Implements the SPICE protocol" + +MAKEDEPS="meson spice-protocol glib gdk-pixbuf pixman openssl libjpeg-turbo zlib opus gstreamer gst-plugins-base orc lz4 libsasl python-six python-pyparsing" + +PKG_VER=0.15.0 +SOURCE="https://www.spice-space.org/download/releases/spice-server/spice-$PKG_VER.tar.bz2" + +ADDITIONAL=" +failing-tests.patch +fix-build.patch +" + +prepare () { + apply_patches +} + +build() { + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --libdir=/usr/lib + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} -- cgit v1.2.1