1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: William Díaz <wdiaz@archlinux.us>
8 pkgdesc="An implementation of the IETF's draft ICE (for p2p UDP data streams)"
9 url="https://nice.freedesktop.org"
12 depends=(glib2 gnutls gupnp-igd)
13 makedepends=(gstreamer gtk-doc git meson gobject-introspection graphviz)
14 optdepends=('gstreamer: "nice" GStreamer plugin')
17 _commit=64ef27e4847016568985f0f3c1fe4a4fb632e408 # tags/0.1.19^0
18 source=("git+https://gitlab.freedesktop.org/libnice/libnice.git#commit=$_commit")
23 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
31 arch-meson libnice build -D gtk_doc=enabled
32 meson compile -C build
36 meson test -C build --print-errorlogs
40 meson install -C build --destdir "$pkgdir"