summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-12-10 23:15:03 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-12-10 23:15:03 +0000
commitffb576dc9c1f81803dc2af45b1b49c3ad9d2b0f9 (patch)
treebf0cb7ce3883ffdd1dd1ad7464f7bf0e455b79b7 /app-misc
parentamd64 stable, bug #294185 (diff)
downloadhistorical-ffb576dc9c1f81803dc2af45b1b49c3ad9d2b0f9.tar.gz
historical-ffb576dc9c1f81803dc2af45b1b49c3ad9d2b0f9.tar.bz2
historical-ffb576dc9c1f81803dc2af45b1b49c3ad9d2b0f9.zip
Version bump. 0.7 series is API/ABI incompatible with 0.6 series. Sync live ebuild and convert it to git.
Package-Manager: portage-2.2_rc58/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/tracker/ChangeLog10
-rw-r--r--app-misc/tracker/Manifest20
-rw-r--r--app-misc/tracker/metadata.xml9
-rw-r--r--app-misc/tracker/tracker-0.6.6-r1.ebuild115
-rw-r--r--app-misc/tracker/tracker-0.7.10.ebuild145
-rw-r--r--app-misc/tracker/tracker-9999.ebuild204
6 files changed, 299 insertions, 204 deletions
diff --git a/app-misc/tracker/ChangeLog b/app-misc/tracker/ChangeLog
index 0ad263932ac0..77bdb7d0671e 100644
--- a/app-misc/tracker/ChangeLog
+++ b/app-misc/tracker/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-misc/tracker
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.53 2009/03/30 02:02:05 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.54 2009/12/10 23:15:03 eva Exp $
+
+*tracker-0.7.10 (10 Dec 2009)
+
+ 10 Dec 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ -tracker-0.6.6-r1.ebuild, +tracker-0.7.10.ebuild, tracker-9999.ebuild,
+ metadata.xml:
+ Version bump. 0.7 series is API/ABI incompatible with 0.6 series. Sync
+ live ebuild and convert it to git.
30 Mar 2009; Peter Alfredsen <loki_val@gentoo.org> tracker-0.6.3.ebuild,
tracker-0.6.6.ebuild, tracker-0.6.6-r1.ebuild, tracker-9999.ebuild:
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest
index adf2610f1751..cd33ff551cbc 100644
--- a/app-misc/tracker/Manifest
+++ b/app-misc/tracker/Manifest
@@ -1,5 +1,15 @@
-DIST tracker-0.6.6.tar.gz 1260741 RMD160 f5a5ae4eecff3ec5136f6a65d44e4b09884bb0c9 SHA1 2a904a29454ec7513ac5ecb91b8bddf0cf92617b SHA256 3aac267948f6e65a8f0b8050b8c2b1147a3e8e0eec0389c41f16141c7d6ed3cb
-EBUILD tracker-0.6.6-r1.ebuild 3359 RMD160 1363331a29ed416e221358b1d70a12c86c48c002 SHA1 539c6214f3e60b0f863174c68c3c8220ccce848d SHA256 5940f08c414e8dcc545a4c3daacd33464de5c29b3bc2cae6c83cac75741812b4
-EBUILD tracker-9999.ebuild 3393 RMD160 fadec5b3b70871941548e5c20085a51529715989 SHA1 f3fb8016fc5ddc4009220fe2cf795e7da604283b SHA256 b8391caf5e1146fc1dec3e77e613c536abfb2dc9b94f79db1b5f4af44a14466b
-MISC ChangeLog 9096 RMD160 602af085b414d483d1e571224ee87e85bcad825e SHA1 a9153953e8d7dea31c53699c18f7eee2091c6b8b SHA256 8e3786eadc3339fa020741ad0e8d46961139eea7207d764eebdd4f58b74258da
-MISC metadata.xml 410 RMD160 32a5dae05eee63f20af2c2ce0ce892e22da6bf5a SHA1 28954b8689bb5ce1c32ffe7e28a81dfb1a569935 SHA256 58b69e9d9d6e8c12a3f9105c47bb7ed4bb69a2ad58a12f2bf963b36395e394e0
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST tracker-0.7.10.tar.bz2 1642450 RMD160 65ddc598ae0510efaa5a06e7091fa689b9945c61 SHA1 b421fdf96977329c59d77b14d3e989f137b551ae SHA256 c3abfbc8a4bf32041aad3021fa3944bc9a056a05a198580986090e1622b16f28
+EBUILD tracker-0.7.10.ebuild 4116 RMD160 64137f1d60ce58f5c5d93edd32238ee5965e255a SHA1 d0efd8b4e63d77c583bd94fbd7cfd48675317a98 SHA256 afc57f7f9a5f24862bf208913720f5a19a0707ab87d893203bc1f290966fbc15
+EBUILD tracker-9999.ebuild 4382 RMD160 a9cc47f67c40fc1a1fdef4187ab5258a4770512a SHA1 81753de48db187ea463d9ea3312a41abbd95e42b SHA256 61e986cde50fec04f3681da7d4f95d0627d62a0192ee3586f6655587bfedaf83
+MISC ChangeLog 9376 RMD160 209a65d6c41fac63cbacd1c04f81394a4f48e8f1 SHA1 f32051d429bbcaf3e45e92712f2532d2c3f596ac SHA256 95c6c12824be40cd8281c5fe8d1f266ae34d83c35fcaa76198c5e6530938cfc8
+MISC metadata.xml 718 RMD160 221ef7a658ccde64db603f8230858bd2acfd6d97 SHA1 a7071ad62458b1a6bb6fef68f909ce60f6cd25da SHA256 1a2b375d99fa17b3e44bec67a53ad84bc8a971c8772bb4dc0a6b9202d5846a9b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.13 (GNU/Linux)
+
+iEYEARECAAYFAkshgPwACgkQ1fmVwcYIWAZikQCgtVelEDw3VDBlErXK5hqDushP
+M3sAn0BgQM1cguiH0/wz/bwKq2E4PuyR
+=ALZE
+-----END PGP SIGNATURE-----
diff --git a/app-misc/tracker/metadata.xml b/app-misc/tracker/metadata.xml
index fc5f48c7286c..bd52c5bfe804 100644
--- a/app-misc/tracker/metadata.xml
+++ b/app-misc/tracker/metadata.xml
@@ -5,8 +5,13 @@
<use>
<flag name='applet'>Build tracker monitor applet</flag>
<flag name='deskbar'>Build <pkg>gnome-extra/deskbar-applet</pkg> plugin
- </flag>
+ </flag>
<flag name='gsf'>Enable <pkg>gnome-extra/libgsf</pkg> based data extractor
- </flag>
+ </flag>
+ <flag name="iptc">Enable extraction of IPTC data from pictures</flag>
+ <flag name="kmail">Build kmail data miner</flag>
+ <flag name="laptop">Make tracker power management aware</flag>
+ <flag name="playlist">Add support for playlists</flag>
+ <flag name="xmp">Adds support for XMP metadata extraction</flag>
</use>
</pkgmetadata>
diff --git a/app-misc/tracker/tracker-0.6.6-r1.ebuild b/app-misc/tracker/tracker-0.6.6-r1.ebuild
deleted file mode 100644
index e5dc62437a83..000000000000
--- a/app-misc/tracker/tracker-0.6.6-r1.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.6.6-r1.ebuild,v 1.11 2009/08/15 12:55:07 ssuominen Exp $
-
-EAPI=2
-inherit eutils flag-o-matic linux-info
-
-DESCRIPTION="A tagging metadata database, search tool and indexer"
-HOMEPAGE="http://www.tracker-project.org/"
-SRC_URI="http://www.gnome.org/~jamiemcc/tracker/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
-IUSE="applet debug deskbar gnome gsf gstreamer gtk hal jpeg pdf xine kernel_linux"
-
-RDEPEND=">=dev-libs/glib-2.14.0
- >=x11-libs/pango-1.0.0
- =dev-libs/gmime-2.2*
- >=dev-libs/dbus-glib-0.71
- >=media-libs/libpng-1.2
- >=dev-libs/libxml2-2.6
- >=dev-db/sqlite-3.4[threadsafe]
- >=media-gfx/imagemagick-5.2.1[png,jpeg?]
- applet? ( >=x11-libs/libnotify-0.4.3 )
- deskbar? ( >=gnome-extra/deskbar-applet-2.19 )
- gnome? (
- >=x11-libs/gtk+-2.8
- >=gnome-base/libgnome-2.14
- >=gnome-base/libgnomeui-2.14
- >=gnome-base/gnome-vfs-2.10
- >=gnome-base/gnome-desktop-2.14
- >=gnome-base/libglade-2.5
- )
- gsf? ( >=gnome-extra/libgsf-1.13 )
- gstreamer? ( >=media-libs/gstreamer-0.10 )
- !gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
- gtk? ( >=x11-libs/gtk+-2.8.20 )
- hal? ( >=sys-apps/hal-0.5 )
- jpeg? ( >=media-gfx/exif-0.6 )
- !kernel_linux? ( >=app-admin/gamin-0.1.7 )
- pdf? (
- >=x11-libs/cairo-1.0
- >=virtual/poppler-glib-0.5
- >=virtual/poppler-utils-0.5
- )
- xine? ( >=media-libs/xine-lib-1.0 )"
-DEPEND="${RDEPEND}
- >=dev-util/intltool-0.35
- >=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
- die 'missing CONFIG_INOTIFY'
-}
-
-function inotify_enabled() {
- linux_chkconfig_present INOTIFY && linux_chkconfig_present INOTIFY_USER
-}
-
-pkg_setup() {
- linux-info_pkg_setup
-
- if use kernel_linux ; then
- inotify_enabled || notify_inotify
- fi
-}
-
-src_prepare() {
- # fix tests
- echo "src/tracker-applet/tracker-applet-prefs.glade" >> po/POTFILES.in
-}
-
-src_configure() {
- local myconf=
-
- if use gstreamer ; then
- myconf="${myconf} --enable-video-extractor=gstreamer"
- elif use xine ; then
- myconf="${myconf} --enable-video-extractor=xine"
- else
- myconf="${myconf} --enable-video-extractor=external"
- fi
-
- if use kernel_linux ; then
- myconf="${myconf} --enable-file-monitoring=inotify"
- else
- myconf="${myconf} --enable-file-monitoring=fam"
- fi
-
- econf ${myconf} \
- --disable-xmp --disable-unac \
- --enable-preferences --disable-external-qdbm \
- $(use_enable applet trackerapplet) \
- $(use_enable deskbar deskbar-applet auto) \
- $(use_enable debug debug-code) \
- $(use_enable gnome gui) \
- $(use_enable gsf) \
- $(use_enable gtk libtrackergtk) \
- $(use_enable hal) \
- $(use_enable jpeg exif) \
- $(use_enable pdf)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
- dodoc AUTHORS ChangeLog NEWS README
-}
diff --git a/app-misc/tracker/tracker-0.7.10.ebuild b/app-misc/tracker/tracker-0.7.10.ebuild
new file mode 100644
index 000000000000..afd9130a5581
--- /dev/null
+++ b/app-misc/tracker/tracker-0.7.10.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.7.10.ebuild,v 1.1 2009/12/10 23:15:03 eva Exp $
+
+EAPI="2"
+G2CONF_DEBUG="no"
+
+inherit gnome2 linux-info
+
+DESCRIPTION="A tagging metadata database, search tool and indexer"
+HOMEPAGE="http://www.tracker-project.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="applet deskbar doc eds exif gsf gstreamer gtk hal iptc +jpeg kmail laptop mp3 pdf playlist test +tiff xine +xml xmp +vorbis"
+
+# Automagic, gconf, uuid, enca and probably more
+# TODO: quill and streamanalyzer support
+RDEPEND="
+ >=app-i18n/enca-1.9
+ >=dev-db/sqlite-3.6.16[threadsafe]
+ >=dev-libs/dbus-glib-0.78
+ >=dev-libs/glib-2.16.0
+ >=gnome-base/gconf-2
+ >=media-gfx/imagemagick-5.2.1[png,jpeg=]
+ >=media-libs/libpng-1.2
+ >=x11-libs/pango-1
+ sys-apps/util-linux
+
+ applet? (
+ >=x11-libs/libnotify-0.4.3
+ gnome-base/gnome-panel
+ >=x11-libs/gtk+-2.16 )
+ deskbar? ( >=gnome-extra/deskbar-applet-2.19 )
+ eds? (
+ >=mail-client/evolution-2.25.5
+ >=gnome-extra/evolution-data-server-2.25.5 )
+ exif? ( >=media-libs/libexif-0.6 )
+ iptc? ( media-libs/libiptcdata )
+ jpeg? ( media-libs/jpeg )
+ gsf? ( >=gnome-extra/libgsf-1.13 )
+ gstreamer? ( >=media-libs/gstreamer-0.10.12 )
+ !gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
+ gtk? ( >=x11-libs/gtk+-2.16.0 )
+ laptop? (
+ hal? ( >=sys-apps/hal-0.5 )
+ !hal? ( >=sys-apps/devicekit-power-007 ) )
+ mp3? ( >=media-libs/id3lib-3.8.3 )
+ pdf? (
+ >=x11-libs/cairo-1
+ >=virtual/poppler-glib-0.5[cairo]
+ >=virtual/poppler-utils-0.5
+ >=x11-libs/gtk+-2.12 )
+ playlist? ( dev-libs/totem-pl-parser )
+ tiff? ( media-libs/tiff )
+ vorbis? ( >=media-libs/libvorbis-0.22 )
+ xine? ( >=media-libs/xine-lib-1 )
+ xml? ( >=dev-libs/libxml2-2.6 )
+ xmp? ( >=media-libs/exempi-2.1 )"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.35
+ >=sys-devel/gettext-0.14
+ >=dev-util/pkgconfig-0.20
+ applet? (
+ dev-lang/vala
+ >=dev-libs/libgee-0.3 )
+ gtk? (
+ dev-lang/vala
+ >=dev-libs/libgee-0.3 )
+ doc? ( >=dev-util/gtk-doc-1.8 )"
+# test? ( gcov )
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+function notify_inotify() {
+ ewarn
+ ewarn "You should enable the INOTIFY support in your kernel."
+ ewarn "Check the 'Inotify support for userland' under the 'File systems'"
+ ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
+ ewarn
+ die 'missing CONFIG_INOTIFY'
+}
+
+function inotify_enabled() {
+ linux_chkconfig_present INOTIFY_USER
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+
+ inotify_enabled || notify_inotify
+
+ if use gstreamer ; then
+ G2CONF="${G2CONF}
+ --enable-video-extractor=gstreamer
+ --enable-gstreamer-tagreadbin"
+ # --enable-gstreamer-helix (real media)
+ elif use xine ; then
+ G2CONF="${G2CONF} --enable-video-extractor=xine"
+ else
+ G2CONF="${G2CONF} --enable-video-extractor=external"
+ fi
+
+ # hal and dk-p are used for AC power detection
+ if use laptop; then
+ G2CONF="${G2CONF} $(use_enable hal) $(use_enable !hal devkit-power)"
+ else
+ G2CONF="${G2CONF} --disable-hal --disable-devkit-power"
+ fi
+
+ G2CONF="${G2CONF}
+ --disable-unac
+ --disable-functional-tests
+ $(use_enable applet tracker-status-icon)
+ $(use_enable applet tracker-search-bar)
+ $(use_enable deskbar deskbar-applet)
+ $(use_enable eds evolution-miner)
+ $(use_enable exif libexif)
+ $(use_enable gsf libgsf)
+ $(use_enable gtk libtrackergtk)
+ $(use_enable gtk tracker-explorer)
+ $(use_enable gtk tracker-preferences)
+ $(use_enable gtk tracker-search-tool)
+ $(use_enable iptc libiptcdata)
+ $(use_enable jpeg libjpeg)
+ $(use_enable kmail kmail-miner)
+ $(use_enable mp3 id3lib)
+ $(use_enable pdf poppler-glib)
+ $(use_enable playlist)
+ $(use_enable test unit-tests)
+ $(use_enable tiff libtiff)
+ $(use_enable xml libxml2)
+ $(use_enable xmp exempi)
+ $(use_enable vorbis libvorbis)"
+ # FIXME: Missing files to run functional tests
+ # $(use_enable test functional-tests)
+ # FIXME: useless without quill (extract mp3 albumart...)
+ # $(use_enable gtk gdkpixbuf)
+}
+
+src_test() {
+ export XDG_CONFIG_HOME="${T}"
+ emake check || die "tests failed"
+}
diff --git a/app-misc/tracker/tracker-9999.ebuild b/app-misc/tracker/tracker-9999.ebuild
index 552e81271068..5ec340886f2a 100644
--- a/app-misc/tracker/tracker-9999.ebuild
+++ b/app-misc/tracker/tracker-9999.ebuild
@@ -1,118 +1,160 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-9999.ebuild,v 1.4 2009/08/15 12:55:07 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-9999.ebuild,v 1.5 2009/12/10 23:15:03 eva Exp $
-EAPI=2
-inherit autotools eutils flag-o-matic linux-info subversion
+EAPI="2"
+G2CONF_DEBUG="no"
+
+inherit autotools git gnome2 linux-info
DESCRIPTION="A tagging metadata database, search tool and indexer"
HOMEPAGE="http://www.tracker-project.org/"
-ESVN_REPO_URI="http://svn.gnome.org/svn/${PN}/trunk"
-#SRC_URI="http://www.gnome.org/~jamiemcc/${PN}/${P}.tar.gz"
+EGIT_REPO_URI="git://git.gnome.org/${PN}"
+SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="applet debug deskbar gnome gsf gstreamer gtk hal jpeg pdf xine kernel_linux"
-
-RDEPEND=">=dev-libs/glib-2.14.0
- >=x11-libs/pango-1.0.0
- =dev-libs/gmime-2.2*
- >=dev-libs/dbus-glib-0.71
- >=media-libs/libpng-1.2
- >=dev-libs/libxml2-2.6
- >=dev-db/sqlite-3.4[threadsafe]
- >=media-gfx/imagemagick-5.2.1[png,jpeg?]
- applet? ( >=x11-libs/libnotify-0.4.3 )
- deskbar? ( >=gnome-extra/deskbar-applet-2.19 )
- gnome? (
- >=x11-libs/gtk+-2.8
- >=gnome-base/libgnome-2.14
- >=gnome-base/libgnomeui-2.14
- >=gnome-base/gnome-vfs-2.10
- >=gnome-base/gnome-desktop-2.14
- >=gnome-base/libglade-2.5
- )
- gsf? ( >=gnome-extra/libgsf-1.13 )
- gstreamer? ( >=media-libs/gstreamer-0.10 )
- !gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
- gtk? ( >=x11-libs/gtk+-2.8.20 )
- hal? ( >=sys-apps/hal-0.5 )
- jpeg? ( >=media-gfx/exif-0.6 )
- !kernel_linux? ( >=app-admin/gamin-0.1.7 )
- pdf? (
- >=x11-libs/cairo-1.0
- >=virtual/poppler-glib-0.5
- >=virtual/poppler-utils-0.5
- )
- xine? ( >=media-libs/xine-lib-1.0 )"
+IUSE="applet deskbar doc eds exif gsf gstreamer gtk hal iptc +jpeg kmail laptop mp3 pdf playlist test +tiff xine +xml xmp +vorbis"
+
+# Automagic, gconf, uuid, enca and probably more
+# TODO: quill and streamanalyzer support
+RDEPEND="
+ >=app-i18n/enca-1.9
+ >=dev-db/sqlite-3.6.16[threadsafe]
+ >=dev-libs/dbus-glib-0.78
+ >=dev-libs/glib-2.16.0
+ >=gnome-base/gconf-2
+ >=media-gfx/imagemagick-5.2.1[png,jpeg=]
+ >=media-libs/libpng-1.2
+ >=x11-libs/pango-1
+ sys-apps/util-linux
+
+ applet? (
+ >=x11-libs/libnotify-0.4.3
+ gnome-base/gnome-panel
+ >=x11-libs/gtk+-2.16 )
+ deskbar? ( >=gnome-extra/deskbar-applet-2.19 )
+ eds? (
+ >=mail-client/evolution-2.25.5
+ >=gnome-extra/evolution-data-server-2.25.5 )
+ exif? ( >=media-libs/libexif-0.6 )
+ iptc? ( media-libs/libiptcdata )
+ jpeg? ( media-libs/jpeg )
+ gsf? ( >=gnome-extra/libgsf-1.13 )
+ gstreamer? ( >=media-libs/gstreamer-0.10.12 )
+ !gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
+ gtk? ( >=x11-libs/gtk+-2.16.0 )
+ laptop? (
+ hal? ( >=sys-apps/hal-0.5 )
+ !hal? ( >=sys-apps/devicekit-power-007 ) )
+ mp3? ( >=media-libs/id3lib-3.8.3 )
+ pdf? (
+ >=x11-libs/cairo-1
+ >=virtual/poppler-glib-0.5[cairo]
+ >=virtual/poppler-utils-0.5
+ >=x11-libs/gtk+-2.12 )
+ playlist? ( dev-libs/totem-pl-parser )
+ tiff? ( media-libs/tiff )
+ vorbis? ( >=media-libs/libvorbis-0.22 )
+ xine? ( >=media-libs/xine-lib-1 )
+ xml? ( >=dev-libs/libxml2-2.6 )
+ xmp? ( >=media-libs/exempi-2.1 )"
DEPEND="${RDEPEND}
- >=dev-util/intltool-0.35
- >=sys-devel/gettext-0.14
- >=dev-util/pkgconfig-0.20"
+ >=dev-util/intltool-0.35
+ >=sys-devel/gettext-0.14
+ >=dev-util/pkgconfig-0.20
+ applet? (
+ dev-lang/vala
+ >=dev-libs/libgee-0.3 )
+ gtk? (
+ dev-lang/vala
+ >=dev-libs/libgee-0.3 )
+ dev-util/gtk-doc-am
+ doc? ( >=dev-util/gtk-doc-1.8 )"
+# test? ( gcov )
+
+DOCS="AUTHORS ChangeLog NEWS README"
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 "Check the 'Inotify support for userland' under the 'File systems'"
+ ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
ewarn
die 'missing CONFIG_INOTIFY'
}
function inotify_enabled() {
- linux_chkconfig_present INOTIFY && linux_chkconfig_present INOTIFY_USER
+ linux_chkconfig_present INOTIFY_USER
}
pkg_setup() {
linux-info_pkg_setup
- if use kernel_linux ; then
- inotify_enabled || notify_inotify
- fi
-}
-
-src_prepare() {
- subversion_src_prepare
-
- intltoolize --force || die "intltoolize failed"
- eautoreconf
-}
-
-src_configure() {
- local myconf=
+ inotify_enabled || notify_inotify
if use gstreamer ; then
- myconf="${myconf} --enable-video-extractor=gstreamer"
+ G2CONF="${G2CONF}
+ --enable-video-extractor=gstreamer
+ --enable-gstreamer-tagreadbin"
+ # --enable-gstreamer-helix (real media)
elif use xine ; then
- myconf="${myconf} --enable-video-extractor=xine"
+ G2CONF="${G2CONF} --enable-video-extractor=xine"
else
- myconf="${myconf} --enable-video-extractor=external"
+ G2CONF="${G2CONF} --enable-video-extractor=external"
fi
- if use kernel_linux ; then
- myconf="${myconf} --enable-file-monitoring=inotify"
+ # hal and dk-p are used for AC power detection
+ if use laptop; then
+ G2CONF="${G2CONF} $(use_enable hal) $(use_enable !hal devkit-power)"
else
- myconf="${myconf} --enable-file-monitoring=fam"
+ G2CONF="${G2CONF} --disable-hal --disable-devkit-power"
fi
- econf ${myconf} \
- --disable-xmp --disable-unac \
- --enable-preferences --disable-external-qdbm \
- $(use_enable applet trackerapplet) \
- $(use_enable deskbar deskbar-applet auto) \
- $(use_enable debug debug-code) \
- $(use_enable gnome gui) \
- $(use_enable gsf) \
- $(use_enable gtk libtrackergtk) \
- $(use_enable hal) \
- $(use_enable jpeg exif) \
- $(use_enable pdf)
+ G2CONF="${G2CONF}
+ --disable-unac
+ --disable-functional-tests
+ $(use_enable applet tracker-status-icon)
+ $(use_enable applet tracker-search-bar)
+ $(use_enable deskbar deskbar-applet)
+ $(use_enable eds evolution-miner)
+ $(use_enable exif libexif)
+ $(use_enable gsf libgsf)
+ $(use_enable gtk libtrackergtk)
+ $(use_enable gtk tracker-explorer)
+ $(use_enable gtk tracker-preferences)
+ $(use_enable gtk tracker-search-tool)
+ $(use_enable iptc libiptcdata)
+ $(use_enable jpeg libjpeg)
+ $(use_enable kmail kmail-miner)
+ $(use_enable mp3 id3lib)
+ $(use_enable pdf poppler-glib)
+ $(use_enable playlist)
+ $(use_enable test unit-tests)
+ $(use_enable tiff libtiff)
+ $(use_enable xml libxml2)
+ $(use_enable xmp exempi)
+ $(use_enable vorbis libvorbis)"
+ # FIXME: Missing files to run functional tests
+ # $(use_enable test functional-tests)
+ # FIXME: useless without quill (extract mp3 albumart...)
+ # $(use_enable gtk gdkpixbuf)
+}
+
+src_unpack() {
+ git_src_unpack
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ gtkdocize || die "gtkdocize failed"
+ intltoolize --force --copy --automake || die "intltoolize failed"
+ eautoreconf
}
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
- dodoc AUTHORS ChangeLog NEWS README
+src_test() {
+ export XDG_CONFIG_HOME="${T}"
+ emake check || die "tests failed"
}