1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=tracker3-miners
6 pkgdesc="Collection of data extractors for Tracker/Nepomuk"
7 url="https://wiki.gnome.org/Projects/Tracker"
10 depends=(tracker3 gst-plugins-base-libs exempi libexif libcue libgrss libgsf
11 libgxps libiptcdata libosinfo poppler-glib totem-plparser giflib
12 libgexiv2 gupnp-dlna upower libseccomp libnm)
13 makedepends=(git meson asciidoc)
14 checkdepends=(python-gobject python-tappy gst-plugins-good gst-plugins-base
18 _commit=6f8004047893ab20cabea4a7a5326208db1535e0 # tags/3.4.1^0
19 source=("git+https://gitlab.gnome.org/GNOME/tracker-miners.git#commit=$_commit")
24 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
32 arch-meson tracker-miners build -D tests_tap_protocol=true
33 meson compile -C build
37 # Intermittent test failures: https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/79
38 dbus-run-session meson test -C build --print-errorlogs -t 3 || :
42 depends+=(libtracker-sparql-3.0.so)
44 meson install -C build --destdir "$pkgdir"
47 # vim:set sw=2 sts=-1 et: