aboutsummaryrefslogtreecommitdiffstats
path: root/community/tracker-miners/APKBUILD
blob: c7632c7654949624370203586a309eec0c93fe5b (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=tracker-miners
pkgver=2.3.0
pkgrel=0
pkgdesc="Data miners for tracker"
url="https://developer.gnome.org/libtracker-miner/stable"
arch="all !s390x" # networkmanager not avail due to iwd
license="GPL-2.0-or-later"
depends="tracker"
makedepends="meson glib-dev intltool tracker-dev ffmpeg-dev dbus-dev exempi-dev
	flac-dev gexiv2-dev gstreamer-dev enca-dev libcue-dev libexif-dev
	libgsf-dev libgxps-dev libiptcdata-dev libjpeg-turbo-dev libosinfo-dev
	libpng-dev libseccomp-dev tiff-dev libxml2-dev libvorbis-dev poppler-dev
	taglib-dev totem-pl-parser-dev upower-dev zlib-dev gst-plugins-base-dev
	giflib-dev"
checkdepends="bash coreutils python3 py3-gobject3"
options="!check" # Requires itself to be installed on the system
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/tracker-miners/${pkgver%.*}/tracker-miners-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		-Dtracker_core=system \
		-Dsystemd_user_services=no \
		-Dminer_rss=false \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="8594de1dea0be4f0ad24b46fad470abdf026c7e137a4a9e6e906d675a76656954a7fd7a782a7a6e7dde424b6d8efe06607423ce7ba6b9ad4c079f1c10b7c0c93  tracker-miners-2.3.0.tar.xz"