# Contributor: Leo # Maintainer: pkgname=grilo pkgver=0.3.11 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" source="https://gitlab.gnome.org/GNOME/grilo/-/archive/grilo-$pkgver/grilo-grilo-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgname-$pkgver" 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="0740921cd2adb4e95edbb7d54cde216be143d582f3511b5e1c902ec1dd34b5a38217677b78712ca21fd7e005985abffcf407d7a48dd6d0d1f359678081b2ef75 grilo-grilo-0.3.11.tar.gz"