commit:     05e702b79470768d464d77a34f71733efaa5e522
Author:     Brett A C Sheffield <bacs <AT> librecast <DOT> net>
AuthorDate: Sat Jan 10 18:14:26 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 15 20:42:03 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05e702b7

net-libs/libnice: add 0.1.23

Drop patches applied with upstream commits:

55ff684d0989 ("Fix TCP concurrent sending problem")
37eeeb1a750b ("test-new-trickle: Remove cancellable as a wakeup mechanism")
ac4bb22ebbfc ("agent: stop leaking StunResolverData")

Signed-off-by: Brett A C Sheffield <bacs <AT> librecast.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libnice/Manifest              |  1 +
 net-libs/libnice/libnice-0.1.23.ebuild | 63 ++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/net-libs/libnice/Manifest b/net-libs/libnice/Manifest
index cb0ff70ef627..ec97ecc366a0 100644
--- a/net-libs/libnice/Manifest
+++ b/net-libs/libnice/Manifest
@@ -1 +1,2 @@
 DIST libnice-0.1.22.tar.gz 460696 BLAKE2B 
ebc4877664568e9a93bd3eeb93c1e6fd067df81596cff2d4ca74fc8e30c7b3af0eb0dd98e605f58161d6f002a5b91b13237ae63fd719d37ad3126a2bc3f0a7e7
 SHA512 
c3aae2d36d2cec8654b87ecc464296711a4a64335052dfc1477f43f59e90341f7a6a01ebd4edf91a72d9ec425440e6dd0bd8f817c77e03578854e70193b3306b
+DIST libnice-0.1.23.tar.gz 469330 BLAKE2B 
dc707b82be26eceb7669dec607a57f8e0e7e53007aa9b889d779e63125d63d528acded67a1dd269dba86f76a1b4e01596139f51d8f03cff1ae3eb5586bbd3373
 SHA512 
2533d3759117ab8fde7cdeb041193324dac7604599a891d47e07a37287af9989be1522c56af52c947598f93b18e60e2cb1b1d9c7ff4cf2bb3e21ce948907f076

diff --git a/net-libs/libnice/libnice-0.1.23.ebuild 
b/net-libs/libnice/libnice-0.1.23.ebuild
new file mode 100644
index 000000000000..55d51374c2bf
--- /dev/null
+++ b/net-libs/libnice/libnice-0.1.23.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib xdg
+
+DESCRIPTION="Implementation of the Interactice Connectivity Establishment 
standard (ICE)"
+HOMEPAGE="https://libnice.freedesktop.org/";
+SRC_URI="https://libnice.freedesktop.org/releases/${P}.tar.gz";
+
+LICENSE="|| ( MPL-1.1 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+IUSE="+gnutls gtk-doc +introspection test +upnp"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-libs/glib-2.54:2[${MULTILIB_USEDEP}]
+       introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
+       gnutls? ( >=net-libs/gnutls-2.12.0:0=[${MULTILIB_USEDEP}] )
+       !gnutls? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
+       upnp? ( net-libs/gupnp-igd:1.6=[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       dev-util/glib-utils
+       virtual/pkgconfig
+       gtk-doc? (
+               app-text/docbook-xml-dtd:4.1.2
+               dev-util/gtk-doc
+       )
+"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-0.1.19-remove-graphviz-dependency.patch" # 
downstream; bugs 877451, 889820
+       "${FILESDIR}/${PN}-0.1.22-gupnp-igd-1.6.patch" # downstream; bugs 
948374, 953635
+)
+
+src_prepare() {
+       default
+
+       # Broken w/ network-sandbox on (bug #847844)
+       sed -i -e '/test-set-port-range/d' tests/meson.build || die
+}
+
+multilib_src_configure() {
+       # gstreamer plugin split off into media-plugins/gst-plugins-libnice
+       local emesonargs=(
+               -Dgstreamer=disabled
+               -Dcrypto-library=$(usex gnutls gnutls openssl)
+               $(meson_native_use_feature introspection)
+               $(meson_feature test tests)
+               $(meson_feature upnp gupnp)
+               $(meson_native_use_feature gtk-doc gtk_doc)
+       )
+
+       meson_src_configure
+}
+
+multilib_src_install_all() {
+       einstalldocs
+}

Reply via email to