!14 fix build unresolvable due to gupnp-igd upgrade
From: @cherry530 Reviewed-by: @starlet-dx Signed-off-by: @starlet-dx
This commit is contained in:
commit
0b36e36ea2
13
libnice-gupnp-1.6.patch
Normal file
13
libnice-gupnp-1.6.patch
Normal 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)
|
||||
@ -1,15 +1,18 @@
|
||||
Name: libnice
|
||||
Version: 0.1.19
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: An implementation of ICE standard
|
||||
License: LGPLv2 and MPLv1.1
|
||||
URL: https://nice.freedesktop.org/wiki/
|
||||
Source0: https://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: libnice-gupnp-1.6.patch
|
||||
|
||||
BuildRequires: autoconf automake glib2-devel gnutls-devel >= 2.12.0
|
||||
BuildRequires: gobject-introspection-devel gstreamer1-devel >= 0.11.91
|
||||
BuildRequires: gstreamer1-plugins-base-devel >= 0.11.91
|
||||
BuildRequires: gtk-doc gupnp-igd-devel >= 0.1.2 graphviz meson
|
||||
BuildRequires: cmake
|
||||
|
||||
%description
|
||||
Libnice is an implementation of the IETF's Interactive Connectivity
|
||||
@ -67,6 +70,9 @@ sed -e "s/^ 'test-set-port-range'/#&/" -i tests/meson.build
|
||||
%{_datadir}/{gtk-doc/html/libnice/,gir-1.0/Nice-0.1.gir}
|
||||
|
||||
%changelog
|
||||
* Mon Aug 07 2023 xuping <707078654@qq.com> - 0.1.19-2
|
||||
- fix build unresolvable due to gupnp upgrade
|
||||
|
||||
* Thu Aug 04 2022 yaoxin <yaoxin30@h-partners.com> - 0.1.19-1
|
||||
- Update to 0.1.19
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user