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"
25 optdepends=('gstreamer: "nice" GStreamer plugin')
27 _commit=3d9cae16a5094aadb1651572644cb5786a8b4e2d # tags/0.1.21^0
28 source=("git+https://gitlab.freedesktop.org/libnice/libnice.git#commit=$_commit")
33 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
40 sed -i 's/gupnp-igd-1\.0/gupnp-igd-1.6/' meson.build
44 arch-meson libnice build -D gtk_doc=enabled
45 meson compile -C build
49 meson test -C build --print-errorlogs
53 meson install -C build --destdir "$pkgdir"
56 # vim:set sw=2 sts=-1 et: