summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2007-01-27 19:42:04 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2007-01-27 19:42:04 +0000
commit06c4b58e8b42fe24494d7e58a33fa6d949237e90 (patch)
tree1cf227eaa5e4bfd1c4817a62689f070cfe1b6ddc /app-misc/tracker
parentStable on amd64 per bug #164094 and fixed homepage (diff)
downloadgentoo-2-06c4b58e8b42fe24494d7e58a33fa6d949237e90.tar.gz
gentoo-2-06c4b58e8b42fe24494d7e58a33fa6d949237e90.tar.bz2
gentoo-2-06c4b58e8b42fe24494d7e58a33fa6d949237e90.zip
version bump for tracker
(Portage version: 2.1.2-r4)
Diffstat (limited to 'app-misc/tracker')
-rw-r--r--app-misc/tracker/ChangeLog8
-rw-r--r--app-misc/tracker/files/digest-tracker-0.5.43
-rw-r--r--app-misc/tracker/tracker-0.5.4.ebuild137
3 files changed, 147 insertions, 1 deletions
diff --git a/app-misc/tracker/ChangeLog b/app-misc/tracker/ChangeLog
index 6aecf6b1ae8a..8a51560479bf 100644
--- a/app-misc/tracker/ChangeLog
+++ b/app-misc/tracker/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/tracker
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.3 2007/01/11 02:21:28 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.4 2007/01/27 19:42:04 compnerd Exp $
+
+*tracker-0.5.4 (27 Jan 2007)
+
+ 27 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+ +tracker-0.5.4.ebuild:
+ Version bump from upstream with numerous enhancements
11 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org>
-files/tracker-0.5.2-configure.in.patch, -tracker-0.5.2.ebuild:
diff --git a/app-misc/tracker/files/digest-tracker-0.5.4 b/app-misc/tracker/files/digest-tracker-0.5.4
new file mode 100644
index 000000000000..94b82b9502e4
--- /dev/null
+++ b/app-misc/tracker/files/digest-tracker-0.5.4
@@ -0,0 +1,3 @@
+MD5 724208e1b2d235148499672b44181298 tracker-0.5.4.tar.gz 1381786
+RMD160 6e270db773e5119ba8560a25f6e8b68c5980fc0f tracker-0.5.4.tar.gz 1381786
+SHA256 ad214a2692041f423d2150777c233b21cab2d108f849edc513192587ac63c9c2 tracker-0.5.4.tar.gz 1381786
diff --git a/app-misc/tracker/tracker-0.5.4.ebuild b/app-misc/tracker/tracker-0.5.4.ebuild
new file mode 100644
index 000000000000..3f0a8ba621be
--- /dev/null
+++ b/app-misc/tracker/tracker-0.5.4.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.5.4.ebuild,v 1.1 2007/01/27 19:42:04 compnerd Exp $
+
+inherit eutils flag-o-matic linux-info
+
+DESCRIPTION="A tagging metadata database, search tool and indexer"
+HOMEPAGE="http://www.gnome.org/~jamiemcc/tracker/"
+SRC_URI="http://www.gnome.org/~jamiemcc/tracker/${PF}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="applet debug fam gnome gsf gstreamer jpeg pdf test xine"
+
+RDEPEND=">=dev-libs/glib-2.12.0
+ >=x11-libs/pango-1.0.0
+ >=dev-libs/gmime-2.1.0
+ >=media-gfx/imagemagick-5.2.1
+ sys-libs/zlib
+ || (
+ >=dev-libs/dbus-glib-0.71
+ ( <sys-apps/dbus-0.90 >=sys-apps/dbus-0.60 )
+ )
+ >=dev-db/sqlite-3.2
+ >=media-libs/libpng-1.2
+ applet? ( gnome-extra/deskbar-applet )
+ fam? ( >=app-admin/gamin-0.1.7 )
+ gnome? (
+ >=x11-libs/gtk+-2.8
+ >=gnome-base/libglade-2.5
+ >=gnome-base/libgnome-2.14
+ >=gnome-base/gnome-vfs-2.10
+ >=gnome-base/libgnomeui-2.14
+ >=gnome-base/gnome-desktop-2.14
+ )
+ gsf? ( >=gnome-extra/libgsf-1.13 )
+ gstreamer? ( >=media-libs/gstreamer-0.10 )
+ jpeg? ( >=media-gfx/exif-0.6 )
+ pdf? (
+ >=x11-libs/cairo-1.0
+ >=app-text/poppler-bindings-0.5.0
+ )
+ xine? ( >=media-libs/xine-lib-1.0 )"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.22
+ >=sys-devel/gettext-0.14
+ >=dev-util/pkgconfig-0.20"
+
+function notify_inotify() {
+ ewarn
+ ewarn "You should enable the INOTIFY support in your kernel."
+ ewarn "Check the 'Inotify file change notification support' under the"
+ ewarn "'File systems' option. It is marked as CONFIG_INOTIFY in the config"
+ ewarn "Also enable 'Inotify support for userland' in under the previous"
+ ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config."
+ ewarn
+ ebeep 5
+}
+
+function inotify_enabled() {
+ linux_chkconfig_present INOTIFY && linux_chkconfig_present INOTIFY_USER
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+
+ if built_with_use 'dev-db/sqlite' 'nothreadsafe' ; then
+ eerror "You must build sqlite with threading support"
+ die "dev-db/sqlite built with nothreadsafe"
+ fi
+
+ if ! built_with_use 'app-text/poppler-bindings' 'gtk' ; then
+ ewarn "You must build poppler-bindings with gtk to get support for PDFs"
+ die "poppler-bindings needs gtk support"
+ fi
+
+ if use thumbnailing ; then
+ if ! built_with_use 'media-gfx/imagemagick' 'png' ; then
+ ewarn "You must build imagemagick with png"
+ die "imagemagick needs png support"
+ fi
+
+ if use jpeg && ! built_with_use 'media-gfx/imagemagick' 'jpeg' ; then
+ ewarn "You must build imagemagick with jpeg to get support for JPEG"
+ die "imagemagick needs jpeg support"
+ fi
+ fi
+
+ if use fam ; then
+ ebeep 5
+ ewarn "You are selecting to build tracker with FAM support rather than"
+ ewarn "inotify. It is highly recommended that you use inotify over FAM."
+ epause 5
+ else
+ inotify_enabled || notify_inotify
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PN}-0.5.3-convert-pdf-thumbnailer.patch
+}
+
+src_compile() {
+ local myconf="--enable-external-sqlite"
+
+ if use gstreamer ; then
+ myconf="${myconf} --enable-video-extractor=gstreamer"
+ elif use xine ; then
+ myconf="${myconf} --enable-video-extractor=xine"
+ fi
+
+ if use fam ; then
+ myconf="${myconf} --enable-file-monitoring=fam"
+ elif inotify_enabled ; then
+ myconf="${myconf} --enable-file-monitoring=inotify"
+ else
+ myconf="${myconf} --enable-file-monitoring=polling"
+ fi
+
+ econf ${myconf} \
+ $(use_enable debug debug-code) \
+ $(use_enable gnome gui) \
+ $(use_enable jpeg exif) \
+ $(use_enable pdf) \
+ || die "configure failed"
+
+ emake || die "build failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}