summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-08-16 22:34:06 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-08-16 22:34:06 +0000
commit0fceb4cf4a1ad05873a37aac708d31eb4b19e6a7 (patch)
treedcdd766b3aba2f222ed9d5d8923f2734b4ee3496 /media-video
parentMove from gnome overlay for GNOME 3 (diff)
downloadhistorical-0fceb4cf4a1ad05873a37aac708d31eb4b19e6a7.tar.gz
historical-0fceb4cf4a1ad05873a37aac708d31eb4b19e6a7.tar.bz2
historical-0fceb4cf4a1ad05873a37aac708d31eb4b19e6a7.zip
Bump to 3.0.1, from gnome overlay for GNOME 3
Package-Manager: portage-2.2.0_alpha39_p14/cvs/Linux x86_64
Diffstat (limited to 'media-video')
-rw-r--r--media-video/totem/ChangeLog9
-rw-r--r--media-video/totem/Manifest24
-rw-r--r--media-video/totem/files/totem-2.90.0-smclient-target-detection.patch39
-rw-r--r--media-video/totem/metadata.xml3
-rw-r--r--media-video/totem/totem-2.32.0-r1.ebuild197
-rw-r--r--media-video/totem/totem-3.0.1.ebuild179
6 files changed, 247 insertions, 204 deletions
diff --git a/media-video/totem/ChangeLog b/media-video/totem/ChangeLog
index 677aa3a4c5d6..18009cd7c8ab 100644
--- a/media-video/totem/ChangeLog
+++ b/media-video/totem/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/totem
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.323 2011/08/13 17:47:49 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.324 2011/08/16 22:34:06 nirbheek Exp $
+
+*totem-3.0.1 (16 Aug 2011)
+
+ 16 Aug 2011; Nirbheek Chauhan <nirbheek@gentoo.org> -totem-2.32.0-r1.ebuild,
+ +files/totem-2.90.0-smclient-target-detection.patch, +totem-3.0.1.ebuild,
+ metadata.xml:
+ Bump to 3.0.1, from gnome overlay for GNOME 3
13 Aug 2011; Raúl Porcel <armin76@gentoo.org> totem-2.32.0-r2.ebuild:
alpha/ia64/sparc stable wrt #369909
diff --git a/media-video/totem/Manifest b/media-video/totem/Manifest
index 7121b328cab0..51b45e2707f8 100644
--- a/media-video/totem/Manifest
+++ b/media-video/totem/Manifest
@@ -3,17 +3,29 @@ Hash: SHA1
AUX totem-2.30.2-mp2t-support.patch 522 RMD160 098ad431572647b1f84fa53d79e599dd68db479f SHA1 c1f437b3dd864589b2a8d45aa5b58087ad164edb SHA256 fd75446210f92e4abfb0d80018f1e5aad7fc0d4ad586c222b9984e0207dde963
AUX totem-2.32.0-smclient-target-detection.patch 1546 RMD160 d26dad41d63e3ce2c819fa0be5844b2797d7fdbd SHA1 103b3182229b54e5b11ab6e941af110ee2761483 SHA256 c2c454e1a1776cc7c07ba4ee069105f6010e92478e9598af23956fac0fb13e63
+AUX totem-2.90.0-smclient-target-detection.patch 1347 RMD160 d8036450e777d4ed8602f6e274b60db21b85d47a SHA1 2329108629cb3736f5a521b58a97458872b5c9ca SHA256 4a40366c2a7e7ce7e9e88279f18757c7e5ccff8d18ced75bf5efb6dee3930a3e
DIST totem-2.32.0-patches.tar.bz2 13355 RMD160 9974653c46247d37d14f441c8d6f458e2e8fbd2f SHA1 1c575377a610ca672b670107c822970f90edc356 SHA256 fdf1d04e5c2325ba5b982a4fb59b9c70bbdf018418dfc7d0fa8bd28929335a30
DIST totem-2.32.0.tar.bz2 3278758 RMD160 5312aa67e3ff611be0626fd72da66e1c26d6eb4d SHA1 46589181aee29e021d686a4804bbbb04149a61dc SHA256 982d6aaeca3e4844694fc0a2540d792bea753e24b55cf33203188b32b5914f47
-EBUILD totem-2.32.0-r1.ebuild 5707 RMD160 2d8e792aede6b5f9eee5f7284917af891889bfdc SHA1 760ccb6b6bda85efcb3f301def8639fbd956554b SHA256 7368070bc25dcecef26559e11192f47254e78cfec5da261ed58229846d33ddae
+DIST totem-3.0.1.tar.bz2 3730880 RMD160 6151124c9667812563a54b75151874ad7180f28a SHA1 34aa2e3bff071562f7603e1a72cb6da65ce0ba8b SHA256 013b6cfedac6ff264aa27de7346597d0b8da7f4ed1f91b2c966a13d3fdff679a
EBUILD totem-2.32.0-r2.ebuild 5903 RMD160 24e110b5c59fa3b05a957a7527fbdff7a1fe9708 SHA1 39cd5bd668d68809c6333f8db9175c810b1d4443 SHA256 7491dc5523e409114767f2386fe309e06ba32aaeb6510a2ae52cda5ff41302b7
EBUILD totem-2.32.0.ebuild 5437 RMD160 b6632cc8b3126fd92c3e99f6b78f732a3b3c5efe SHA1 0c3119d4109c23277369fb29c0135bfd13dfcb37 SHA256 cf297857d04a4244027f7190212a6ea06f469f3eb117abb577093347e6cffb51
-MISC ChangeLog 47471 RMD160 5497721abef4db48283626e6564395b3d35e2e80 SHA1 dfed3184ad26de62e8fd3aa2e53efeb8f819167b SHA256 c3aa2cadfd626a47fbab8e0d00a1102094d1dad5408b236e1e4a5ec7d185eb3d
-MISC metadata.xml 1399 RMD160 c61f89b5dbb8f7abd73a80837bd8c848c1a5cb88 SHA1 72d3f98212c3ecdce00a048558ce32b67e9bfcd0 SHA256 0abbcbe8749025bed45c0ada8a502c2a9e8a77c546d7740e58d81608a23c4bf7
+EBUILD totem-3.0.1.ebuild 5333 RMD160 ce45b6660d8489ab2cc41193a0b0eb33c58e66d0 SHA1 ef4b2f837e0a860e11c00269cb8881543fddc984 SHA256 5f6ecf1dd6131aaeb6be6b6636ecb624aab950502b15e3e1c8a9eaf8b5593ff0
+MISC ChangeLog 47720 RMD160 b029ef12bd05325b9a6997197f71c5b08efe2508 SHA1 3f6f7da3bcfb193a5d9f30038b0f3290580f7547 SHA256 41345ef5d36ffa6d6e41c9e3afa97cfc6dbc54f157bd95c58416ba48514d6d7b
+MISC metadata.xml 1571 RMD160 75a1c6a006bee7310646a0c80ff50d4cab891d96 SHA1 ddeec80d1f7546993b9d99b11d0ee823b7330bce SHA256 15cd60f986d76ecd41dcab6cd6a2ab370566c6ba9f13308ba2c5e5eed81dc6f9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk5GuMsACgkQuQc30/atMkDuDACeO9N+xULiZV6LDtJE29iFIDx9
-eAUAn3Lq/CMbhyobt8ViO0u882j9GkJg
-=o8In
+iQIcBAEBAgAGBQJOSvBkAAoJEO/kOhxWD91kNO0P+wXtN0fXppLUTnbM1gPvnck+
+oH3ndOowrrb9o808byHNEN+3hyjEXLj42beW5P4pnEa2HqftafDo352P3RnhyeTB
+0hnlTfFRukkTXWp/uc6tCtI+Z2T7BMuSUbuXOzseH4DOniiTP15et3J0OmwzkxiE
+JioeQkiSm6XRtrYGOnRZNuLd3X4SHGT4Xw1cU7O+cQriH/xnqaN2nX4FYZI71nad
+PgppzcU2qjtgpPYtNw1A/WSy7b1K5aYBG2sFleAj57yqOlBHnBEcXKBvJIj92KXp
+KfuwW2iCHhW/MyXu8FOZmBNYmOFJAmlyAW+D5I7o08wUb5NEeAP+oPrDchAOK422
+tNRVF5GnSTOJe7K9LQf3pzcpyu4Ed80LKLCtp0CZsoKYoHvu9s8Wv7UfybcN0uuN
+4lWD52a+I2w7scW9jRrqFU1Tk+LA861pbqpfpFc8ntssX+ZW/vft1zS9QjzU9mqg
+O1j/jqkRXtrt+/2CpChm5ef1iSVU4R5ggK8On6Y2qcifCbMcZLhiQZP0Knym2bVl
+oL4l1+IC8XVloRvkzBeEIend5jZ0ltoW5SMKIe34NI5Evt4sWPyidUvR3xpkv+cT
+NTeiOLX3/u9OUrFnX2bIFADYF3/myMJX+Vx4iGo2IgIv3AFKOFtzgUNA3ZIiIsHW
+8CjuzknHJMR/Y3Slhi8I
+=kVVm
-----END PGP SIGNATURE-----
diff --git a/media-video/totem/files/totem-2.90.0-smclient-target-detection.patch b/media-video/totem/files/totem-2.90.0-smclient-target-detection.patch
new file mode 100644
index 000000000000..ad6cc690e4fe
--- /dev/null
+++ b/media-video/totem/files/totem-2.90.0-smclient-target-detection.patch
@@ -0,0 +1,39 @@
+diff -pur totem-2.90.0.orig/configure.in totem-2.90.0/configure.in
+--- totem-2.90.0.orig/configure.in 2010-06-19 14:22:16.000000000 -0400
++++ totem-2.90.0/configure.in 2010-06-25 20:52:05.720211025 -0400
+@@ -153,18 +153,29 @@ GDK_TARGET="$($PKG_CONFIG --variable tar
+ SMCLIENT_PKGS=
+ AC_MSG_CHECKING([which smclient backend to use])
+ AC_ARG_WITH([smclient],
+- [AS_HELP_STRING([--with-smclient],[which smclient backend to use (xsmp/win32/quartz)])],
++ [AS_HELP_STRING([--with-smclient],[which smclient backend to use @<:@xsmp/win32/quartz/auto@:>@])],
+ [],
+- [case "$GDK_TARGET" in
+- x11) with_smclient=xsmp SMCLIENT_PKGS="sm ice" ;;
++ [$with_smclient=auto])
++
++
++if test "$with_smclient" != "no"; then
++
++ if test "$with_smclient" != "auto" -a "$with_smclient" != "yes"; then
++ GDK_TARGET="$with_smclient"
++ fi
++
++ case "$GDK_TARGET" in
++ x11|xsmp) with_smclient=xsmp SMCLIENT_PKGS="sm ice" ;;
+ win32|quartz) with_smclient=$GDK_TARGET ;;
+ *) with_smclient=no ;;
+- esac])
+-AC_MSG_RESULT([$with_smclient])
++ esac
++
++ AC_MSG_RESULT([$with_smclient])
+
+-if test "$with_smclient" != "no"; then
+ PKG_CHECK_MODULES([SMCLIENT],[$SMCLIENT_PKGS])
+ AC_DEFINE([WITH_SMCLIENT],[1],[Define if smclient is enabled])
++else
++ AC_MSG_RESULT([$with_smclient])
+ fi
+
+ AM_CONDITIONAL([WITH_SMCLIENT],[test "$with_smclient" != "no"])
diff --git a/media-video/totem/metadata.xml b/media-video/totem/metadata.xml
index 55541ef7aba1..f1bcb5ec3075 100644
--- a/media-video/totem/metadata.xml
+++ b/media-video/totem/metadata.xml
@@ -12,6 +12,8 @@ Totem is movie player for the GNOME desktop. It features a playlist, fullscreen
user's bluetooth handset using <pkg>net-wireless/bluez</pkg></flag>
<flag name="galago">Allow Totem to set your IM client to "away" when a movie
is playing in fullscreen using <pkg>dev-libs/libgalago</pkg></flag>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
+ for introspection</flag>
<flag name="iplayer">Enable BBC player support</flag>
<flag name="lirc">Enable support for controlling Totem with a remote control
using <pkg>app-misc/lirc</pkg></flag>
@@ -22,5 +24,6 @@ Totem is movie player for the GNOME desktop. It features a playlist, fullscreen
<flag name="upnp">Enable DLNA support through
<pkg>media-video/coherence</pkg></flag>
<flag name="youtube">Enable youtube plugin</flag>
+ <flag name="vala">Enable bindings for <pkg>dev-lang/vala</pkg></flag>
</use>
</pkgmetadata>
diff --git a/media-video/totem/totem-2.32.0-r1.ebuild b/media-video/totem/totem-2.32.0-r1.ebuild
deleted file mode 100644
index 4f8f75450541..000000000000
--- a/media-video/totem/totem-2.32.0-r1.ebuild
+++ /dev/null
@@ -1,197 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-2.32.0-r1.ebuild,v 1.1 2011/04/02 12:03:50 pacho Exp $
-
-EAPI="3"
-GCONF_DEBUG="yes"
-PYTHON_DEPEND="python? 2"
-PYTHON_USE_WITH="threads"
-
-inherit autotools eutils gnome2 multilib python
-
-DESCRIPTION="Media player for GNOME"
-HOMEPAGE="http://projects.gnome.org/totem/"
-
-SRC_URI="${SRC_URI} http://dev.gentoo.org/~pacho/gnome/${P}-patches.tar.bz2"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-
-# FIXME: Enable for now python USE flag per bug #316409
-# this change should only be noticed by people not following current
-# current linux profiles default
-IUSE="bluetooth debug doc galago iplayer lirc nautilus nsplugin +python tracker upnp +youtube" #zeroconf
-
-# TODO:
-# Cone (VLC) plugin needs someone with the right setup (remi ?)
-# check gmyth requirement ? -> waiting for updates in tree
-# vala ( dev-lang/vala ) requires 0.7.5
-RDEPEND=">=dev-libs/glib-2.25.11:2
- >=x11-libs/gtk+-2.21.8:2
- >=gnome-base/gconf-2:2
- >=dev-libs/totem-pl-parser-2.30.2
- >=x11-themes/gnome-icon-theme-2.16
- x11-libs/cairo
- >=dev-libs/libxml2-2.6:2
- >=dev-libs/dbus-glib-0.82
- >=media-libs/gstreamer-0.10.30:0.10
- >=media-libs/gst-plugins-good-0.10:0.10
- >=media-libs/gst-plugins-base-0.10.30:0.10
- >=media-plugins/gst-plugins-gconf-0.10:0.10
-
- >=media-plugins/gst-plugins-taglib-0.10:0.10
- >=media-plugins/gst-plugins-gio-0.10:0.10
- >=media-plugins/gst-plugins-pango-0.10:0.10
- >=media-plugins/gst-plugins-x-0.10:0.10
- >=media-plugins/gst-plugins-meta-0.10-r2:0.10
-
- dev-libs/libunique:1
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXtst
- >=x11-libs/libXrandr-1.1.1
- >=x11-libs/libXxf86vm-1.0.1
-
- bluetooth? ( net-wireless/bluez )
- galago? ( >=dev-libs/libgalago-0.5.2 )
- iplayer? (
- dev-python/pygobject:2
- dev-python/pygtk:2
- dev-python/httplib2
- dev-python/feedparser
- dev-python/beautifulsoup )
- lirc? ( app-misc/lirc )
- nautilus? ( >=gnome-base/nautilus-2.10 )
- nsplugin? ( media-plugins/gst-plugins-soup:0.10 )
- python? (
- >=dev-python/pygtk-2.12:2
- dev-python/pyxdg
- dev-python/gst-python:0.10
- dev-python/dbus-python
- dev-python/gconf-python:2 )
- tracker? ( >=app-misc/tracker-0.8.1 )
- upnp? ( media-video/coherence )
- youtube? (
- >=dev-libs/libgdata-0.4
- net-libs/libsoup:2.4
- media-plugins/gst-plugins-soup:0.10
- >=dev-libs/totem-pl-parser-2.32.4[quvi] )"
-# FIXME: freezes totem
-# zeroconf? ( >=net-libs/libepc-0.3 )
-DEPEND="${RDEPEND}
- x11-proto/xproto
- x11-proto/xextproto
- x11-proto/xf86vidmodeproto
- app-text/scrollkeeper
- >=app-text/gnome-doc-utils-0.20.3
- >=dev-util/intltool-0.40
- >=dev-util/pkgconfig-0.20
- app-text/docbook-xml-dtd:4.5
- gnome-base/gnome-common
- dev-util/gtk-doc-am
- doc? ( >=dev-util/gtk-doc-1.11 )"
-# eautoreconf needs:
-# gnome-base/gnome-common
-# dev-util/gtk-doc-am
-
-# docbook-xml-dtd is needed for user doc
-
-pkg_setup() {
- DOCS="AUTHORS ChangeLog NEWS README TODO"
- G2CONF="${G2CONF}
- --disable-scrollkeeper
- --disable-schemas-install
- --disable-static
- --disable-vala
- --with-dbus
- --with-smclient
- --enable-easy-codec-installation
- $(use_enable nsplugin browser-plugins)"
-
- # Plugin configuration
- G2CONF="${G2CONF}
- BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins
- PLUGINDIR=/usr/$(get_libdir)/totem/plugins"
-
- local plugins="properties,thumbnail,screensaver,ontop,gromit,media-player-keys,skipto,brasero-disc-recorder,screenshot,chapters"
- use bluetooth && plugins="${plugins},bemused"
- use galago && plugins="${plugins},galago"
- use iplayer && plugins="${plugins},iplayer"
- use lirc && plugins="${plugins},lirc"
- use python && plugins="${plugins},opensubtitles,jamendo,pythonconsole,dbus-service"
- use tracker && plugins="${plugins},tracker"
- use upnp && plugins="${plugins},coherence_upnp"
- use youtube && plugins="${plugins},youtube"
- #use zeroconf && plugins="${plugins},publish"
-
- G2CONF="${G2CONF} --with-plugins=${plugins}"
-
- G2CONF="${G2CONF}
- $(use_enable debug)
- $(use_enable nautilus)
- $(use_enable python)"
-
- python_set_active_version 2
-}
-
-src_prepare() {
- gnome2_src_prepare
-
- # Use fixed gnome-doc-utils.make, bug #348403 (can be dropped in next bump)
- cp -f /usr/share/gnome-doc-utils/gnome-doc-utils.make . || die
-
- # Fix broken smclient option passing
- epatch "${FILESDIR}/${PN}-2.32.0-smclient-target-detection.patch"
-
- # Apply multiple backports and fixes from master and 2.32 branch
- epatch "${WORKDIR}/${P}-patches"/*.patch
-
- intltoolize --force --copy --automake || die "intltoolize failed"
- eautoreconf
-
- # disable pyc compiling
- mv py-compile py-compile.orig
- ln -s $(type -P true) py-compile
-}
-
-src_configure() {
- # FIXME: why does it need write access here, probably need to set up a fake
- # home in /var/tmp like other pkgs do
-
- addpredict "$(unset HOME; echo ~)/.gconf"
- addpredict "$(unset HOME; echo ~)/.gconfd"
- addpredict "$(unset HOME; echo ~)/.gnome2"
-
- unset DBUS_SESSION_BUS_ADDRESS
- gnome2_src_configure
-}
-
-src_install() {
- gnome2_src_install
- # Installed for plugins, but they're dlopen()-ed
- # firefox, totem as well as nautilus
- find "${ED}" -name "*.la" -delete || die "remove of la files failed"
-
- # Fix python script shebangs
- python_convert_shebangs 2 "${ED}"/usr/libexec/totem/totem-bugreport.py
-}
-
-pkg_postinst() {
- gnome2_pkg_postinst
- if use python; then
- python_need_rebuild
- python_mod_optimize /usr/$(get_libdir)/totem/plugins
- fi
-
- ewarn
- ewarn "If totem doesn't play some video format, please check your"
- ewarn "USE flags on media-plugins/gst-plugins-meta"
- ewarn
-}
-
-pkg_postrm() {
- gnome2_pkg_postrm
- python_mod_cleanup /usr/$(get_libdir)/totem/plugins
-}
diff --git a/media-video/totem/totem-3.0.1.ebuild b/media-video/totem/totem-3.0.1.ebuild
new file mode 100644
index 000000000000..a070ce6bed39
--- /dev/null
+++ b/media-video/totem/totem-3.0.1.ebuild
@@ -0,0 +1,179 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-3.0.1.ebuild,v 1.1 2011/08/16 22:34:06 nirbheek Exp $
+
+EAPI="3"
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes" # plugins are dlopened
+WANT_AUTOMAKE="1.11"
+PYTHON_DEPEND="python? 2:2.4"
+PYTHON_USE_WITH="threads"
+PYTHON_USE_WITH_OPT="python"
+
+inherit autotools eutils gnome2 multilib python
+
+DESCRIPTION="Media player for GNOME"
+HOMEPAGE="http://projects.gnome.org/totem/"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="bluetooth doc +introspection iplayer lirc nautilus nsplugin +python tracker +youtube vala zeroconf"
+
+# TODO:
+# Cone (VLC) plugin needs someone with the right setup (remi ?)
+# coherence plugin broken upstream
+#
+# FIXME: Automagic tracker-0.9.0
+# XXX: Add Zeitgeist support when it gets added to GNOME 3 (3.2?)
+# Runtime dependency on gnome-session-2.91
+RDEPEND=">=dev-libs/glib-2.27.92:2
+ >=x11-libs/gdk-pixbuf-2.23.0:2
+ >=x11-libs/gtk+-2.99.3:3[introspection?]
+ >=dev-libs/totem-pl-parser-2.32.4[introspection?]
+ >=dev-libs/libpeas-0.7.2[gtk]
+ >=x11-themes/gnome-icon-theme-2.16
+ x11-libs/cairo
+ >=dev-libs/libxml2-2.6:2
+ >=dev-libs/dbus-glib-0.82
+ >=media-libs/gstreamer-0.10.30:0.10
+ >=media-libs/gst-plugins-base-0.10.30:0.10
+
+ media-libs/gst-plugins-good:0.10
+ media-plugins/gst-plugins-taglib:0.10
+ media-plugins/gst-plugins-gio:0.10
+ media-plugins/gst-plugins-pango:0.10
+ media-plugins/gst-plugins-x:0.10
+ media-plugins/gst-plugins-meta:0.10
+
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXtst
+ >=x11-libs/libXrandr-1.1.1
+ >=x11-libs/libXxf86vm-1.0.1
+
+ bluetooth? ( net-wireless/bluez )
+ introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
+ lirc? ( app-misc/lirc )
+ nautilus? ( >=gnome-base/nautilus-2.91.3 )
+ nsplugin? ( >=x11-misc/shared-mime-info-0.22 )
+ python? (
+ >=dev-libs/gobject-introspection-0.6.7
+ >=dev-python/pygobject-2.27.0[introspection]
+ >=x11-libs/gtk+-2.91.7:3[introspection]
+ dev-python/pyxdg
+ dev-python/gst-python:0.10
+ dev-python/dbus-python
+ iplayer? (
+ dev-python/httplib2
+ dev-python/feedparser
+ dev-python/beautifulsoup ) )
+ tracker? ( >=app-misc/tracker-0.9.34 )
+ vala? ( >=dev-lang/vala-0.11.1:0.12 )
+ youtube? (
+ >=dev-libs/libgdata-0.7.0
+ net-libs/libsoup:2.4
+ media-plugins/gst-plugins-soup:0.10
+ >=dev-libs/totem-pl-parser-2.32.4[quvi] )
+ zeroconf? ( >=net-libs/libepc-0.3 )"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ x11-proto/xproto
+ x11-proto/xextproto
+ x11-proto/xf86vidmodeproto
+ app-text/scrollkeeper
+ >=app-text/gnome-doc-utils-0.20.3
+ >=dev-util/intltool-0.40
+ >=dev-util/pkgconfig-0.20
+ app-text/docbook-xml-dtd:4.5
+ gnome-base/gnome-common
+ dev-util/gtk-doc-am
+ doc? ( >=dev-util/gtk-doc-1.14 )"
+# docbook-xml-dtd is needed for user doc
+
+pkg_setup() {
+ # To remove when python eclass supports EAPI=4
+ # see bug #359379
+ if use python && ! use introspection; then
+ eerror "USE=python requires USE=introspection"
+ die "USE=python requires USE=introspection"
+ fi
+
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+ G2CONF="${G2CONF}
+ --disable-maintainer-mode
+ --disable-run-in-source-tree
+ --disable-schemas-compile
+ --disable-scrollkeeper
+ --disable-static
+ --with-dbus
+ --with-smclient
+ --enable-easy-codec-installation
+ $(use_enable introspection)
+ $(use_enable nautilus)
+ $(use_enable nsplugin browser-plugins)
+ $(use_enable python)
+ $(use_enable python introspection)
+ $(use_enable vala)
+ VALAC=$(type -P valac-0.12)
+ BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins"
+
+ # Disabled: coherence_upnp, sample-python, sample-vala, zeitgeist-dp
+ local plugins="brasero-disc-recorder,chapters,im-status,gromit"
+ plugins="${plugins},media-player-keys,ontop,properties,screensaver"
+ plugins="${plugins},screenshot,sidebar-test,skipto,thumbnail"
+ use bluetooth && plugins="${plugins},bemused"
+ use iplayer && plugins="${plugins},iplayer"
+ use lirc && plugins="${plugins},lirc"
+ use nautilus && plugins="${plugins},save-file"
+ use python && plugins="${plugins},dbus-service,jamendo,pythonconsole,opensubtitles"
+ use tracker && plugins="${plugins},tracker"
+ use youtube && plugins="${plugins},youtube"
+ use zeroconf && plugins="${plugins},publish"
+
+ G2CONF="${G2CONF} --with-plugins=${plugins}"
+
+ python_set_active_version 2
+}
+
+src_prepare() {
+ # AC_CONFIG_AUX_DIR_DEFAULT doesn't exist, and eautoreconf/aclocal fails
+ mkdir -p m4
+
+ # Don't check for gconf sinks, causes access violations that we can't fix.
+ # See bug 358755
+ sed -ri -e 's/gconf[a-z]+sink //g' configure* || die "gconf sed failed"
+
+ # Fix broken smclient option passing
+ # FIXME: File a bug for this
+ epatch "${FILESDIR}/${PN}-2.90.0-smclient-target-detection.patch"
+
+ intltoolize --force --copy --automake || die "intltoolize failed"
+ eautoreconf
+
+ # disable pyc compiling
+ mv py-compile py-compile.orig
+ ln -s $(type -P true) py-compile
+
+ gnome2_src_prepare
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ if use python; then
+ python_need_rebuild
+ python_mod_optimize /usr/$(get_libdir)/totem/plugins
+ fi
+
+ ewarn
+ ewarn "If totem doesn't play some video format, please check your"
+ ewarn "USE flags on media-plugins/gst-plugins-meta"
+ ewarn
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_mod_cleanup /usr/$(get_libdir)/totem/plugins
+}