Files
ports/net-im/libnice/Makefile
Dima Panov 465cd9949e net-im/libnice[-gst1]: update to 0.1.22 release (+)
Changelog:
* API: Make nice_address_is_local() available to applications
* Make padding be all zeros to conform to RFC8489
* Fix interface listing on Android
* Include TURN sockets in the list from nice_agent_get_sockets()
* Set consent refresh timeout in line with RFC 7675
* Fix ifr_ifindex build with cland and OpenBSD
2025-08-25 17:08:33 +03:00

40 lines
992 B
Makefile

PORTNAME= libnice
PORTVERSION= 0.1.22
CATEGORIES= net-im devel
MASTER_SITES= http://nice.freedesktop.org/releases/
MAINTAINER= gnome@FreeBSD.org
COMMENT?= Library and transmitter that implements ICE-19
WWW= https://nice.freedesktop.org/
LICENSE= LGPL21 MPL11
LICENSE_COMB= dual
LIB_DEPENDS?= libgnutls.so:security/gnutls
USES= gettext gmake gnome localbase:ldflags meson pathfix \
pkgconfig python ssl
USE_LDCONFIG= yes
USE_GNOME= glib20 introspection:build
CPPFLAGS+= -DHAVE_GETIFADDRS
INSTALL_TARGET= install-strip
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)
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>