1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Alexander Fehr <pizzapunk gmail com>
6 pkgname=(tracker3 tracker3-docs)
9 pkgdesc="Desktop-neutral user information store, search tool and indexer"
10 url="https://wiki.gnome.org/Projects/Tracker"
13 depends=(sqlite icu glib2 libffi util-linux libstemmer libseccomp json-glib
15 makedepends=(gobject-introspection vala git hotdoc bash-completion meson
16 asciidoc systemd libsoup python-gobject python-dbus python-tappy)
17 _commit=bcf1347a9eea300d11c95a78f8f74f38131bb560 # tags/3.2.1^0
18 source=("git+https://gitlab.gnome.org/GNOME/tracker.git#commit=$_commit")
23 git describe --tags | sed 's/_/./g;s/-/+/g'
31 arch-meson tracker build -D tests_tap_protocol=true
32 meson compile -C build
36 dbus-run-session meson test -C build --print-errorlogs -t 3
40 local p="$1" f d; shift
42 d="$srcdir/$p/${f#$pkgdir/}"
43 mkdir -p "$(dirname "$d")"
45 rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
50 optdepends=('libsoup: Alternative remoting backend')
51 provides=(libtracker-sparql-3.0.so)
53 meson install -C build --destdir "$pkgdir"
56 _pick docs usr/share/{devhelp,doc}
59 package_tracker3-docs() {
60 pkgdesc+=" (documentation)"