maintainer="fossdd <fossdd@pwned.life>"
pkgname=gupnp-av
pkgver=0.14.3
pkgrel=0
pkgdesc="Small utility library that aims to ease the handling and implementation of UPnP A/V profiles"
url="https://gitlab.gnome.org/GNOME/gupnp-av"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
	meson
	gobject-introspection-dev
	vala
	libxml2-dev
	"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/gupnp-av/${pkgver%.*}/gupnp-av-$pkgver.tar.xz"

build() {
	abuild-meson \
		output .
	meson compile -C output
}

check() {
	meson test --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
f08b2b38c7e310002c995302250dfb8394c6d10781a5fc0d35ed0d7cc4c7956867ce40b5bc80fd5fbb27acd652208772f00652b0ce5515037af12244f05bf05a  gupnp-av-0.14.3.tar.xz
"
