# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=tracker-miners pkgver=2.2.2 pkgrel=0 pkgdesc="Data miners for tracker" url="https://developer.gnome.org/libtracker-miner/stable" arch="all" 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 python py2-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="41dda92ddde2ba473ac0887ab5a0c0918c8a26a99cdcd1c0a7d49cdce0f7b02ff080fa868df7e855d08ce5cf61fa55b3ef0737bc58a83e80d2096435efa11cf3 tracker-miners-2.2.2.tar.xz"