# Maintainer: Mark Wagie pkgname=gnome-network-displays-git pkgver=0.90.3.r4.gb59cd2f pkgrel=1 pkgdesc="Miracast implementation for GNOME" arch=('any') url="https://gitlab.gnome.org/GNOME/gnome-network-displays" license=('GPL3') depends=('gtk3' 'faac' 'gst-plugins-ugly' 'gst-rtsp-server' 'libpulse' 'libnm' 'python-gobject' 'x264' 'xdg-desktop-portal') makedepends=('git' 'meson' 'appstream-glib') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=('git+https://gitlab.gnome.org/GNOME/gnome-network-displays.git') sha256sums=('SKIP') pkgver() { cd "$srcdir/${pkgname%-git}" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { arch-meson "${pkgname%-git}" build ninja -C build } package() { DESTDIR="$pkgdir" ninja -C build install }