[packages/dleyna-core] - fix building with gupnp 1.2 - rel 2
baggins
baggins at pld-linux.org
Sat Nov 2 19:31:34 CET 2019
commit ffc431c0b8da2dff434456b4587873789153da64
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Nov 2 19:30:04 2019 +0100
- fix building with gupnp 1.2
- rel 2
dleyna-core.spec | 4 +++-
gupnp-1.2.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/dleyna-core.spec b/dleyna-core.spec
index 6bb98b2..39f1365 100644
--- a/dleyna-core.spec
+++ b/dleyna-core.spec
@@ -1,11 +1,12 @@
Summary: UPnP and DLNA core library
Name: dleyna-core
Version: 0.5.0
-Release: 1
+Release: 2
License: LGPL v2
Group: Libraries
Source0: https://01.org/sites/default/files/downloads/dleyna/%{name}-%{version}.tar.gz
# Source0-md5: f9fca59e28f01608bbe98d193184f729
+Patch0: gupnp-1.2.patch
URL: https://01.org/dleyna/
BuildRequires: autoconf >= 2.66
BuildRequires: automake
@@ -34,6 +35,7 @@ This package provides development files for dleyna-core library.
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
diff --git a/gupnp-1.2.patch b/gupnp-1.2.patch
new file mode 100644
index 0000000..ac9851e
--- /dev/null
+++ b/gupnp-1.2.patch
@@ -0,0 +1,11 @@
+--- dleyna-core-0.5.0/configure.ac~ 2014-12-06 12:51:56.000000000 +0100
++++ dleyna-core-0.5.0/configure.ac 2019-11-02 19:28:57.046803714 +0100
+@@ -39,7 +39,7 @@
+ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.28])
+ PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.28])
+ PKG_CHECK_MODULES([GMODULE], [gmodule-2.0 >= 2.28])
+-PKG_CHECK_MODULES([GUPNP], [gupnp-1.0 >= 0.20.5])
++PKG_CHECK_MODULES([GUPNP], [gupnp-1.2 >= 0.20.5])
+
+ # Checks for header files.
+ AC_CHECK_HEADERS([stdlib.h string.h syslog.h])
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dleyna-core.git/commitdiff/ffc431c0b8da2dff434456b4587873789153da64
More information about the pld-cvs-commit
mailing list