# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen 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"