summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/gnote/ChangeLog8
-rw-r--r--app-misc/gnote/Manifest12
-rw-r--r--app-misc/gnote/gnote-3.12.0.ebuild73
-rw-r--r--app-misc/gnote/metadata.xml2
-rw-r--r--app-misc/tracker/ChangeLog7
-rw-r--r--app-misc/tracker/Manifest10
-rw-r--r--app-misc/tracker/tracker-1.0.0.ebuild256
7 files changed, 356 insertions, 12 deletions
diff --git a/app-misc/gnote/ChangeLog b/app-misc/gnote/ChangeLog
index 91ac094f1546..c5fb4c8d1084 100644
--- a/app-misc/gnote/ChangeLog
+++ b/app-misc/gnote/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/gnote
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gnote/ChangeLog,v 1.45 2014/04/23 20:48:41 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gnote/ChangeLog,v 1.46 2014/04/27 15:48:21 eva Exp $
+
+*gnote-3.12.0 (27 Apr 2014)
+
+ 27 Apr 2014; Gilles Dartiguelongue <eva@gentoo.org> +gnote-3.12.0.ebuild,
+ metadata.xml:
+ Version bump for Gnome 3.12.
23 Apr 2014; Pacho Ramos <pacho@gentoo.org>
-files/gnote-0.8.2-signal_idle-header.patch, -gnote-3.10.2.ebuild,
diff --git a/app-misc/gnote/Manifest b/app-misc/gnote/Manifest
index a27921badc79..cc84aff99d71 100644
--- a/app-misc/gnote/Manifest
+++ b/app-misc/gnote/Manifest
@@ -2,13 +2,15 @@
Hash: SHA256
DIST gnote-3.10.3.tar.xz 3047920 SHA256 02e3c60dc49f3b040d86f0bb8c86af563dec91fcae1037bfda05a33a2cb8c5fd SHA512 9bb4ad2167bdcfcdb2df9f81b7e13863dc511ad0608f5f6601802a001cdb8cf37e43cc278c335bde13879e61700c43eeb63442f6c9435c47791d978f9cb6218f WHIRLPOOL 4f3b3e1658cc3f0a7e9c0043bede5007375a5914296faff772662d0ae9779ffc3386f5e862ef91d07be714c4d47b71518a43c99d5b9aeab4675a6fe1ae613df5
+DIST gnote-3.12.0.tar.xz 3078416 SHA256 b76e13e6793d3e73adafaca20063ba9fea23dae67022597c69c81c1f61842d6c SHA512 558aedcaab4874208ee7aca0fa01124b1bb4bbdb43cb0e39e9b434381441a0c38c909fb7a186805ee98c2f59c107c709d6dea34e02e7493c069f9c29e733168e WHIRLPOOL ae22f3e29f975073b5a03abf7b94928df6c971423a8b0269d6c76e2c1507b9f4259ea73e2ae3be9830e86ca1e5583ef5a42f667606693fedfd6c10bcc186325b
EBUILD gnote-3.10.3.ebuild 1689 SHA256 dd8c5d30212c016c40768fdd2e3e5ba19af826a64e384e5a3e9ca4c40cda5e30 SHA512 362805184b1a4e8c5e854c8542d8bd4e7a4027a0bab551be9cb8907d11b20f1c17c7b6969b7fd1b75e96bd34f82e260b913a4f93a22b3a4b6e62d45b74fd4d0c WHIRLPOOL 879d38329e045a4cddfae607d02f967c85e35b39992e7daa5d0be3d7bdfd32525022e3589a9a2af75d3b10d126bafc7169af1a324257d7f4bb684e3cd6008383
-MISC ChangeLog 6959 SHA256 1c6e7a7eb8bb61d42fe875c8107bebeae0e6ca8b8dabe59fdbb446637a1a8a7f SHA512 5b4e96ef3a4e6ac91bbb28483e907ab79359850a799fdb459107df7701f586967854a10672ee66bad27d1ff0e4cf25f931bde2cac85db8ae2b7c978ba72f0b4c WHIRLPOOL d5d2cbf5921bf3abf5fcb6eabc011760bbf399334c0b76646638919303074e364a416b8bd4933ee784178423d3843b09c5ce96e50d2f668dcee01de4d7ca86ca
-MISC metadata.xml 159 SHA256 b1ccd57b80d8d6ee7a9924844efd69830edfb744ab818d67e50a008b5aae7d4b SHA512 9408846d0f3194f62043b64e325aed9e8cce9a74b556865acf71facc3ad59a092dccbbb3c608ada40b73625eaac93a7bcc976858c6a47426bb8fadb6f830fe2b WHIRLPOOL 4700c8b71899b5acffcc46580315d4d116b478cfa283e0ea0569ab180e46850ce85d73c7370d989e53dd8aecb69ed843d2716bfebd3c5d74a7b5c3d4b94b96bb
+EBUILD gnote-3.12.0.ebuild 1691 SHA256 ab8f0a58d2eb88e6f67e9ec09c3383af66da0c4daded31f38f05a38aebfee26d SHA512 f7aadd5c65597047daf98bb25fd55b9506ee1ca2b5349af8dc01dca25570fe5aea87c323355324f0dc62caa8cd275e005996b89346c7812436cd1b93528d5c4c WHIRLPOOL 3feda5167b4560097e8051983feb13ce3cb3da3edca713b108840ffbddd8d5492e18971185f149973053fcf3227d7b3b236a959e433bbe2e9ad5bcc272869fcf
+MISC ChangeLog 7110 SHA256 35c9955e138e87a685088ae506954140206c5262c7caeea1f65315fb2f51bb8e SHA512 86df5511b7bcb958c4ec7edf88b75c7d8c2aadc505eb41b2d4a8380f16ff6bccc0b0402cdcd6b55c61762dc57fd9a9556c12d4bc21eafb60c91323bb85ace060 WHIRLPOOL 70bf57b3a026e67830b84582775ae959b1403c2afe8ecb8394cd43822189cf8cdc2c4b8af4eb994254f93e2c1c3f554ff144e046a6a308224462ec634f5e081c
+MISC metadata.xml 158 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 SHA512 7fbfbd2b3ed1b81867d55648509f778fdbe2091af53727b3426a3c7f453ae7e1663a99fdd2101508b8d6c85b3158459c93551b77a6a394f02d7e11cbc8a5ecf4 WHIRLPOOL 4bcd5662974877d42ebc4361b6eb412bfeea2af7144b436ce7ed152327d554afc321c376625ba0bb85a704b70d86e3c4882dff3573047acddd8ffccf655d4f7e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlNYJyoACgkQCaWpQKGI+9QhVwCdGcUOdvf3EWQc6Pty5nSsDluz
-e8IAnicwrzDKxyZV3x+ojofWh0247b4L
-=Q8A0
+iEYEAREIAAYFAlNdJsYACgkQ1fmVwcYIWAZAjQCeLR3dFgP/aZb1KHXltsO8mtrQ
+/qUAoLv7rSTQvFjA3Jq9P2eWMWrz7yDE
+=XsVT
-----END PGP SIGNATURE-----
diff --git a/app-misc/gnote/gnote-3.12.0.ebuild b/app-misc/gnote/gnote-3.12.0.ebuild
new file mode 100644
index 000000000000..881a3763c34c
--- /dev/null
+++ b/app-misc/gnote/gnote-3.12.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gnote/gnote-3.12.0.ebuild,v 1.1 2014/04/27 15:48:21 eva Exp $
+
+EAPI="5"
+GCONF_DEBUG="no"
+
+inherit gnome2 readme.gentoo
+
+DESCRIPTION="Desktop note-taking application"
+HOMEPAGE="https://wiki.gnome.org/Apps/Gnote"
+
+LICENSE="GPL-3+ FDL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +X"
+
+# Automagic glib-2.32 dep
+COMMON_DEPEND="
+ >=app-crypt/libsecret-0.8
+ >=app-text/gtkspell-3.0:3
+ >=dev-cpp/glibmm-2.32:2
+ >=dev-cpp/gtkmm-3.10:3.0
+ >=dev-libs/boost-1.34
+ >=dev-libs/glib-2.32:2
+ >=dev-libs/libxml2-2:2
+ dev-libs/libxslt
+ >=sys-apps/util-linux-2.16:=
+ >=x11-libs/gtk+-3.10:3
+ X? ( x11-libs/libX11 )
+"
+RDEPEND="${COMMON_DEPEND}
+ gnome-base/gsettings-desktop-schemas
+"
+DEPEND="${DEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ dev-util/desktop-file-utils
+ >=dev-util/intltool-0.35.0
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # Do not alter CFLAGS
+ sed 's/-DDEBUG -g/-DDEBUG/' -i configure.ac configure || die
+ gnome2_src_prepare
+
+ if has_version net-fs/wdfs; then
+ DOC_CONTENTS="You have net-fs/wdfs installed. app-misc/gnote will use it to
+ synchronize notes."
+ else
+ DOC_CONTENTS="Gnote can use net-fs/wdfs to synchronize notes.
+ If you want to use that functionality just emerge net-fs/wdfs.
+ Gnote will automatically detect that you did and let you use it."
+ fi
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-static \
+ $(use_enable debug) \
+ $(use_with X x11-support) \
+ ITSTOOL=$(type -P true)
+}
+
+src_install() {
+ gnome2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ readme.gentoo_print_elog
+}
diff --git a/app-misc/gnote/metadata.xml b/app-misc/gnote/metadata.xml
index dad9001338dc..da6fd63d0085 100644
--- a/app-misc/gnote/metadata.xml
+++ b/app-misc/gnote/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>gnome</herd>
+<herd>gnome</herd>
</pkgmetadata>
diff --git a/app-misc/tracker/ChangeLog b/app-misc/tracker/ChangeLog
index 784f4365d046..7751d92e7ef3 100644
--- a/app-misc/tracker/ChangeLog
+++ b/app-misc/tracker/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/tracker
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.165 2014/04/23 20:49:13 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.166 2014/04/27 15:53:15 eva Exp $
+
+*tracker-1.0.0 (27 Apr 2014)
+
+ 27 Apr 2014; Gilles Dartiguelongue <eva@gentoo.org> +tracker-1.0.0.ebuild:
+ Version bump for Gnome 3.12.
23 Apr 2014; Pacho Ramos <pacho@gentoo.org> -tracker-0.16.3.ebuild:
Drop old
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest
index ad3c68f27a9f..c65fb4eeff4f 100644
--- a/app-misc/tracker/Manifest
+++ b/app-misc/tracker/Manifest
@@ -2,13 +2,15 @@
Hash: SHA256
DIST tracker-0.16.4.tar.xz 5745592 SHA256 9c2f50839c2b8b352ab9a022597ef985c1900e6286c0c3bcb7a64da39dbb3580 SHA512 82cc63f5a89e70e5d7d3c306005c9119b7f52a244cc453b789f19f56ec4858fd4c02421e07ab392dc1198b3352e99022986dfff043f9b4757e59723c038ffda0 WHIRLPOOL 07ec3cb39f619b930fba194c8cb5843786d9b0afa0d759498f72b35305ad06e1b9aba53fee64dad73186d74b7207c80ffa892adc9b5b350a108d882eaead9d9a
+DIST tracker-1.0.0.tar.xz 6172700 SHA256 a1d033faf2c78f0e239f3c2c961b96623c9a7dabd938c08e3f5660bd70f54ba2 SHA512 0a0e452e84d2746f3e340f25ffb2f09c91927a4c0cf2953bba65f21fc8e42add0cacae331bb184346b115fbafcc6f9c93421872daf10df0bf2663981ac5c51d4 WHIRLPOOL 7d2ae59efe46fea6b978d13f6ef0e42cdf0706b238ffa9f3484742e12beaf9506346e7fdf38325c97dbf17c866b1848aa69dd542f6691a4f8fa343f2aee2b319
EBUILD tracker-0.16.4.ebuild 9116 SHA256 d97d38498efe2a95ad769479ced12e218732ab85bfa5ea46d4c7af04350e3be7 SHA512 1fedbc570827355beaa4a5997f04893b03794bcf36faa60bbd7b8afd313adc671ceb17fe4bb2d7b22c1bace0ae008dc13a74b689a8b991a4aa927832ee46561d WHIRLPOOL d2932beaf0b368d8c79ec598bf0e0987192b721ed4cba190b84ec6bd22ea5c169d85ef39c3f98904ba7d6ee92f298d4a27917e17662ba344f8ba683c6a77af56
-MISC ChangeLog 30971 SHA256 4b6e497d7f6a0f7f21c192f106fed2e33b5e2403006611d2d01652d740c40d41 SHA512 392ecfaa95118e0b62ad99e0a5eb54af06dbd766c056e68561c880a94d9a8d5dc7029dbb062ea2b784e226b9c4e7d00589711f130f650a51cd79cd39fe65746b WHIRLPOOL e0b6f26b4427c45e82260a3eee0afce4d5431ac4390f2fa6af090561173ed5ffd7d260c589d182110222ab52d7620d1c268bb6e9516a7cef05ae65c1c3b2914b
+EBUILD tracker-1.0.0.ebuild 7904 SHA256 852140fb33391dd61dee61554b712f8b8953e02b6193e4096987e0c7099c737e SHA512 812d486e92ffe2ed4411f3ce9a448ea67adbfebc763f2392b7049d5ecdc12f7eef7ca023df0c4264a72863da70f9b334010efa4fb6305a88506e7382aa360a91 WHIRLPOOL 875f42a8907f8863dbd402b1d62c01bb4bb78c06f64ed7e02f346531dd086b8c228e4b5b636be75a35324a7a21d9f294d141f177d5d10a0071a2ee251b9dee86
+MISC ChangeLog 31108 SHA256 c3551a90351f092aa806de85afb53f588e5fb28d1ab4b5216478856c1db293d7 SHA512 ba759bd90fecc8e75b35d0c18c7b8bd42c651b4413bd6fc2eefd0c20bdd54459d7f2d8458163f7d21a1d8ec495dd7be71858eaba19361cabc32ae745be21e287 WHIRLPOOL 0655c9326f853601a61f47f31f14acc09c571ac1d496cc26cc166184caf54afeee3c101f58ddece720f07a79c97f5b9ef8011250d9c9fe205bf794c330c08e26
MISC metadata.xml 1484 SHA256 5d395e74b62ec9b377456b66221e5ecb1b3afb8097db358cfe9029c5018cb1dc SHA512 c188ca86938c56518d0fa01fedacd1aee189364358dbbda2cc8b70d2efd9549c2e4b3b92f3f177733a5061e31ae78048a25c30e90c0e6d065879688c53f94e63 WHIRLPOOL 232fff635a2fb3437f915301aa57a096189b4bc6658038d63c626e2b8cf8814b24bfd7b4ff96d9e9f4ac24ee562b16127ea7ec195b7923bc6799fc0002cb210d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlNYJ0oACgkQCaWpQKGI+9SqBQCfb3m0/zS422zKcR5wyUuNvwO6
-DHsAn3fBaqdeSjkpMk4mjUMAoAkMPtEW
-=bHjt
+iEYEAREIAAYFAlNdJ+wACgkQ1fmVwcYIWAaKxgCfR4T5fxId+oocLmPEqGN65Tmj
+7SgAoIrjPRtDVlMRL1ATmvOFgxl/sWpW
+=Qct1
-----END PGP SIGNATURE-----
diff --git a/app-misc/tracker/tracker-1.0.0.ebuild b/app-misc/tracker/tracker-1.0.0.ebuild
new file mode 100644
index 000000000000..f25347da9b31
--- /dev/null
+++ b/app-misc/tracker/tracker-1.0.0.ebuild
@@ -0,0 +1,256 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-1.0.0.ebuild,v 1.1 2014/04/27 15:53:15 eva Exp $
+
+EAPI="5"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python2_{6,7} )
+VALA_MIN_API_VERSION="0.14"
+
+inherit autotools gnome2 linux-info multilib python-any-r1 vala versionator virtualx
+
+DESCRIPTION="A tagging metadata database, search tool and indexer"
+HOMEPAGE="http://projects.gnome.org/tracker/"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/100"
+IUSE="cue eds elibc_glibc exif ffmpeg firefox-bookmarks flac gif gsf gstreamer gtk iptc +iso +jpeg laptop +miner-fs mp3 nautilus networkmanager pdf playlist rss test thunderbird +tiff upnp-av +vorbis +xml xmp xps"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+REQUIRED_USE="
+ ?? ( gstreamer ffmpeg )
+ cue? ( gstreamer )
+ upnp-av? ( gstreamer )
+ !miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps )
+"
+
+# According to NEWS, introspection is non-optional
+# glibc-2.12 needed for SCHED_IDLE (see bug #385003)
+# sqlite-3.7.16 for FTS4 support
+RDEPEND="
+ >=app-i18n/enca-1.9
+ >=dev-db/sqlite-3.7.16:=
+ >=dev-libs/glib-2.38:2
+ >=dev-libs/gobject-introspection-0.9.5
+ >=dev-libs/icu-4.8.1.1:=
+ || (
+ >=media-gfx/imagemagick-5.2.1[png,jpeg=]
+ media-gfx/graphicsmagick[imagemagick,png,jpeg=] )
+ >=media-libs/libpng-1.2:0=
+ >=media-libs/libmediaart-0.1:1.0
+ >=x11-libs/pango-1:=
+ sys-apps/util-linux
+
+ cue? ( media-libs/libcue )
+ eds? (
+ >=mail-client/evolution-3.3.5:=
+ >=gnome-extra/evolution-data-server-3.3.5:=
+ <mail-client/evolution-3.5.3
+ <gnome-extra/evolution-data-server-3.5.3 )
+ elibc_glibc? ( >=sys-libs/glibc-2.12 )
+ exif? ( >=media-libs/libexif-0.6 )
+ ffmpeg? ( >=virtual/ffmpeg-9 )
+ firefox-bookmarks? ( || (
+ >=www-client/firefox-4.0
+ >=www-client/firefox-bin-4.0 ) )
+ flac? ( >=media-libs/flac-1.2.1 )
+ gif? ( media-libs/giflib )
+ gsf? ( >=gnome-extra/libgsf-1.14.24 )
+ gstreamer? (
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0 )
+ gtk? (
+ >=dev-libs/libgee-0.3:0.8
+ >=x11-libs/gtk+-3:3 )
+ iptc? ( media-libs/libiptcdata )
+ iso? ( >=sys-libs/libosinfo-0.2.9:= )
+ jpeg? ( virtual/jpeg:0 )
+ laptop? ( >=sys-power/upower-0.9 )
+ mp3? ( >=media-libs/taglib-1.6 )
+ networkmanager? ( >=net-misc/networkmanager-0.8 )
+ pdf? (
+ >=x11-libs/cairo-1:=
+ >=app-text/poppler-0.16:=[cairo,utils]
+ >=x11-libs/gtk+-2.12:2 )
+ playlist? ( >=dev-libs/totem-pl-parser-3 )
+ rss? ( net-libs/libgrss:0.5 )
+ thunderbird? ( || (
+ >=mail-client/thunderbird-5.0
+ >=mail-client/thunderbird-bin-5.0 ) )
+ tiff? ( media-libs/tiff )
+ upnp-av? ( >=media-libs/gupnp-dlna-0.9.4:2.0 )
+ vorbis? ( >=media-libs/libvorbis-0.22 )
+ xml? ( >=dev-libs/libxml2-2.6 )
+ xmp? ( >=media-libs/exempi-2.1 )
+ xps? ( app-text/libgxps )
+ !gstreamer? ( !ffmpeg? ( || ( media-video/totem media-video/mplayer ) ) )
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ $(vala_depend)
+ >=dev-util/gtk-doc-am-1.8
+ >=dev-util/intltool-0.40
+ >=sys-devel/gettext-0.17
+ virtual/pkgconfig
+ gtk? ( >=dev-libs/libgee-0.3 )
+ test? (
+ >=dev-libs/dbus-glib-0.82-r1
+ >=sys-apps/dbus-1.3.1[X] )
+"
+PDEPEND="nautilus? ( ~gnome-extra/nautilus-tracker-tags-${PV} )"
+
+# configure mixes enable-compile-warnings and with-compile-warnings
+# See upstream bug #705315
+QA_CONFIGURE_OPTIONS="--enable-compile-warnings"
+
+function inotify_enabled() {
+ if linux_config_exists; then
+ if ! linux_chkconfig_present INOTIFY_USER; then
+ 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"
+ die 'missing CONFIG_INOTIFY'
+ fi
+ else
+ einfo "Could not check for INOTIFY support in your kernel."
+ fi
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+ inotify_enabled
+
+ python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ # Don't run 'firefox --version' or 'thunderbird --version'; it results in
+ # access violations on some setups (bug #385347, #385495).
+ create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh
+ create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
+
+ # Skip broken tests
+ # https://bugzilla.gnome.org/show_bug.cgi?id=699408
+ sed -e '\%/libtracker-common/file-utils/has_write_access_or_was_created%,+1 d' \
+ -i tests/libtracker-common/tracker-file-utils-test.c || die
+ # Fails inside portage, not outside
+ # https://bugzilla.gnome.org/show_bug.cgi?id=699413
+ sed -e '\%/steroids/tracker/tracker_sparql_update_async%,+3 d' \
+ -i tests/tracker-steroids/tracker-test.c || die
+
+ eautoreconf # See bug #367975
+ gnome2_src_prepare
+ vala_src_prepare
+}
+
+src_configure() {
+ local myconf=""
+
+ if use gstreamer ; then
+ myconf="${myconf} --enable-generic-media-extractor=gstreamer"
+ if use upnp-av; then
+ myconf="${myconf} --with-gstreamer-backend=gupnp-dlna"
+ else
+ myconf="${myconf} --with-gstreamer-backend=discoverer"
+ fi
+ elif use ffmpeg ; then
+ myconf="${myconf} --enable-generic-media-extractor=libav"
+ else
+ myconf="${myconf} --enable-generic-media-extractor=external"
+ fi
+
+ # unicode-support: libunistring, libicu or glib ?
+ # According to NEWS, introspection is required
+ # is not being generated
+ # nautilus extension is in a separate package, nautilus-tracker-tags
+ gnome2_src_configure \
+ --disable-hal \
+ --disable-nautilus-extension \
+ --enable-abiword \
+ --enable-artwork \
+ --enable-dvi \
+ --enable-icon \
+ --enable-ps \
+ --enable-text \
+ --enable-guarantee-metadata \
+ --enable-introspection \
+ --enable-libpng \
+ --enable-libmediaart \
+ --enable-tracker-fts \
+ --with-enca \
+ --with-unicode-support=libicu \
+ $(use_enable cue libcue) \
+ $(use_enable eds miner-evolution) \
+ $(use_enable exif libexif) \
+ $(use_enable firefox-bookmarks miner-firefox) \
+ $(use_with firefox-bookmarks firefox-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/firefox/extensions) \
+ FIREFOX="${S}"/firefox-version.sh \
+ $(use_enable flac libflac) \
+ $(use_enable gif libgif) \
+ $(use_enable gsf libgsf) \
+ $(use_enable gtk tracker-needle) \
+ $(use_enable gtk tracker-preferences) \
+ $(use_enable iptc libiptcdata) \
+ $(use_enable iso libosinfo) \
+ $(use_enable jpeg libjpeg) \
+ $(use_enable laptop upower) \
+ $(use_enable miner-fs) \
+ $(use_enable mp3 taglib) \
+ $(use_enable mp3) \
+ $(use_enable networkmanager network-manager) \
+ $(use_enable pdf poppler) \
+ $(use_enable playlist) \
+ $(use_enable rss miner-rss) \
+ $(use_enable test functional-tests) \
+ $(use_enable test unit-tests) \
+ $(use_enable thunderbird miner-thunderbird) \
+ $(use_with thunderbird thunderbird-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/thunderbird/extensions) \
+ THUNDERBIRD="${S}"/thunderbird-version.sh \
+ $(use_enable tiff libtiff) \
+ $(use_enable vorbis libvorbis) \
+ $(use_enable xml libxml2) \
+ $(use_enable xmp exempi) \
+ $(use_enable xps libgxps) \
+ ${myconf}
+}
+
+src_test() {
+ export G_MESSAGES_DEBUG=all # upstream bug #699401#c1
+ unset DBUS_SESSION_BUS_ADDRESS
+ Xemake check XDG_DATA_HOME="${T}" XDG_CONFIG_HOME="${T}"
+}
+
+src_install() {
+ gnome2_src_install
+
+ # Manually symlink extensions for {firefox,thunderbird}-bin
+ if use firefox-bookmarks; then
+ dosym /usr/share/xul-ext/trackerfox \
+ /usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
+ fi
+
+ if use thunderbird; then
+ dosym /usr/share/xul-ext/trackerbird \
+ /usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@bustany.org
+ fi
+}
+
+create_version_script() {
+ # Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))"
+
+ local v=$(best_version ${1})
+ v=${v#${1}-}
+ local vbin=$(best_version ${1}-bin)
+ vbin=${vbin#${1}-bin-}
+
+ if [[ -z ${v} ]]; then
+ v=${vbin}
+ else
+ version_compare ${v} ${vbin}
+ [[ $? -eq 1 ]] && v=${vbin}
+ fi
+
+ echo -e "#!/bin/sh\necho $2 $v" > "$3" || die
+ chmod +x "$3" || die
+}