# Contributor: Leo # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=libnice pkgver=0.1.21 pkgrel=0 pkgdesc="GLib ICE implementation" options="!check" # Testsuite fails url="https://libnice.freedesktop.org/" arch="all" license="LGPL-2.1-or-later AND MPL-1.1" makedepends=" glib-dev gnutls-dev gstreamer-dev gobject-introspection-dev meson" subpackages=" $pkgname-dbg $pkgname-dev $pkgname-gstreamer:_gst" source="https://nice.freedesktop.org/releases/libnice-$pkgver.tar.gz libnice-meson-0.58.patch " build() { abuild-meson \ -Db_lto=true \ -Dgtk_doc=disabled \ -Dtests=disabled \ -Dexamples=disabled \ -Dintrospection=enabled \ -Dcrypto-library=gnutls \ -Dgstreamer=enabled \ -Dgupnp=disabled builddir meson compile -C builddir } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C builddir } _gst() { pkgdesc="Gstreamer 1.0 plugin for libnice" amove usr/lib/gstreamer-* } sha512sums=" acbd1e0e8aacb0a65cad5b70b470a74a7c4a4f1306bc4e17cd4fd899f2fae2bb538bd099e6c0f9cba6bb9a38e95bc14087aa4f77f6aa5b70d6398179783c6e26 libnice-0.1.21.tar.gz c59962a20d554da909a993f5d83d8d96da927d0ac94cfef2f699468326509f5715e8f7054badd25d07819b733dcea13c308b72aff170c013f7004dadba960dd7 libnice-meson-0.58.patch "