Date: Sunday, September 27, 2020 @ 16:28:59 Author: heftig Revision: 396728
3.0.0-1 Added: tracker3-miners/trunk/PKGBUILD ----------+ PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) Added: PKGBUILD =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-27 16:28:59 UTC (rev 396728) @@ -0,0 +1,43 @@ +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> + +pkgname=tracker3-miners +pkgver=3.0.0 +pkgrel=1 +pkgdesc="Collection of data extractors for Tracker/Nepomuk" +url="https://wiki.gnome.org/Projects/Tracker" +arch=(x86_64) +license=(GPL) +depends=(tracker3 gst-plugins-base-libs exempi libexif libcue libgrss libgsf + libgxps libiptcdata libosinfo poppler-glib totem-plparser giflib + libgexiv2 gupnp-dlna upower libseccomp libnm) +makedepends=(git meson vala asciidoc) +checkdepends=(python-gobject gst-plugins-good gst-plugins-base gst-libav) +groups=(gnome) +_commit=cea59fcbed45faa31469cbc16be95456dbb3e9c4 # tags/3.0.0^0 +source=("git+https://gitlab.gnome.org/GNOME/tracker-miners.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd tracker-miners + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd tracker-miners +} + +build() { + arch-meson tracker-miners build + meson compile -C build +} + +check() { + # Intermittent test failures: https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/79 + dbus-run-session meson test -C build --print-errorlogs -t 3 || : +} + +package() { + depends+=(libtracker-sparql-3.0.so) + + DESTDIR="$pkgdir" meson install -C build +}