Rebuild against gupnp-igd

This commit is contained in:
David King 2022-12-10 00:17:49 +00:00
parent 8b6dfd6120
commit 0b70eebe43
2 changed files with 20 additions and 2 deletions

13
libnice-gupnp-1.6.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/meson.build b/meson.build
index 609dc47..06c9e1f 100644
--- a/meson.build
+++ b/meson.build
@@ -274,7 +274,7 @@ gst_dep = dependency('gstreamer-base-1.0', version: gst_req,
cdata.set('HAVE_GSTREAMER', gst_dep.found(), description: 'Build GStreamer plugin')
# GUPnP IGD
-gupnp_igd_dep = dependency('gupnp-igd-1.0', version: gupnp_igd_req, required: get_option('gupnp'))
+gupnp_igd_dep = dependency('gupnp-igd-1.6', version: gupnp_igd_req, required: get_option('gupnp'))
cdata.set('HAVE_GUPNP', gupnp_igd_dep.found(), description: 'Use the GUPnP IGD library')
libm = cc.find_library('m', required: false)

View File

@ -1,11 +1,13 @@
Name: libnice
Version: 0.1.19
Release: 2%{?dist}
Release: 3%{?dist}
Summary: GLib ICE implementation
License: LGPLv2 and MPLv1.1
URL: https://nice.freedesktop.org/wiki/
Source0: https://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
# Build against the new gupnp-igd
Patch0: libnice-gupnp-1.6.patch
BuildRequires: glib2-devel
BuildRequires: gnutls-devel >= 2.12.0
@ -47,7 +49,7 @@ developing applications that use %{name}.
%prep
%setup -q
%autosetup -p1
# disable tests that don't work in koji environment
sed \
@ -97,6 +99,9 @@ sed \
%changelog
* Fri Dec 09 2022 David King <amigadave@amigadave.com> - 0.1.19-3
- Rebuild against gupnp-igd
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild