aboutsummaryrefslogtreecommitdiffstats
path: root/testing/grilo-plugins/APKBUILD
blob: ee202b43a37f20b138457a56b1cedf7ee6df5e58 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=grilo-plugins
pkgver=0.3.8
pkgrel=0
pkgdesc="GNOME media discovery framework plugins"
url="https://wiki.gnome.org/Projects/Grilo"
arch="all"
license="LGPL-2.1-or-later"
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
	lua5.3-dev gperf gnome-online-accounts-dev itstool gom-dev libmediaart-dev
	libgdata-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/grilo-plugins/${pkgver%.*}/grilo-plugins-${pkgver}.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--buildtype=release \
		-Denable-chromaprint=no \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="c5a0a80fd7c871ce69a06bdcab2b3d8986708e4e6b9c9020d7e938d4450655f962db7f84da0b40ed38ba197f65fc2a561e06a92cdca593620d66c2b153eb4879  grilo-plugins-0.3.8.tar.xz"