# Contributor: Leo # Maintainer: Leo pkgname=grilo pkgver=0.3.9 pkgrel=0 pkgdesc="GNOME media discovery framework" url="https://wiki.gnome.org/Projects/Grilo" arch="all" license="LGPL-2.1-or-later" makedepends="gnome-desktop-dev liboauth-dev gmime-dev libsoup-dev libxml2-dev totem-pl-parser-dev gobject-introspection-dev itstool libxslt libxml2-utils docbook-xml docbook-xsl meson vala gtk-doc" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs" source="https://download.gnome.org/sources/grilo/0.3/grilo-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ -Denable-introspection=true \ -Denable-vala=true \ build ninja -C build } check() { ninja -C build test } package() { DESTDIR="$pkgdir" ninja -C build install } sha512sums="250596f277ea76d8f6a071fb0e48dd7ea735a534f48a4f2e3f69f7c62a2b5b4c995714a8435ffa9107345e86bba5b21fc136cc47b956f461723a00d0e6ede9bf grilo-0.3.9.tar.xz"