summaryrefslogtreecommitdiff
path: root/community/tracker
diff options
context:
space:
mode:
Diffstat (limited to 'community/tracker')
-rw-r--r--community/tracker/PKGBUILD50
-rw-r--r--community/tracker/tracker.install11
2 files changed, 61 insertions, 0 deletions
diff --git a/community/tracker/PKGBUILD b/community/tracker/PKGBUILD
new file mode 100644
index 000000000..92c7ac0e3
--- /dev/null
+++ b/community/tracker/PKGBUILD
@@ -0,0 +1,50 @@
+# $Id: PKGBUILD 43588 2011-03-27 20:42:19Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=tracker
+pkgver=0.10.5
+pkgrel=1
+pkgdesc="Powerful object database, tag/metadata database, search tool and indexer"
+arch=('i686' 'x86_64')
+url="http://www.gnome.org/projects/tracker/"
+license=('GPL')
+depends=('upower' 'poppler-glib' 'gstreamer0.10-base' 'libgee' 'gnome-desktop' 'libnotify' 'xdg-utils' 'gtkhtml'
+ 'libgsf' 'gnome-panel-bonobo' 'exempi' 'networkmanager')
+makedepends=('intltool' 'gnome-panel' 'nautilus' 'evolution' 'totem-plparser')
+optdepends=('nautilus'
+ 'enca'
+ 'gtkhtml'
+ 'gnome-panel'
+ 'totem-plparser'
+ 'icu'
+ 'taglib'
+ 'giflib')
+options=('!libtool')
+conflicts=('libtracker')
+provides=("libtracker")
+install=tracker.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/tracker/0.10/tracker-$pkgver.tar.bz2)
+md5sums=('6c2040ba96a34932a073317071b3da91')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # python2 fix
+ export PYTHON=`which python2`
+ for file in tests/functional-tests/*.py; do
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
+ sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file
+ done
+
+ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/$pkgname \
+ --enable-video-extractor=gstreamer --disable-unac --disable-hal \
+ --disable-devkit-power --disable-miner-evolution
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community/tracker/tracker.install b/community/tracker/tracker.install
new file mode 100644
index 000000000..b95cc069d
--- /dev/null
+++ b/community/tracker/tracker.install
@@ -0,0 +1,11 @@
+post_install() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}