extra/tracker to 2.3.0-1

This commit is contained in:
Kevin Mihelich 2019-09-10 23:15:40 +00:00
parent 6b13152f50
commit c0f6f6b650

View file

@ -6,17 +6,17 @@
# - disable functional tests
pkgname=tracker
pkgver=2.2.2
pkgver=2.3.0
pkgrel=1
pkgdesc="Desktop-neutral user information store, search tool and indexer"
url="https://wiki.gnome.org/Projects/Tracker"
arch=(x86_64)
license=(GPL)
depends=(sqlite icu glib2 libffi util-linux libstemmer libseccomp libsoup json-glib upower libnm)
makedepends=(gobject-introspection intltool vala git gtk-doc bash-completion meson)
makedepends=(gobject-introspection vala git gtk-doc bash-completion meson)
checkdepends=(python-gobject python-dbus)
groups=(gnome)
_commit=86b8ead94210b5ee487ce48c0030fc3e4fa87c82 # tags/2.2.2^0
_commit=f56ccfde3b0a63375d6a4a664928b348c9ea45eb # tags/2.3.0^0
source=("git+https://gitlab.gnome.org/GNOME/tracker.git#commit=$_commit")
sha256sums=('SKIP')
@ -27,18 +27,12 @@ pkgver() {
prepare() {
cd $pkgname
# Could not insert metadata for item "file:///…/foo.pdf": Parser error at byte XXX: Expected ObjectList
git cherry-pick -n 639d9b614afb9cb5eb6f7cc8d52d98ba04ad43a9
# Looks like a bugfix
git cherry-pick -n de70127517b7e86ca13fcc5554cb6dde270a27fa
}
build() {
# LTO breaks due to duplicate types:
# https://gitlab.gnome.org/GNOME/tracker/issues/44
arch-meson $pkgname build -D b_lto=false -D docs=true -D functional_tests=false
arch-meson $pkgname build -D docs=true -D functional_tests=false
ninja -C build
}