mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
# $Id$
|
|
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - makedepend on vala
|
|
|
|
pkgname=tracker-miners
|
|
pkgver=2.1.0
|
|
pkgrel=1
|
|
pkgdesc="Collection of data extractors for Tracker/Nepomuk"
|
|
url="https://wiki.gnome.org/Projects/Tracker"
|
|
arch=(x86_64)
|
|
license=(GPL)
|
|
depends=(tracker gst-plugins-base-libs exempi flac libexif libcue libgrss libgsf libgxps
|
|
libiptcdata libosinfo libvorbis poppler-glib taglib totem-plparser giflib)
|
|
makedepends=(intltool git python meson vala)
|
|
groups=(gnome)
|
|
_commit=24d32b563e6bfba4558c8bcb4724b19a14e1513b # tags/2.1.0^0
|
|
source=("git+https://gitlab.gnome.org/GNOME/tracker-miners.git#commit=$_commit")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
}
|
|
|
|
build() {
|
|
arch-meson $pkgname build
|
|
ninja -C build
|
|
}
|
|
|
|
check() {
|
|
# Many tests are broken:
|
|
# - Assume schemas are installed
|
|
# - Assume services are autolaunched
|
|
dbus-run-session meson test -C build || :
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
}
|