[packages/spice-space/DEVEL] - updated to 0.13.3 - added lz4 patch (adapt detection for lz4 1.7.x)

qboosh qboosh at pld-linux.org
Thu Dec 29 05:39:50 CET 2016


commit 688f2d509a7c34dbcd7624f28e321fbc3846d9ed
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Dec 29 05:40:36 2016 +0100

    - updated to 0.13.3
    - added lz4 patch (adapt detection for lz4 1.7.x)

 spice-lz4.patch  | 11 +++++++++++
 spice-space.spec | 10 +++++++---
 2 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/spice-space.spec b/spice-space.spec
index cb878c5..175d696 100644
--- a/spice-space.spec
+++ b/spice-space.spec
@@ -6,13 +6,14 @@ Summary:	SPICE virtualization solution
 Summary(pl.UTF-8):	System wirtualizacji SPICE
 # real package name (spice) is already occupied
 Name:		spice-space
-Version:	0.13.2
+Version:	0.13.3
 Release:	1
 License:	LGPL v2.1+
 Group:		Applications/Emulators
 Source0:	https://www.spice-space.org/download/releases/spice-%{version}.tar.bz2
-# Source0-md5:	e007fbe06359db1376208b026fa5b58d
+# Source0-md5:	81113782704848d3afefa43bb93f2184
 Patch0:		spice-am.patch
+Patch1:		spice-lz4.patch
 URL:		https://www.spice-space.org/
 BuildRequires:	alsa-lib-devel
 BuildRequires:	asciidoc
@@ -22,11 +23,13 @@ BuildRequires:	celt051-devel >= 0.5.1.1
 BuildRequires:	cyrus-sasl-devel >= 2
 BuildRequires:	gcc >= 5:3.2
 BuildRequires:	glib2-devel >= 1:2.22
+BuildRequires:	gstreamer-devel >= 1.0
+BuildRequires:	gstreamer-plugins-base-devel >= 1.0
 BuildRequires:	libcacard-devel >= 0.1.2
 BuildRequires:	libjpeg-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:2
-BuildRequires:	lz4-devel
+BuildRequires:	lz4-devel >= 1:1.7
 BuildRequires:	openssl-devel
 BuildRequires:	opus-devel >= 0.9.14
 BuildRequires:	pixman-devel >= 0.17.7
@@ -120,6 +123,7 @@ Klient SPICE dla X11.
 %prep
 %setup -q -n spice-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/spice-lz4.patch b/spice-lz4.patch
new file mode 100644
index 0000000..b6cc6d3
--- /dev/null
+++ b/spice-lz4.patch
@@ -0,0 +1,11 @@
+--- spice-0.13.3/spice-common/m4/spice-deps.m4.orig	2016-11-17 11:46:36.000000000 +0100
++++ spice-0.13.3/spice-common/m4/spice-deps.m4	2016-12-28 22:14:53.584561984 +0100
+@@ -185,7 +185,7 @@
+ 
+     have_lz4="no"
+     if test "x$enable_lz4" != "xno"; then
+-      PKG_CHECK_MODULES([LZ4], [liblz4 >= 129], [have_lz4="yes"], [have_lz4="no"])
++      PKG_CHECK_MODULES([LZ4], [liblz4 >= 1.7], [have_lz4="yes"], [have_lz4="no"])
+ 
+       if test "x$have_lz4" = "xyes"; then
+         AC_DEFINE(USE_LZ4, [1], [Define to build with lz4 support])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/spice-space.git/commitdiff/688f2d509a7c34dbcd7624f28e321fbc3846d9ed



More information about the pld-cvs-commit mailing list