diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2013-01-25 22:35:18 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2013-01-25 22:35:18 +0000 |
commit | 1cdd7f72839db258300c9bcbeb339625e78a4aaa (patch) | |
tree | 0196460813b3a3fb580b76d908f154e1ba4914a8 /app-misc/tracker | |
parent | Fix build issue when USE=vala is enabled. bug #451670 (diff) | |
download | historical-1cdd7f72839db258300c9bcbeb339625e78a4aaa.tar.gz historical-1cdd7f72839db258300c9bcbeb339625e78a4aaa.tar.bz2 historical-1cdd7f72839db258300c9bcbeb339625e78a4aaa.zip |
Switch to EAPI=5, move configuration stuff to src_configure. Fix xps USE flag handling. Be more complete in REQUIRED_USE.
Package-Manager: portage-2.2.0_alpha160/cvs/Linux x86_64
Manifest-Sign-Key: 0xC6085806
Diffstat (limited to 'app-misc/tracker')
-rw-r--r-- | app-misc/tracker/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/tracker/Manifest | 16 | ||||
-rw-r--r-- | app-misc/tracker/tracker-0.14.4.ebuild | 185 | ||||
-rw-r--r-- | app-misc/tracker/tracker-9999.ebuild | 188 |
4 files changed, 215 insertions, 181 deletions
diff --git a/app-misc/tracker/ChangeLog b/app-misc/tracker/ChangeLog index 40e57835cb28..f69602848bb0 100644 --- a/app-misc/tracker/ChangeLog +++ b/app-misc/tracker/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/tracker # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.142 2013/01/06 09:15:44 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.143 2013/01/25 22:35:14 eva Exp $ + + 25 Jan 2013; Gilles Dartiguelongue <eva@gentoo.org> tracker-0.14.4.ebuild, + tracker-9999.ebuild: + Switch to EAPI=5, move configuration stuff to src_configure. Fix xps USE flag + handling. Be more complete in REQUIRED_USE. 06 Jan 2013; Agostino Sarubbo <ago@gentoo.org> tracker-0.14.4.ebuild: Add ~sparc, wrt bug #449220 diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest index 6daeaf80738f..92f3130f807c 100644 --- a/app-misc/tracker/Manifest +++ b/app-misc/tracker/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX tracker-0.12.3-strigi.patch 1166 SHA256 01078f04c1f5c37e767d0bc4ea13f8dc2d478ed95498cb350d915768f71aa8f0 SHA512 48c9ff62888e8c1bf9c4fec4b11f61f3e9ae51e4ac894c639f6479afbfc928964e35e7d37bda99c7d0e505b5c2e6a7964eb16587d5365c1acd009c51f94ef4d4 WHIRLPOOL 83db8c654f11ff9c0b9500a04c28cc499915fc0ba3517e1b572c3f7d2d38a96a625061de7a70bd3112e908ee7f2bd1f8ddc730370b42385b23a756277dda4b94 AUX tracker-0.14.2-icu-no-LC_ALL.patch 1266 SHA256 e42770fe57d01e54811584546ee657b110ad83bbe9c9fdd1c8b017777749cc74 SHA512 7de8927c4825f09e6d419e136be5c729b2f98caa374710887b958edd17865e4fba7518596d18cb81e5ced32977593fbc4cc9bf86d0156f13386f2752ab1200b0 WHIRLPOOL 58481556fde3b3410554b8a0882e924373caf3f941fb37fe75c497d12c6edce8b97daefb671c69a37375b19d961e4c8f6fd18ba6e0bf4c59374a982ef326e0ec DIST tracker-0.12.10.tar.xz 6220648 SHA256 42722831fdde63cfa07e4f0bb75805425c09b1f1801d3d5280de8be37a357b69 SHA512 53b50847229190e9510e4fc37deadf94f6a478c32b7548a457fe6597433bf7ac9f5bc2470641fe4b665b92c989b1d5b6e9917f7e1903b93c32830f0b2efa8f6f WHIRLPOOL 707b290232a9c3b0b7825628c32130b77afd24915bc18eb77c517b6775d58379f94f4f8efb52bd53637fb66374f426f7a01c47986e951123ff0ff8af874fd870 @@ -5,7 +8,14 @@ DIST tracker-0.14.3.tar.xz 6120108 SHA256 7c1ecf3705ecbd2a0278d04277cd1bd8c89d58 DIST tracker-0.14.4.tar.xz 5946796 SHA256 b818ee42b9007a94b2f8046edc4706bb2036187d5fd304e7ae23e5d2fcf85918 SHA512 e9d6d28276dc7f9930f0e8801fa3b3ea2a30ced0979309418ff5a36d7417ab85fb4d2c246032cad88ea63a4716b301db95a0046bd17eb1849e8a9a7edc464103 WHIRLPOOL 82aebbd0596c931867c65612672af52a510da202c881b2e1fdaa9a07136f8bef2840c2d0a6546ba0e6a53c9e61c973925dbc917ba5d8ec3b385f0656a34b926a EBUILD tracker-0.12.10-r1.ebuild 8352 SHA256 270b7e5d9d778534bacf76cc3f32a1d58e244fcaaf80f147b005371115d406a4 SHA512 e47e3bdc12b35a1db6e8ae0b11aeb143b8d2aa6e6dc2a7277819a47925936a44d64bf869b15e8b4d33c5ecedaf7bebdbd8c8d8d1b09b2bdc8fc801ca0dcc8abe WHIRLPOOL 90194d3742d7435016e835acd3b9c774a43811986ec3ec509c3529b384f9996e86e3953b319e86f936b77171c2e49ef7081f2c5c0a0ffde13ce67ebdbd97b215 EBUILD tracker-0.14.3.ebuild 8576 SHA256 11f783f6d7f414bf714b5559b6d6b9bcd590dda5426aee63fadf95cc3da82e23 SHA512 69339f2cf096ec4f87228d323a295894414ce71a4fa7a20e7b7bef3d1aaeda4ddbc151759993f470761140efb9ead1ec2656521a800b839224406de6c1d856e7 WHIRLPOOL 635a3d97d7b01c0973fdab2057702408ff74be34106c85a77bc702b017389133ceef6f40ae8d1f5a97b2cf81905023b298d4ea14ca6549fd389fe2c60e266ad9 -EBUILD tracker-0.14.4.ebuild 8672 SHA256 98af66caaefab95d698b58e99555b1b511eb7ee5d18b2841235bdba5206316c3 SHA512 cf2a4a37b4ec7896a6495f5531005ff37df9cf4ea248fc3bd287ae66806efba1e43ef893921b6756cbf5f0c4a4cc3d4bd60b805fa8423ddd5e3db97e49affa4c WHIRLPOOL a5ba46a3b2dbe7a44a6b4c0def052abd40b4ccd35e9303f48b3284f00482d141fd821646fe2d91ccdd72385685b324cacc4fda2f6bd25f99937ef7e03c24007e -EBUILD tracker-9999.ebuild 8298 SHA256 eb4ccfd2e039e5dcf8ea0ef4f0061265f89a40c6944d2c92672acb6bef22541b SHA512 a125d818ca096656580a2455d38595bebc7c0d524ab464edcae6988f23485044c1a35fa79de667583104b482f2c36f5b8eab40edda5098a531d6b5f7239ee8ef WHIRLPOOL 77fae4446608f08639f92bd944f66db774be7f82f3bea7bd505bc9c2c52025ca8e06121d4af186cd4b1942415e0e6b531b21338ee7c1f54f3cdcc52be7f61b5c -MISC ChangeLog 27047 SHA256 4819ec87db2da45209daffa17d391b8c33d5d652201dcda71da6271f6660b91f SHA512 a9bc2a2a465ebfc103c3aea1f1fdeb481ee0f517f91f9476f0106b41505094541c85e3f5f300b19fce24ac10bba397add2993e0ecfeb00d357c2a5543c65b136 WHIRLPOOL 712c0a1b88583dbe2f5d8b7e4e9db4c1aa92f5b44eb4af680da2b27999f18ab788b366fad160090039fe2ecaf912dc13d2085a76252b1261c3c0ac392b829019 +EBUILD tracker-0.14.4.ebuild 8918 SHA256 af9ec8f30a681b92f1f8f979db1cb8da8d6b67a93d8f90b84254eda529d8ee4e SHA512 9ec020650cc67173a3af878e25a2d68cca19878bec77c1422a6690490a6ce5413369bfb84c747f9d69781d114fd577cd1b188f1ea1aefcc0e87eb8607389e87b WHIRLPOOL d30bf4f4f40da412923d64c3f87bf53df1e0514adac09fdc0300503e01ad2da6271756cca3bdf11fc1d58251bca80037666bd505b60b29b21d499f2a3c6f27e6 +EBUILD tracker-9999.ebuild 8637 SHA256 82a4c3fca05cc035b224e720d6524434f37df7fe919a78d75bc0d039133274b9 SHA512 a27353528bac6c00f7f853d3b6c142aa3c4e268bfe44e362b8817059a07e738ca558c01f41b3ac901d3a57c8aa3a0d81219f2c894565100011fac6df892afc3f WHIRLPOOL d515010114cfddff6e4d2d730cd2eb278b60245237617f17b31238895e8777ee033034e7d56485187710fe6c9010cb16337cb6f824cbc951f09d5b0a64a5a44f +MISC ChangeLog 27274 SHA256 9fa889504a1491d317cf868e80cee67f02c9a10795911b6d044575f556c6785e SHA512 9b30e56fd2340af8ec9aee78431308034fcd1a31b45e46fc333b83cfbd989884a811170121c4c30be5883fa35833f833a5b39eb705e8129e1aebdfd5a173396c WHIRLPOOL c88abd061f830c456fd7c357bceb396a77a8cbaadda8517423fbd987480d2cd4377b1dc6178e46ea808feeb8366d1c96af3b8647bedb050a99355b3eedc28180 MISC metadata.xml 1515 SHA256 0e92e6ae499e7a108e3502636759466a6933d355eb224bf67e93d1f3db5e0b56 SHA512 4c1c33291265a4fcc34f91aee1bf63eb68ac56763e6fa6e978eca7129d7525f30f791f6c5a470789d2da15a4f6d204d4b1f63270e4d27b9fa2bef9cc9491d260 WHIRLPOOL a0fb4647784ff933bdc0ffc031e8e94aad4acc3dac5be45a7246d1aec45b2b1e5390ab2848e6c635071b1edbd17989bf60b944fefa39f258e88f200becd44b14 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlEDCKMACgkQ1fmVwcYIWAb0UwCeMCy3V5rV+e5sK6yizQVISyRm +ZxsAn0ac+dNTD8+WM0MF6096cLFlHyUC +=nwNo +-----END PGP SIGNATURE----- diff --git a/app-misc/tracker/tracker-0.14.4.ebuild b/app-misc/tracker/tracker-0.14.4.ebuild index 7c6a293cc065..67449e965c83 100644 --- a/app-misc/tracker/tracker-0.14.4.ebuild +++ b/app-misc/tracker/tracker-0.14.4.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.14.4.ebuild,v 1.7 2013/01/06 09:15:44 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.14.4.ebuild,v 1.8 2013/01/25 22:35:14 eva Exp $ -EAPI="4" +EAPI="5" GCONF_DEBUG="no" GNOME2_LA_PUNT="yes" PYTHON_DEPEND="2:2.6" @@ -29,7 +29,12 @@ IUSE="applet cue doc eds elibc_glibc exif firefox-bookmarks flac flickr gif gnome-keyring gsf gstreamer gtk iptc +iso +jpeg laptop +miner-fs mp3 networkmanager pdf playlist rss test thunderbird +tiff upnp-av +vorbis xine +xml xmp xps" # qt4 strigi [[ ${PV} = 9999 ]] || IUSE="${IUSE} nautilus" -REQUIRED_USE="cue? ( gstreamer )" +REQUIRED_USE=" + ^^ ( gstreamer xine ) + cue? ( gstreamer ) + upnp-av? ( gstreamer ) + !miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps ) +" # Test suite highly disfunctional, loops forever # putting aside for now @@ -39,15 +44,15 @@ RESTRICT="test" # glibc-2.12 needed for SCHED_IDLE (see bug #385003) RDEPEND=" >=app-i18n/enca-1.9 - >=dev-db/sqlite-3.7.14[threadsafe] + >=dev-db/sqlite-3.7.14:=[threadsafe] >=dev-libs/glib-2.28:2 >=dev-libs/gobject-introspection-0.9.5 - >=dev-libs/icu-4 + >=dev-libs/icu-4:= || ( >=media-gfx/imagemagick-5.2.1[png,jpeg=] media-gfx/graphicsmagick[imagemagick,png,jpeg=] ) - >=media-libs/libpng-1.2 - >=x11-libs/pango-1 + >=media-libs/libpng-1.2:= + >=x11-libs/pango-1:= sys-apps/util-linux applet? ( @@ -56,8 +61,8 @@ RDEPEND=" >=x11-libs/gtk+-3:3 ) cue? ( media-libs/libcue ) eds? ( - >=mail-client/evolution-3.3.5 - >=gnome-extra/evolution-data-server-3.3.5 + >=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 ) @@ -72,14 +77,12 @@ RDEPEND=" gsf? ( >=gnome-extra/libgsf-1.13 ) gstreamer? ( >=media-libs/gstreamer-0.10.31:0.10 - upnp-av? ( >=media-libs/gupnp-dlna-0.5 ) - !upnp-av? ( >=media-libs/gst-plugins-base-0.10.31:0.10 ) ) - !gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) ) + >=media-libs/gst-plugins-base-0.10.31:0.10 ) gtk? ( >=dev-libs/libgee-0.3:0 >=x11-libs/gtk+-3:3 ) iptc? ( media-libs/libiptcdata ) - iso? ( >=sys-libs/libosinfo-0.0.2 ) + iso? ( >=sys-libs/libosinfo-0.0.2:= ) jpeg? ( virtual/jpeg:0 ) laptop? ( >=sys-power/upower-0.9 ) mp3? ( @@ -87,8 +90,8 @@ RDEPEND=" gtk? ( x11-libs/gdk-pixbuf:2 ) ) networkmanager? ( >=net-misc/networkmanager-0.8 ) pdf? ( - >=x11-libs/cairo-1 - >=app-text/poppler-0.16[cairo,utils] + >=x11-libs/cairo-1:= + >=app-text/poppler-0.16:=[cairo,utils] >=x11-libs/gtk+-2.12:2 ) playlist? ( dev-libs/totem-pl-parser ) rss? ( net-libs/libgrss ) @@ -96,11 +99,13 @@ RDEPEND=" >=mail-client/thunderbird-5.0 >=mail-client/thunderbird-bin-5.0 ) ) tiff? ( media-libs/tiff ) + upnp-av? ( >=media-libs/gupnp-dlna-0.5 ) vorbis? ( >=media-libs/libvorbis-0.22 ) xine? ( >=media-libs/xine-lib-1 ) xml? ( >=dev-libs/libxml2-2.6 ) xmp? ( >=media-libs/exempi-2.1 ) xps? ( app-text/libgxps ) + !gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) ) " # strigi? ( >=app-misc/strigi-0.7 ) # mp3? ( qt4? ( >=x11-libs/qt-gui-4.7.1:4 ) ) @@ -112,7 +117,6 @@ DEPEND="${RDEPEND} gtk? ( >=dev-libs/libgee-0.3 ) doc? ( app-office/dia - >=dev-util/gtk-doc-1.8 media-gfx/graphviz ) test? ( >=dev-libs/dbus-glib-0.82-r1 @@ -154,79 +158,6 @@ src_unpack() { } src_prepare() { - if use gstreamer ; then - G2CONF="${G2CONF} --enable-generic-media-extractor=gstreamer" - if use upnp-av; then - G2CONF="${G2CONF} --with-gstreamer-backend=gupnp-dlna" - else - G2CONF="${G2CONF} --with-gstreamer-backend=discoverer" - fi - elif use xine ; then - G2CONF="${G2CONF} --enable-generic-media-extractor=xine" - else - G2CONF="${G2CONF} --enable-generic-media-extractor=external" - fi - - # if use mp3 && (use gtk || use qt4); then - if use mp3 && use gtk; then - #G2CONF="${G2CONF} $(use_enable !qt4 gdkpixbuf) $(use_enable qt4 qt)" - G2CONF="${G2CONF} --enable-gdkpixbuf" - fi - - # unicode-support: libunistring, libicu or glib ? - # According to NEWS, introspection is required - # FIXME: disabling streamanalyzer for now since tracker-sparql-builder.h - # is not being generated - # XXX: disabling qt since tracker-albumart-qt is unstable; bug #385345 - # nautilus extension is in a separate package, nautilus-tracker-tags - G2CONF="${G2CONF} - --disable-hal - --enable-tracker-fts - --with-enca - --with-unicode-support=libicu - --enable-guarantee-metadata - --enable-introspection - --disable-libstreamanalyzer - --disable-qt - --disable-nautilus-extension - $(use_enable applet tracker-search-bar) - $(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 flickr miner-flickr) - $(use_enable gnome-keyring) - $(use_enable gsf libgsf) - $(use_enable gtk tracker-explorer) - $(use_enable gtk tracker-preferences) - $(use_enable gtk tracker-needle) - $(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 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 libgpxs)" - # $(use_enable strigi libstreamanalyzer) - - DOCS="AUTHORS ChangeLog NEWS README" - # Fix functional tests scripts find "${S}" -name "*.pyc" -delete python_convert_shebangs -q -r 2 tests utils examples @@ -248,6 +179,82 @@ src_prepare() { gnome2_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 xine ; then + myconf="${myconf} --enable-generic-media-extractor=xine" + else + myconf="${myconf} --enable-generic-media-extractor=external" + fi + + # if use mp3 && (use gtk || use qt4); then + if use mp3 && use gtk; then + #myconf="${myconf} $(use_enable !qt4 gdkpixbuf) $(use_enable qt4 qt)" + myconf="${myconf} --enable-gdkpixbuf" + fi + + # unicode-support: libunistring, libicu or glib ? + # According to NEWS, introspection is required + # FIXME: disabling streamanalyzer for now since tracker-sparql-builder.h + # is not being generated + # XXX: disabling qt since tracker-albumart-qt is unstable; bug #385345 + # nautilus extension is in a separate package, nautilus-tracker-tags + gnome2_src_configure \ + --disable-hal \ + --disable-libstreamanalyzer \ + --disable-nautilus-extension \ + --disable-qt \ + --enable-guarantee-metadata \ + --enable-introspection \ + --enable-tracker-fts \ + --with-enca \ + --with-unicode-support=libicu \ + $(use_enable applet tracker-search-bar) \ + $(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 flickr miner-flickr) \ + $(use_enable gnome-keyring) \ + $(use_enable gsf libgsf) \ + $(use_enable gtk tracker-explorer) \ + $(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 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} + # $(use_enable strigi libstreamanalyzer) +} + src_test() { unset DBUS_SESSION_BUS_ADDRESS Xemake check XDG_DATA_HOME="${T}" XDG_CONFIG_HOME="${T}" diff --git a/app-misc/tracker/tracker-9999.ebuild b/app-misc/tracker/tracker-9999.ebuild index dbce781669ef..efa281cd71a5 100644 --- a/app-misc/tracker/tracker-9999.ebuild +++ b/app-misc/tracker/tracker-9999.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 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.55 2012/12/15 19:01:29 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-9999.ebuild,v 1.56 2013/01/25 22:35:14 eva Exp $ -EAPI="4" +EAPI="5" GCONF_DEBUG="no" GNOME2_LA_PUNT="yes" PYTHON_DEPEND="2:2.6" @@ -22,12 +22,19 @@ SLOT="0" if [[ ${PV} = 9999 ]]; then KEYWORDS="" else - KEYWORDS="~amd64 ~x86" + KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" fi # USE="doc" is managed by eclass. -IUSE="applet cue doc eds elibc_glibc exif firefox-bookmarks flac flickr gif gnome-keyring gsf gstreamer gtk iptc +iso +jpeg laptop +miner-fs mp3 networkmanager pdf playlist rss test thunderbird +tiff upnp-av +vorbis xine +xml xmp" # qt4 strigi +IUSE="applet cue doc eds elibc_glibc exif firefox-bookmarks flac flickr gif +gnome-keyring gsf gstreamer gtk iptc +iso +jpeg laptop +miner-fs mp3 networkmanager pdf playlist rss test thunderbird +tiff upnp-av +vorbis xine +xml xmp xps" # qt4 strigi [[ ${PV} = 9999 ]] || IUSE="${IUSE} nautilus" -REQUIRED_USE="cue? ( gstreamer )" + +REQUIRED_USE=" + ^^ ( gstreamer xine ) + cue? ( gstreamer ) + upnp-av? ( gstreamer ) + !miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps ) +" # Test suite highly disfunctional, loops forever # putting aside for now @@ -37,15 +44,15 @@ RESTRICT="test" # glibc-2.12 needed for SCHED_IDLE (see bug #385003) RDEPEND=" >=app-i18n/enca-1.9 - >=dev-db/sqlite-3.7.14[threadsafe] + >=dev-db/sqlite-3.7.14:=[threadsafe] >=dev-libs/glib-2.28:2 >=dev-libs/gobject-introspection-0.9.5 - >=dev-libs/icu-4 + >=dev-libs/icu-4:= || ( >=media-gfx/imagemagick-5.2.1[png,jpeg=] media-gfx/graphicsmagick[imagemagick,png,jpeg=] ) - >=media-libs/libpng-1.2 - >=x11-libs/pango-1 + >=media-libs/libpng-1.2:= + >=x11-libs/pango-1:= sys-apps/util-linux applet? ( @@ -54,8 +61,8 @@ RDEPEND=" >=x11-libs/gtk+-3:3 ) cue? ( media-libs/libcue ) eds? ( - >=mail-client/evolution-3.3.5 - >=gnome-extra/evolution-data-server-3.3.5 + >=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 ) @@ -70,14 +77,12 @@ RDEPEND=" gsf? ( >=gnome-extra/libgsf-1.13 ) gstreamer? ( >=media-libs/gstreamer-0.10.31:0.10 - upnp-av? ( >=media-libs/gupnp-dlna-0.5 ) - !upnp-av? ( >=media-libs/gst-plugins-base-0.10.31:0.10 ) ) - !gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) ) + >=media-libs/gst-plugins-base-0.10.31:0.10 ) gtk? ( >=dev-libs/libgee-0.3:0 >=x11-libs/gtk+-3:3 ) iptc? ( media-libs/libiptcdata ) - iso? ( >=sys-libs/libosinfo-0.0.2 ) + iso? ( >=sys-libs/libosinfo-0.0.2:= ) jpeg? ( virtual/jpeg:0 ) laptop? ( >=sys-power/upower-0.9 ) mp3? ( @@ -85,8 +90,8 @@ RDEPEND=" gtk? ( x11-libs/gdk-pixbuf:2 ) ) networkmanager? ( >=net-misc/networkmanager-0.8 ) pdf? ( - >=x11-libs/cairo-1 - >=app-text/poppler-0.16[cairo,utils] + >=x11-libs/cairo-1:= + >=app-text/poppler-0.16:=[cairo,utils] >=x11-libs/gtk+-2.12:2 ) playlist? ( dev-libs/totem-pl-parser ) rss? ( net-libs/libgrss ) @@ -94,27 +99,30 @@ RDEPEND=" >=mail-client/thunderbird-5.0 >=mail-client/thunderbird-bin-5.0 ) ) tiff? ( media-libs/tiff ) + upnp-av? ( >=media-libs/gupnp-dlna-0.5 ) vorbis? ( >=media-libs/libvorbis-0.22 ) xine? ( >=media-libs/xine-lib-1 ) xml? ( >=dev-libs/libxml2-2.6 ) - xmp? ( >=media-libs/exempi-2.1 )" + xmp? ( >=media-libs/exempi-2.1 ) + xps? ( app-text/libgxps ) + !gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) ) +" # strigi? ( >=app-misc/strigi-0.7 ) # mp3? ( qt4? ( >=x11-libs/qt-gui-4.7.1:4 ) ) DEPEND="${RDEPEND} + >=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 ) doc? ( app-office/dia - >=dev-util/gtk-doc-1.8 media-gfx/graphviz ) test? ( >=dev-libs/dbus-glib-0.82-r1 >=sys-apps/dbus-1.3.1[X] ) " [[ ${PV} = 9999 ]] && DEPEND="${DEPEND} - dev-util/gtk-doc-am >=dev-util/gtk-doc-1.8 $(vala_depend) " @@ -150,23 +158,42 @@ src_unpack() { } src_prepare() { + # Fix functional tests scripts + find "${S}" -name "*.pyc" -delete + python_convert_shebangs -r 2 tests utils examples + + # 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 + + if [[ ${PV} = 9999 ]]; then + eautoreconf + vala_src_prepare + fi + gnome2_src_prepare +} + +src_configure() { + local myconf="" + if use gstreamer ; then - G2CONF="${G2CONF} --enable-generic-media-extractor=gstreamer" + myconf="${myconf} --enable-generic-media-extractor=gstreamer" if use upnp-av; then - G2CONF="${G2CONF} --with-gstreamer-backend=gupnp-dlna" + myconf="${myconf} --with-gstreamer-backend=gupnp-dlna" else - G2CONF="${G2CONF} --with-gstreamer-backend=discoverer" + myconf="${myconf} --with-gstreamer-backend=discoverer" fi elif use xine ; then - G2CONF="${G2CONF} --enable-generic-media-extractor=xine" + myconf="${myconf} --enable-generic-media-extractor=xine" else - G2CONF="${G2CONF} --enable-generic-media-extractor=external" + myconf="${myconf} --enable-generic-media-extractor=external" fi # if use mp3 && (use gtk || use qt4); then if use mp3 && use gtk; then - #G2CONF="${G2CONF} $(use_enable !qt4 gdkpixbuf) $(use_enable qt4 qt)" - G2CONF="${G2CONF} --enable-gdkpixbuf" + #myconf="${myconf} $(use_enable !qt4 gdkpixbuf) $(use_enable qt4 qt)" + myconf="${myconf} --enable-gdkpixbuf" fi # unicode-support: libunistring, libicu or glib ? @@ -175,67 +202,52 @@ src_prepare() { # is not being generated # XXX: disabling qt since tracker-albumart-qt is unstable; bug #385345 # nautilus extension is in a separate package, nautilus-tracker-tags - G2CONF="${G2CONF} - --disable-hal - --enable-tracker-fts - --with-enca - --with-unicode-support=libicu - --enable-guarantee-metadata - --enable-introspection - --disable-libstreamanalyzer - --disable-qt - --disable-nautilus-extension - $(use_enable applet tracker-search-bar) - $(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 flickr miner-flickr) - $(use_enable gnome-keyring) - $(use_enable gsf libgsf) - $(use_enable gtk tracker-explorer) - $(use_enable gtk tracker-preferences) - $(use_enable gtk tracker-needle) - $(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 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)" + gnome2_src_configure \ + --disable-hal \ + --disable-libstreamanalyzer \ + --disable-nautilus-extension \ + --disable-qt \ + --enable-guarantee-metadata \ + --enable-introspection \ + --enable-tracker-fts \ + --with-enca \ + --with-unicode-support=libicu \ + $(use_enable applet tracker-search-bar) \ + $(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 flickr miner-flickr) \ + $(use_enable gnome-keyring) \ + $(use_enable gsf libgsf) \ + $(use_enable gtk tracker-explorer) \ + $(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 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} # $(use_enable strigi libstreamanalyzer) - - DOCS="AUTHORS ChangeLog NEWS README" - - # Fix functional tests scripts - find "${S}" -name "*.pyc" -delete - python_convert_shebangs -r 2 tests utils examples - - # 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 - - if [[ ${PV} = 9999 ]]; then - eautoreconf - vala_src_prepare - fi - gnome2_src_prepare } src_test() { |