Files
ports/net-im/libnice/Makefile
T
Olivier Duchateau e0363f9fa8 net-im/libnice*: update to 0.1.23
Update to 0.1.23

libnice 0.1.23 (2025-11-26)
===========================
API: Added option NICE_AGENT_OPTION_CLOSE_FORCED to not wait for TURN when
  closing asynchronous
Reject invalid remote candidates with priority=0
Add missing mutex in tcp-bsd socket
Add buffer list support to nicesrc
Avoid dropping packing in nicesink, retry instead
Only create a new NiceCandidate if a socket can be opened, as it is
 a somewhat costly operation.
Many new tests
Fix leaks
Fix various test flakiness

Adjust dependencies.

Remove pkg-plist in slave port.
    Does not work, setting PLIST_FILES does not empty the MASTERDIR
    plist. (truckman)

BUILD_WRKSRC and INSTALL_WRKSRC do not work with meson. (truckman)

When building with ssl, gnutls is not needed. (truckman)

These two ports should probably use SUBPACKAGES.

PR:		291467
2026-02-08 19:05:57 -08:00

37 lines
931 B
Makefile

PORTNAME= libnice
PORTVERSION= 0.1.23
CATEGORIES= net-im devel
MASTER_SITES= https://libnice.freedesktop.org/releases/
MAINTAINER= gnome@FreeBSD.org
COMMENT?= Library and transmitter that implements ICE-19
WWW= https://libnice.freedesktop.org/
LICENSE= LGPL21 MPL11
LICENSE_COMB= dual
USES= gnome localbase:ldflags meson pkgconfig ssl
USE_LDCONFIG= yes
USE_GNOME= glib20 introspection:build
CPPFLAGS+= -DHAVE_GETIFADDRS
OPTIONS_DEFINE= GUPNP
GUPNP_MESON_ENABLED= gupnp
GUPNP_DESC= UPnP IGD port mapping support
GUPNP_LIB_DEPENDS= libgupnp-igd-1.6.so:net/gupnp-igd
MESON_ARGS+=-Dtests=disabled -Dgtk_doc=disabled -Dcrypto-library=openssl
.if defined(LIBNICE_SLAVE)
LIB_DEPENDS+= libnice.so:net-im/libnice
USES+= gstreamer
MESON_ARGS+=-Dgstreamer=enabled
.else
MESON_ARGS+=-Dgstreamer=disabled
.endif
post-patch-GUPNP-on:
@${REINPLACE_CMD} -e 's|gupnp-igd-1.0|gupnp-igd-1.6|' ${WRKSRC}/meson.build
.include <bsd.port.mk>