opnsense-ports/net-im/libnice/Makefile
Franco Fichtner 971c80e954 */*: sync with upstream
Taken from: FreeBSD
2022-06-28 17:39:57 +02:00

37 lines
902 B
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
PORTNAME= libnice
PORTVERSION= 0.1.19
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
LICENSE= LGPL21 MPL11
LICENSE_COMB= dual
LIB_DEPENDS?= libgnutls.so:security/gnutls
USES= gettext gmake gnome libtool localbase:ldflags pathfix pkgconfig meson python
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-igd
MESON_ARGS+=-Dtests=disabled -Dgtk_doc=disabled
.if defined(LIBNICE_SLAVE)
USES+= gstreamer
MESON_ARGS+=-Dgstreamer=enabled
.else
MESON_ARGS+=-Dgstreamer=disabled
.endif
.include <bsd.port.mk>