aboutsummaryrefslogtreecommitdiffstats
path: root/community/grilo/APKBUILD
blob: 3d550b3af1fb1be1a086b051686a2daf0353bddf (plain) (blame)
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
36
37
38
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=grilo
pkgver=0.3.10
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="$pkgname-$pkgver.tar.gz::https://github.com/GNOME/grilo/archive/grilo-$pkgver.tar.gz
	fix-build-with-new-totel-pl-parser.patch::https://gitlab.gnome.org/GNOME/grilo/commit/60d135ef64f16671bb0ab4079ecbc59bdc32cbc7.patch
	"
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="9089b0f64fdc4da82a4d087b54af407a37b64214e3553519d76bdafc380406851ed3cd060312b332b3cf67d0a105b72829e245846b47365c7101f52812ffbeda  grilo-0.3.10.tar.gz
a6b5dd6fc7a3ae5026e954c01cfc8cd93fc307620c0e1a46c1062144388fb6e4810d2cd025941147f9af4e22bdce983ab4f3f37b104f12f1a859070571544af4  fix-build-with-new-totel-pl-parser.patch"