freebsd-ports/net-im/libnice/Makefile
Po-Chuan Hsieh 6abc1ece63
net-im/libnice: Change LIB_DEPENDS from gupnp-igd to gupnp-igd12
- Bump PORTREVISION for dependency change
2023-04-19 05:39:21 +08:00

37 lines
919 B
Makefile

PORTNAME= libnice
PORTVERSION= 0.1.21
PORTREVISION= 1
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 libtool 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.0.so:net/gupnp-igd12
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
.include <bsd.port.mk>