aboutsummaryrefslogtreecommitdiffstats
path: root/community/grilo/APKBUILD
blob: cf2f77f6d099e5951e75b4447b89f52edf836f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Leo <thinkabit.ukim@gmail.com>
# 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"