From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: media-video/totem/
Date: Mon, 24 Dec 2012 12:46:29 +0000 (UTC) [thread overview]
Message-ID: <1356353165.d14446bf19c4b06f73fd2c98e035de3efcfa959c.eva@gentoo> (raw)
commit: d14446bf19c4b06f73fd2c98e035de3efcfa959c
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 24 12:46:05 2012 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Mon Dec 24 12:46:05 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=d14446bf
media-video/totem: moved to gx86
* Sync live ebuild with gx86 changes.
* USE=introspection is now global.
---
media-video/totem/metadata.xml | 4 +-
media-video/totem/totem-3.6.3.ebuild | 188 ----------------------------------
media-video/totem/totem-9999.ebuild | 81 +++++----------
3 files changed, 30 insertions(+), 243 deletions(-)
diff --git a/media-video/totem/metadata.xml b/media-video/totem/metadata.xml
index 509d84e..fa17f24 100644
--- a/media-video/totem/metadata.xml
+++ b/media-video/totem/metadata.xml
@@ -6,14 +6,12 @@
<herd>gstreamer</herd>
<longdescription>
Totem is movie player for the GNOME desktop. It features a playlist, fullscreen mode, seek and volume controls, as well as a pretty complete keyboard navigation. It comes with added functionality such as a video thumbnailer for Nautilus, Nautilus properties tab and a webcam utility.
-</longdescription>
+ </longdescription>
<use>
<flag name="flash">Install browser plugin for playing embedded Adobe Flash
videos. Warning: breaks non-video Flash objects on many websites.</flag>
<flag name="grilo">Use <pkg>media-libs/grilo</pkg> to browse media content
from various sources</flag>
- <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
- for introspection</flag>
<flag name="lirc">Enable support for controlling Totem with a remote control
using <pkg>app-misc/lirc</pkg></flag>
<flag name="nautilus">Enable the nautilus extension</flag>
diff --git a/media-video/totem/totem-3.6.3.ebuild b/media-video/totem/totem-3.6.3.ebuild
deleted file mode 100644
index 8035880..0000000
--- a/media-video/totem/totem-3.6.3.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-GCONF_DEBUG="yes"
-GNOME2_LA_PUNT="yes" # plugins are dlopened
-
-PYTHON_DEPEND="python? 2:2.5"
-PYTHON_USE_WITH="threads"
-PYTHON_USE_WITH_OPT="python"
-
-inherit gnome2 multilib python
-if [[ ${PV} = 9999 ]]; then
- VALA_MIN_API_VERSION="0.14"
- inherit gnome2-live vala
-fi
-
-DESCRIPTION="Media player for GNOME"
-HOMEPAGE="http://projects.gnome.org/totem/"
-
-LICENSE="GPL-2+ LGPL-2+"
-SLOT="0"
-IUSE="doc flash grilo +introspection lirc nautilus nsplugin +python test zeitgeist"
-# see bug #359379
-REQUIRED_USE="flash? ( nsplugin )
- python? ( introspection )
- zeitgeist? ( introspection )"
-
-if [[ ${PV} = 9999 ]]; then
- IUSE+=" vala"
- REQUIRED_USE+=" zeitgeist? ( vala )"
- KEYWORDS=""
-else
- KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-fi
-
-# TODO:
-# Cone (VLC) plugin needs someone with the right setup (remi ?)
-# coherence plugin broken upstream
-#
-# FIXME: Automagic tracker-0.9.0
-# Runtime dependency on gnome-session-2.91
-# FIXME: does not exist yet: media-plugins/gst-plugins-meta:1.0
-RDEPEND="
- >=dev-libs/glib-2.33:2
- >=x11-libs/gdk-pixbuf-2.23.0:2
- >=x11-libs/gtk+-3.5.2:3[introspection?]
- >=dev-libs/totem-pl-parser-2.32.4[introspection?]
- >=dev-libs/libpeas-1.1.0[gtk]
- >=x11-themes/gnome-icon-theme-2.16
- x11-libs/cairo
- >=dev-libs/libxml2-2.6:2
- >=media-libs/clutter-1.6.8:1.0
- >=media-libs/clutter-gst-1.5.5:2.0
- >=media-libs/clutter-gtk-1.0.2:1.0
- x11-libs/mx:1.0
-
- media-libs/gstreamer:1.0
- media-libs/gst-plugins-base:1.0[X,introspection?,pango]
- media-libs/gst-plugins-bad:1.0
- media-libs/gst-plugins-good:1.0
- media-plugins/gst-plugins-taglib:1.0
-
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- >=x11-libs/libXxf86vm-1.0.1
-
- gnome-base/gsettings-desktop-schemas
- x11-themes/gnome-icon-theme-symbolic
-
- flash? ( dev-libs/totem-pl-parser[quvi] )
- grilo? ( media-libs/grilo:0.2 )
- introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
- lirc? ( app-misc/lirc )
- nautilus? ( >=gnome-base/nautilus-2.91.3 )
- nsplugin? (
- >=dev-libs/dbus-glib-0.82
- >=x11-misc/shared-mime-info-0.22 )
- python? (
- >=dev-libs/gobject-introspection-0.6.7
- >=dev-python/pygobject-2.90.3:3
- >=x11-libs/gtk+-2.91.7:3[introspection]
- dev-python/pyxdg
- dev-python/dbus-python )
- zeitgeist? ( dev-libs/libzeitgeist )
-"
-DEPEND="${RDEPEND}
- app-text/docbook-xml-dtd:4.5
- >=app-text/gnome-doc-utils-0.20.3
- app-text/scrollkeeper
- >=dev-util/intltool-0.40
- >=dev-util/gtk-doc-am-1.14
- sys-devel/gettext
- x11-proto/xextproto
- x11-proto/xproto
- virtual/pkgconfig
- test? ( python? ( dev-python/pylint ) )
-"
-# docbook-xml-dtd is needed for user do
-# Only needed when regenerating C sources from Vala files
-[[ ${PV} = 9999 ]] && DEPEND+=" vala? ( $(vala_depend) )"
-
-# XXX: pylint checks fail because of bad code
-RESTRICT="test"
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- use python && python_clean_py-compile_files
- if [[ ${PV} = 9999 ]]; then
- # Only needed when regenerating C sources from Vala files
- use vala && vala_src_prepare
- fi
- gnome2_src_prepare
-}
-
-src_configure() {
- DOCS="AUTHORS ChangeLog NEWS README TODO"
- use nsplugin && DOCS="${DOCS} browser-plugin/README.browser-plugin"
- G2CONF="${G2CONF}
- --disable-run-in-source-tree
- --disable-schemas-compile
- --disable-static
- --with-smclient=auto
- --enable-easy-codec-installation
- $(use_enable flash vegas-plugin)
- $(use_enable introspection)
- $(use_enable nautilus)
- $(use_enable nsplugin browser-plugins)
- $(use_enable python)
- BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins"
-
- if ! use test; then
- # pylint is checked unconditionally, but is only used for make check
- G2CONF="${G2CONF} PYLINT=$(type -P true)"
- fi
- #--with-smclient=auto needed to correctly link to libICE and libSM
-
- # Disabled: sample-python, sample-vala
- # apple-trailers, autoload-subtitles, recent
- local plugins="apple-trailers,autoload-subtitles,brasero-disc-recorder"
- plugins+=",chapters,im-status,gromit,media-player-keys,ontop"
- plugins+=",properties,recent,screensaver,screenshot,sidebar-test"
- plugins+=",skipto"
- use grilo && plugins+=",grilo"
- use lirc && plugins+=",lirc"
- use nautilus && plugins+=",save-file"
- use python && plugins+=",dbusservice,pythonconsole,opensubtitles"
- if [[ ${PV} = 9999 ]]; then
- # Only needed when regenerating C sources from Vala files
- G2CONF="${G2CONF} $(use_enable vala)"
- use vala && plugins+=",rotation"
- else
- G2CONF="${G2CONF} --enable-vala VALAC=$(type -P true)"
- plugins+=",rotation"
- fi
- use zeitgeist && plugins+=",zeitgeist-dp"
-
- G2CONF="${G2CONF} --with-plugins=${plugins}"
-
- # Work around sandbox violations when FEATURES=-userpriv caused by
- # gst-inspect-0.10 (bug #358755)
- unset DISPLAY
- gnome2_src_configure
-}
-
-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
- use python && python_mod_cleanup /usr/$(get_libdir)/totem/plugins
-}
diff --git a/media-video/totem/totem-9999.ebuild b/media-video/totem/totem-9999.ebuild
index 9fc75a3..edea640 100644
--- a/media-video/totem/totem-9999.ebuild
+++ b/media-video/totem/totem-9999.ebuild
@@ -2,15 +2,13 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="4"
+EAPI="5"
GCONF_DEBUG="yes"
GNOME2_LA_PUNT="yes" # plugins are dlopened
+PYTHON_COMPAT=( python2_{6,7} )
+PYTHON_REQ_USE="threads"
-PYTHON_DEPEND="python? 2:2.5"
-PYTHON_USE_WITH="threads"
-PYTHON_USE_WITH_OPT="python"
-
-inherit gnome2 multilib python
+inherit gnome2 multilib python-single-r1
if [[ ${PV} = 9999 ]]; then
VALA_MIN_API_VERSION="0.14"
inherit gnome2-live vala
@@ -21,14 +19,14 @@ HOMEPAGE="http://projects.gnome.org/totem/"
LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
-IUSE="doc flash grilo +introspection lirc nautilus nsplugin +python test zeitgeist"
+IUSE="flash grilo +introspection lirc nautilus nsplugin +python test zeitgeist"
# see bug #359379
REQUIRED_USE="flash? ( nsplugin )
python? ( introspection )
zeitgeist? ( introspection )"
if [[ ${PV} = 9999 ]]; then
- IUSE+=" vala"
+ IUSE+=" doc vala"
REQUIRED_USE+=" zeitgeist? ( vala )"
KEYWORDS=""
else
@@ -36,12 +34,11 @@ else
fi
# TODO:
-# Cone (VLC) plugin needs someone with the right setup (remi ?)
-# coherence plugin broken upstream
+# Cone (VLC) plugin needs someone with the right setup to test it
#
-# FIXME: Automagic tracker-0.9.0
+# FIXME:
+# Automagic tracker-0.9.0
# Runtime dependency on gnome-session-2.91
-# FIXME: does not exist yet: media-plugins/gst-plugins-meta:1.0
RDEPEND="
>=dev-libs/glib-2.33:2
>=x11-libs/gdk-pixbuf-2.23.0:2
@@ -58,9 +55,10 @@ RDEPEND="
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0[X,introspection?,pango]
- media-libs/gst-plugins-bad:1.0
+ >=media-libs/gst-plugins-bad-1.0.2:1.0
media-libs/gst-plugins-good:1.0
media-plugins/gst-plugins-taglib:1.0
+ media-plugins/gst-plugins-meta:1.0
x11-libs/libICE
x11-libs/libSM
@@ -79,47 +77,36 @@ RDEPEND="
>=dev-libs/dbus-glib-0.82
>=x11-misc/shared-mime-info-0.22 )
python? (
- >=dev-libs/gobject-introspection-0.6.7
- >=dev-python/pygobject-2.90.3:3
- >=x11-libs/gtk+-2.91.7:3[introspection]
- dev-python/pyxdg
- dev-python/dbus-python )
+ ${PYTHON_DEPS}
+ >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ >=x11-libs/gtk+-2.91.7:3[introspection] )
zeitgeist? ( dev-libs/libzeitgeist )
"
DEPEND="${RDEPEND}
app-text/docbook-xml-dtd:4.5
>=app-text/gnome-doc-utils-0.20.3
app-text/scrollkeeper
- >=dev-util/intltool-0.40
>=dev-util/gtk-doc-am-1.14
+ >=dev-util/intltool-0.40
sys-devel/gettext
x11-proto/xextproto
x11-proto/xproto
virtual/pkgconfig
test? ( python? ( dev-python/pylint ) )
"
-# docbook-xml-dtd is needed for user do
+# docbook-xml-dtd is needed for user doc
# Only needed when regenerating C sources from Vala files
-[[ ${PV} = 9999 ]] && DEPEND+=" vala? ( $(vala_depend) )"
-
-# XXX: pylint checks fail because of bad code
-RESTRICT="test"
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
+if [[ ${PV} = 9999 ]]; then
+ DEPEND+=" vala? ( $(vala_depend) )
+ doc? ( >=dev-util/gtk-doc-1.14 )"
+fi
src_prepare() {
# AC_CONFIG_AUX_DIR_DEFAULT doesn't exist, and eautoreconf/aclocal fails
mkdir -p m4
- #if [[ ${PV} != 9999 ]]; then
- # intltoolize --force --copy --automake || die "intltoolize failed"
- # eautoreconf
- #fi
-
- use python && python_clean_py-compile_files
if [[ ${PV} = 9999 ]]; then
# Only needed when regenerating C sources from Vala files
use vala && vala_src_prepare
@@ -130,9 +117,10 @@ src_prepare() {
src_configure() {
DOCS="AUTHORS ChangeLog NEWS README TODO"
use nsplugin && DOCS="${DOCS} browser-plugin/README.browser-plugin"
+
+ #--with-smclient=auto needed to correctly link to libICE and libSM
G2CONF="${G2CONF}
--disable-run-in-source-tree
- --disable-schemas-compile
--disable-static
--with-smclient=auto
--enable-easy-codec-installation
@@ -143,14 +131,12 @@ src_configure() {
$(use_enable python)
BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins"
- if ! use test; then
- # pylint is checked unconditionally, but is only used for make check
- G2CONF="${G2CONF} PYLINT=$(type -P true)"
- fi
- #--with-smclient=auto needed to correctly link to libICE and libSM
+ # XXX: always set to true otherwise tests fails due to pylint not
+ # respecting EPYTHON (wait for python-r1)
+ # pylint is checked unconditionally, but is only used for make check
+ G2CONF="${G2CONF} PYLINT=$(type -P true)"
# Disabled: sample-python, sample-vala
- # apple-trailers, autoload-subtitles, recent
local plugins="apple-trailers,autoload-subtitles,brasero-disc-recorder"
plugins+=",chapters,im-status,gromit,media-player-keys,ontop"
plugins+=",properties,recent,screensaver,screenshot,sidebar-test"
@@ -172,25 +158,16 @@ src_configure() {
G2CONF="${G2CONF} --with-plugins=${plugins}"
# Work around sandbox violations when FEATURES=-userpriv caused by
- # gst-inspect-0.10 (bug #358755)
+ # gst-inspect-1.0(bug #358755)
unset DISPLAY
gnome2_src_configure
}
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
- use python && python_mod_cleanup /usr/$(get_libdir)/totem/plugins
-}
next reply other threads:[~2012-12-24 12:46 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-24 12:46 Gilles Dartiguelongue [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-02-16 23:03 [gentoo-commits] proj/gnome:master commit in: media-video/totem/ Mart Raudsepp
2018-06-07 22:23 Gilles Dartiguelongue
2018-06-07 22:21 Gilles Dartiguelongue
2018-01-12 14:23 Dennis Lamm
2016-03-27 21:24 Ole Reifschneider
2015-06-10 10:37 Gilles Dartiguelongue
2015-05-14 22:50 Gilles Dartiguelongue
2014-12-26 21:53 Gilles Dartiguelongue
2014-12-01 14:02 Michał Górny
2014-11-23 19:37 Gilles Dartiguelongue
2014-04-20 18:17 Gilles Dartiguelongue
2013-12-12 23:20 Gilles Dartiguelongue
2013-11-28 23:50 Gilles Dartiguelongue
2013-11-14 22:52 Gilles Dartiguelongue
2012-11-09 4:46 Arun Raghavan
2012-11-09 4:20 Arun Raghavan
2012-11-02 0:13 Gilles Dartiguelongue
2012-09-10 17:19 Alexandre Rostovtsev
2012-05-24 9:12 Alexandre Restovtsev
2012-04-10 21:25 Alexandre Restovtsev
2012-04-09 5:48 Alexandre Restovtsev
2012-04-08 16:06 Alexandre Restovtsev
2012-04-02 9:49 Alexandre Restovtsev
2012-04-02 9:45 Alexandre Restovtsev
2012-03-26 8:20 Nirbheek Chauhan
2011-11-03 6:13 Alexandre Restovtsev
2011-10-18 7:37 Alexandre Restovtsev
2011-05-08 18:02 Gilles Dartiguelongue
2011-05-03 16:20 Nirbheek Chauhan
2011-04-27 22:22 Gilles Dartiguelongue
2011-04-10 18:04 Gilles Dartiguelongue
2011-04-05 0:57 Nirbheek Chauhan
2011-03-29 8:35 Nirbheek Chauhan
2011-03-27 4:02 Nirbheek Chauhan
2011-03-22 1:18 Nirbheek Chauhan
2011-03-12 1:15 Nirbheek Chauhan
2011-03-12 1:15 Nirbheek Chauhan
2011-02-21 22:35 Nirbheek Chauhan
2011-02-08 9:25 Nirbheek Chauhan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1356353165.d14446bf19c4b06f73fd2c98e035de3efcfa959c.eva@gentoo \
--to=eva@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox