summaryrefslogtreecommitdiff
path: root/community/grilo-plugins/APKBUILD
blob: 68591d8511324a605bc9d307b657c2f7c0b909fb (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=grilo-plugins
pkgver=0.3.16
pkgrel=1
pkgdesc="GNOME media discovery framework plugins"
url="https://wiki.gnome.org/Projects/Grilo"
# s390x blocked by exempi -> tracker-miners
arch="all !s390x"
license="LGPL-2.1-or-later"
depends="tracker-miners"
makedepends="
	avahi-dev
	glib-dev
	gnome-online-accounts-dev
	gom-dev
	gperf
	grilo-dev
	gstreamer-dev
	itstool
	json-glib-dev
	libgdata-dev
	libmediaart-dev
	libsoup3-dev
	libxml2-dev
	lua5.4-dev
	meson
	sqlite-dev
	totem-pl-parser-dev
	tracker-dev
	tracker-testutils
	"
options="!check" # Tracker tests get stuck on some arches
checkdepends="
	gst-plugins-base
	gst-plugins-good
	"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-dbg"
source="https://download.gnome.org/sources/grilo-plugins/${pkgver%.*}/grilo-plugins-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Denable-chromaprint=no \
		-Denable-lua-factory=yes \
		. output
	meson compile -C output
}

check() {
	export LANG="en_GB.UTF-8"
	meson test -t 100 --no-rebuild --print-errorlogs -C output
}

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

sha512sums="
ce1f2786af24ebac98a1dac455f91fa7f63eefcf9029872a8ca1d631bf4fcf76f0578e68e00da20fbfe4c0aeac285ccf9a3e1a8301ffa623a45dbb0b75cb2a32  grilo-plugins-0.3.16.tar.xz
"