Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/totem: totem-2.28.1.ebuild metadata.xml ChangeLog totem-2.24.3.ebuild
Date: Thu, 29 Oct 2009 22:39:47
Message-Id: E1N3dej-0005Zu-Q9@stork.gentoo.org
1 eva 09/10/29 22:39:45
2
3 Modified: metadata.xml ChangeLog
4 Added: totem-2.28.1.ebuild
5 Removed: totem-2.24.3.ebuild
6 Log:
7 New version for GNOME 2.28. Clean up old revision.
8 (Portage version: 2.2_rc46/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.8 media-video/totem/metadata.xml
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/metadata.xml?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/metadata.xml?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/metadata.xml?r1=1.7&r2=1.8
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-video/totem/metadata.xml,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- metadata.xml 1 Apr 2009 09:49:56 -0000 1.7
24 +++ metadata.xml 29 Oct 2009 22:39:44 -0000 1.8
25 @@ -26,5 +26,7 @@
26 <flag name="nautilus">Enable the nautilus extension</flag>
27 <flag name="nvtv">Support for nvtv to use tv in on nvidia cards</flag>
28 <flag name="tracker">Enable the search plugin using app-misc/tracker</flag>
29 + <flag name="iplayer">Enable BBC player support</flag>
30 + <flag name="youtube">Enable youtube plugin</flag>
31 </use>
32 </pkgmetadata>
33
34
35
36 1.259 media-video/totem/ChangeLog
37
38 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?rev=1.259&view=markup
39 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?rev=1.259&content-type=text/plain
40 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?r1=1.258&r2=1.259
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v
45 retrieving revision 1.258
46 retrieving revision 1.259
47 diff -u -r1.258 -r1.259
48 --- ChangeLog 24 Oct 2009 16:56:54 -0000 1.258
49 +++ ChangeLog 29 Oct 2009 22:39:44 -0000 1.259
50 @@ -1,6 +1,12 @@
51 # ChangeLog for media-video/totem
52 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.258 2009/10/24 16:56:54 nixnut Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.259 2009/10/29 22:39:44 eva Exp $
55 +
56 +*totem-2.28.1 (29 Oct 2009)
57 +
58 + 29 Oct 2009; Gilles Dartiguelongue <eva@g.o> -totem-2.24.3.ebuild,
59 + +totem-2.28.1.ebuild, metadata.xml:
60 + New version for GNOME 2.28. Clean up old revision.
61
62 24 Oct 2009; nixnut <nixnut@g.o> totem-2.26.3-r1.ebuild:
63 ppc stable #281427
64
65
66
67 1.1 media-video/totem/totem-2.28.1.ebuild
68
69 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/totem-2.28.1.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/totem-2.28.1.ebuild?rev=1.1&content-type=text/plain
71
72 Index: totem-2.28.1.ebuild
73 ===================================================================
74 # Copyright 1999-2009 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-2.28.1.ebuild,v 1.1 2009/10/29 22:39:44 eva Exp $
77
78 EAPI="2"
79
80 inherit autotools eutils gnome2 multilib python
81
82 DESCRIPTION="Media player for GNOME"
83 HOMEPAGE="http://gnome.org/projects/totem/"
84
85 LICENSE="GPL-2 LGPL-2"
86 SLOT="0"
87 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
88
89 IUSE="bluetooth debug doc galago iplayer lirc nautilus nsplugin python tracker +youtube" #zeroconf
90
91 # TODO:
92 # Cone (VLC) plugin needs someone with the right setup (remi ?)
93 # check gmyth requirement ? -> waiting for updates in tree
94 # coherence plugin not enabled until we have deps in tree
95 RDEPEND=">=dev-libs/glib-2.15
96 >=x11-libs/gtk+-2.16.0
97 >=gnome-base/gconf-2.0
98 >=dev-libs/totem-pl-parser-2.27.0
99 >=x11-themes/gnome-icon-theme-2.16
100 x11-libs/cairo
101 app-text/iso-codes
102 >=dev-libs/libxml2-2.6
103 >=dev-libs/dbus-glib-0.71
104 >=media-libs/gstreamer-0.10.24
105 >=media-libs/gst-plugins-good-0.10
106 >=media-libs/gst-plugins-base-0.10.24
107 >=media-plugins/gst-plugins-gconf-0.10
108
109 >=media-plugins/gst-plugins-taglib-0.10
110 >=media-plugins/gst-plugins-gio-0.10
111 >=media-plugins/gst-plugins-pango-0.10
112 >=media-plugins/gst-plugins-x-0.10
113 >=media-plugins/gst-plugins-meta-0.10-r2
114
115 dev-libs/libunique
116 x11-libs/libSM
117 x11-libs/libX11
118 x11-libs/libXtst
119 >=x11-libs/libXrandr-1.1.1
120 >=x11-libs/libXxf86vm-1.0.1
121
122 bluetooth? ( || (
123 net-wireless/bluez
124 net-wireless/bluez-libs ) )
125 galago? ( >=dev-libs/libgalago-0.5.2 )
126 iplayer? (
127 dev-python/pygobject
128 dev-python/pygtk
129 dev-python/httplib2
130 dev-python/feedparser
131 dev-python/beautifulsoup )
132 lirc? ( app-misc/lirc )
133 nautilus? ( >=gnome-base/nautilus-2.10 )
134 python? (
135 dev-lang/python[threads]
136 >=dev-python/pygtk-2.12
137 dev-python/pyxdg
138 dev-python/gst-python
139 dev-python/dbus-python
140 dev-python/gconf-python )
141 tracker? (
142 >=app-misc/tracker-0.6
143 <app-misc/tracker-0.7 )
144 youtube? (
145 >=dev-libs/libgdata-0.4.0
146 media-plugins/gst-plugins-soup )"
147 # FIXME: freezes totem
148 # zeroconf? ( >=net-libs/libepc-0.3 )
149 DEPEND="${RDEPEND}
150 x11-proto/xproto
151 x11-proto/xextproto
152 x11-proto/xf86vidmodeproto
153 app-text/scrollkeeper
154 gnome-base/gnome-common
155 app-text/gnome-doc-utils
156 >=dev-util/intltool-0.40
157 >=dev-util/pkgconfig-0.20
158 dev-util/gtk-doc-am
159 doc? ( >=dev-util/gtk-doc-1.11 )"
160
161 DOCS="AUTHORS ChangeLog NEWS README TODO"
162
163 # FIXME: tests broken with USE="doc" upstream bug #598805.
164
165 pkg_setup() {
166 # Installed for plugins, but they're dlopen()-ed
167 # firefox, totem as well as nautilus
168 G2PUNT_LA="yes"
169
170 G2CONF="${G2CONF}
171 --disable-scrollkeeper
172 --disable-schemas-install
173 --disable-static
174 --disable-vala
175 --with-dbus
176 --with-smclient
177 --enable-easy-codec-installation
178 $(use_enable nsplugin browser-plugins)"
179
180 # Plugin configuration
181 G2CONF="${G2CONF}
182 BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins
183 PLUGINDIR=/usr/$(get_libdir)/totem/plugins"
184
185 local plugins="properties,thumbnail,screensaver,ontop,gromit,media-player-keys,skipto,brasero-disc-recorder,screenshot"
186 use bluetooth && plugins="${plugins},bemused"
187 use galago && plugins="${plugins},galago"
188 use iplayer && plugins="${plugins},iplayer"
189 use lirc && plugins="${plugins},lirc"
190 use python && plugins="${plugins},opensubtitles,jamendo,pythonconsole,dbus-service"
191 use tracker && plugins="${plugins},tracker"
192 use youtube && plugins="${plugins},youtube"
193 #use zeroconf && plugins="${plugins},publish"
194
195 G2CONF="${G2CONF} --with-plugins=${plugins}"
196
197 G2CONF="${G2CONF}
198 $(use_enable debug)
199 $(use_enable nautilus)
200 $(use_enable python)"
201 }
202
203 src_prepare() {
204 gnome2_src_prepare
205
206 # Fix broken smclient option passing
207 epatch "${FILESDIR}/${PN}-2.26.1-smclient-target-detection.patch"
208
209 intltoolize --force --copy --automake || die "intltoolize failed"
210 eautoreconf
211
212 # disable pyc compiling
213 mv py-compile py-compile.orig
214 ln -s $(type -P true) py-compile
215 }
216
217 src_configure() {
218 # FIXME: why does it need write access here, probably need to set up a fake
219 # home in /var/tmp like other pkgs do
220
221 addpredict "$(unset HOME; echo ~)/.gconf"
222 addpredict "$(unset HOME; echo ~)/.gconfd"
223 addpredict "$(unset HOME; echo ~)/.gnome2"
224
225 gnome2_src_configure
226 }
227
228 src_install() {
229 gnome2_src_install
230 find "${D}" -name "*.la" -delete || die "remove of la files failed"
231 }
232
233 pkg_postinst() {
234 gnome2_pkg_postinst
235 if use python; then
236 python_need_rebuild
237 python_mod_optimize /usr/$(get_libdir)/totem/plugins
238 fi
239
240 ewarn
241 ewarn "If totem doesn't play some video format, please check your"
242 ewarn "USE flags on media-plugins/gst-plugins-meta"
243 ewarn
244 }
245
246 pkg_postrm() {
247 gnome2_pkg_postrm
248 python_mod_cleanup /usr/$(get_libdir)/totem/plugins
249 }