diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-06 11:01:54 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-06 11:01:54 -0300 |
commit | 113cea3115f41b82346029305d739d1513239929 (patch) | |
tree | 0065f209426cbf5584b3ac49f1173ba103a6db46 /community-staging/tracker/PKGBUILD | |
parent | 090589ce217a61645ebcef0f1f3d52c543e47364 (diff) | |
parent | 33c22f43a52aae722ce4d9cbe47f8d2fff31f395 (diff) |
Merge branch 'master' of ssh://vparabola/srv/git/projects/abslibre-mips64el
Diffstat (limited to 'community-staging/tracker/PKGBUILD')
-rw-r--r-- | community-staging/tracker/PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/community-staging/tracker/PKGBUILD b/community-staging/tracker/PKGBUILD new file mode 100644 index 000000000..f6ec9331b --- /dev/null +++ b/community-staging/tracker/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 48646 2011-06-03 17:05:43Z stephane $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Alexander Fehr <pizzapunk gmail com> + +pkgname=tracker +pkgver=0.10.15 +pkgrel=2 +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' 'icu') +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=('c948ef3988b08e81cad3ff980b17a0fd') + +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 + touch docs/manpages/tracker-search-bar.1 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} |