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 vala asciidoc)
14 checkdepends=(python-gobject python-tappy gst-plugins-good gst-plugins-base
17 _commit=1e1a9e701faae73148fc05613b7e237715ad0cc9 # tags/3.2.1^0
18 source=("git+https://gitlab.gnome.org/GNOME/tracker-miners.git#commit=$_commit")
23 git describe --tags | sed 's/-/+/g'
31 arch-meson tracker-miners build -D tests_tap_protocol=true
32 meson compile -C build
36 # Intermittent test failures: https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/79
37 dbus-run-session meson test -C build --print-errorlogs -t 3 || :
41 depends+=(libtracker-sparql-3.0.so)
43 meson install -C build --destdir "$pkgdir"