aboutsummaryrefslogtreecommitdiffstats
path: root/community/grilo-plugins/APKBUILD
blob: b3855da6fd1304276c38500a4d11a0f8c4f4500c (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=grilo-plugins
pkgver=0.3.12
pkgrel=0
pkgdesc="GNOME media discovery framework plugins"
url="https://wiki.gnome.org/Projects/Grilo"
arch="all !s390x" # Missing tracker-miners
license="LGPL-2.1-or-later"
depends="tracker-miners"
makedepends="glib-dev grilo-dev avahi-dev meson gstreamer-dev json-glib-dev
	libsoup-dev libxml2-dev sqlite-dev tracker-dev totem-pl-parser-dev
	gperf gnome-online-accounts-dev itstool gom-dev libmediaart-dev
	libgdata-dev"
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=no \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

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

sha512sums="d02329213d3cf45e672cedd83085aff43c62dc1575f7c04b0c0eb77499f39441808e653c38de2f2f2a6e3aadad403fc82c9b8d7285d6de89311b83d43cdf23af  grilo-plugins-0.3.12.tar.xz"