aboutsummaryrefslogtreecommitdiffstats
path: root/community/tracker-miners/APKBUILD
blob: 52e1c9d68c099f60d73ba38c0c7be2b877a1bfa0 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=tracker-miners
pkgver=2.3.1
pkgrel=1
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 $pkgname-dbg"
source="https://download.gnome.org/sources/tracker-miners/${pkgver%.*}/tracker-miners-$pkgver.tar.xz
	fix-seccomp.patch"

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="ab5e42a759dda5f589efa258cfca7ba49703ca6fed4141c68f341d56ba887371c51fd8b9f22cf1b49425b10d26a9fe946fdcaa5b54e8771ff4a52abddf0c4b7b  tracker-miners-2.3.1.tar.xz
268ae16aaa5685a0a80f0bc918b3ab052adcb38c055fe151603e8dd26ca72d61a67787d954d54c1efa76f5eb71827ad46c9e0c4ce0b405cdd3f2e1f2b5e11e05  fix-seccomp.patch"