]> git.pld-linux.org Git - packages/caja-extensions.git/commitdiff
- added gupnp patch (prepare for gupnp-1.2)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 20 May 2019 18:58:36 +0000 (20:58 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 20 May 2019 18:58:36 +0000 (20:58 +0200)
caja-extensions-gupnp.patch [new file with mode: 0644]
caja-extensions.spec

diff --git a/caja-extensions-gupnp.patch b/caja-extensions-gupnp.patch
new file mode 100644 (file)
index 0000000..2d1887b
--- /dev/null
@@ -0,0 +1,13 @@
+--- caja-extensions-1.22.0/configure.ac.orig   2019-02-25 14:25:14.000000000 +0100
++++ caja-extensions-1.22.0/configure.ac        2019-05-20 20:57:04.237355843 +0200
+@@ -196,8 +196,10 @@
+             fi
+             ;;
+             upnp)
++                PKG_CHECK_MODULES(UPNP, gupnp-1.2 >= $GUPNP_REQUIRED, enable_upnp=yes, [
+                 PKG_CHECK_MODULES(UPNP, gupnp-1.0 >= $GUPNP_REQUIRED,
+                     enable_upnp=yes, enable_upnp=no)
++              ])
+                 if test "${enable_upnp}" != "yes" ; then
+                     sendto_plugin_error_or_ignore "you need gupnp installed to build the upnp plugin"
+                     add_sendto_plugin="0"
index cb7c6bf74eb6bf8dc5198ffa64935681bde2b760..44da95138a4a02f47857898924bbff0b38ba7d98 100644 (file)
@@ -7,6 +7,7 @@ License:        GPL v2+
 Group:         X11/Applications
 Source0:       http://pub.mate-desktop.org/releases/1.22/%{name}-%{version}.tar.xz
 # Source0-md5: 7090545d9cd493681b656ea566fb392a
+Patch0:                %{name}-gupnp.patch
 URL:           http://mate-desktop.org/
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake >= 1:1.9
@@ -270,6 +271,7 @@ Rozszerzenie xattr tags dla zarządcy plików Caja ze środowiska MATE.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__gtkdocize}
This page took 0.058684 seconds and 4 git commands to generate.