summaryrefslogtreecommitdiff
path: root/repo/spice
diff options
context:
space:
mode:
Diffstat (limited to 'repo/spice')
-rw-r--r--repo/spice/failing-tests.patch43
-rw-r--r--repo/spice/fix-build.patch7
-rw-r--r--repo/spice/spice-server.xibuild8
-rw-r--r--repo/spice/spice.xibuild28
4 files changed, 86 insertions, 0 deletions
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
+}