diff --git a/libnice-gupnp-1.6.patch b/libnice-gupnp-1.6.patch new file mode 100644 index 0000000000000000000000000000000000000000..77ff435d69272f61951e9b421e4df774dd86e149 --- /dev/null +++ b/libnice-gupnp-1.6.patch @@ -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) diff --git a/libnice.spec b/libnice.spec index c3e5e2f47c4b82536a886e68f26f19bc995cfae6..867bb9054e8192dc28fe61cf0403c39b5eed395a 100644 --- a/libnice.spec +++ b/libnice.spec @@ -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 - 0.1.19-1 - Update to 0.1.19