# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortGroup gobject_introspection 1.0
description Libnice is an implementation of IETF's Interactive Connectivity Establishment (ICE) standard (RFC 5245).
long_description ${description} \
It provides a GLib-based library, libnice, as well as GStreamer elements.
maintainers {devans @dbevans} openmaintainer
homepage https://nice.freedesktop.org/wiki/
master_sites https://nice.freedesktop.org/releases/
checksums rmd160 fa2b8d5ebc4b47e7b2648163424b1087c282372d \
sha256 06b678066f94dde595a4291588ed27acd085ee73775b8c4e8399e28c01eeefdf \
depends_build port:pkgconfig
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:gstreamer1-gst-plugins-base \
gobject_introspection yes
configure.args --enable-gupnp \
--with-gstreamer-0.10=no \
--enable-compile-warnings=minimum \
variant gst010 description {Enable support for deprecated gstreamer-0.10} {
depends_lib-append port:gstreamer010-gst-plugins-base
configure.args-replace --with-gstreamer-0.10=no --with-gstreamer-0.10=yes
test.dir ${worksrcpath}/tests
livecheck.url [lindex ${master_sites} 0]
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"