1 |
nirbheek 09/12/30 01:25:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: totem-2.26.5-r1.ebuild |
5 |
Log: |
6 |
Fix playing of apple trailers using the firefox plugin, bug 292852 |
7 |
(Portage version: 2.1.7.16/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.269 media-video/totem/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?rev=1.269&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?rev=1.269&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?r1=1.268&r2=1.269 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v |
19 |
retrieving revision 1.268 |
20 |
retrieving revision 1.269 |
21 |
diff -u -r1.268 -r1.269 |
22 |
--- ChangeLog 23 Dec 2009 10:21:59 -0000 1.268 |
23 |
+++ ChangeLog 30 Dec 2009 01:25:30 -0000 1.269 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for media-video/totem |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.268 2009/12/23 10:21:59 mrpouet Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.269 2009/12/30 01:25:30 nirbheek Exp $ |
29 |
+ |
30 |
+*totem-2.26.5-r1 (30 Dec 2009) |
31 |
+ |
32 |
+ 30 Dec 2009; Nirbheek Chauhan <nirbheek@g.o> |
33 |
+ +totem-2.26.5-r1.ebuild, |
34 |
+ +files/totem-2.26.5-firefox-plugin-apple-trailers.patch: |
35 |
+ Fix playing of apple trailers using the firefox plugin, bug 292852 |
36 |
|
37 |
*totem-2.28.5 (23 Dec 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 media-video/totem/totem-2.26.5-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/totem-2.26.5-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/totem-2.26.5-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: totem-2.26.5-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-2.26.5-r1.ebuild,v 1.1 2009/12/30 01:25:30 nirbheek Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit autotools eutils gnome2 multilib python |
56 |
|
57 |
DESCRIPTION="Media player for GNOME" |
58 |
HOMEPAGE="http://gnome.org/projects/totem/" |
59 |
|
60 |
LICENSE="GPL-2 LGPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
63 |
|
64 |
IUSE="bluetooth debug doc galago lirc nautilus nsplugin python tracker" |
65 |
|
66 |
# TODO: |
67 |
# easy-publish-and-consume is not in tree (epc) |
68 |
# Cone (VLC) plugin needs someone with the right setup (remi ?) |
69 |
# check gmyth requirement ? -> waiting for updates in tree |
70 |
# coherence plugin not enabled until we have deps in tree |
71 |
|
72 |
# youtube plugin depends on gst-plugins-soup |
73 |
RDEPEND=">=dev-libs/glib-2.15 |
74 |
>=x11-libs/gtk+-2.13.0 |
75 |
>=gnome-base/gconf-2.0 |
76 |
>=dev-libs/totem-pl-parser-2.23.91 |
77 |
>=x11-themes/gnome-icon-theme-2.16 |
78 |
x11-libs/cairo |
79 |
app-text/iso-codes |
80 |
>=dev-libs/libxml2-2.6 |
81 |
>=dev-libs/dbus-glib-0.71 |
82 |
>=media-libs/gstreamer-0.10.16 |
83 |
>=media-libs/gst-plugins-good-0.10 |
84 |
>=media-libs/gst-plugins-base-0.10.12 |
85 |
>=media-plugins/gst-plugins-gconf-0.10 |
86 |
|
87 |
>=media-plugins/gst-plugins-gio-0.10 |
88 |
>=media-plugins/gst-plugins-pango-0.10 |
89 |
>=media-plugins/gst-plugins-x-0.10 |
90 |
>=media-plugins/gst-plugins-meta-0.10-r2 |
91 |
|
92 |
x11-libs/libSM |
93 |
x11-libs/libX11 |
94 |
x11-libs/libXtst |
95 |
>=x11-libs/libXrandr-1.1.1 |
96 |
>=x11-libs/libXxf86vm-1.0.1 |
97 |
|
98 |
bluetooth? ( || ( |
99 |
net-wireless/bluez |
100 |
net-wireless/bluez-libs ) ) |
101 |
galago? ( >=dev-libs/libgalago-0.5.2 ) |
102 |
lirc? ( app-misc/lirc ) |
103 |
nautilus? ( >=gnome-base/nautilus-2.10 ) |
104 |
python? ( |
105 |
dev-lang/python[threads] |
106 |
>=dev-python/pygtk-2.12 |
107 |
dev-python/pyxdg |
108 |
dev-python/gdata |
109 |
dev-python/gst-python |
110 |
dev-python/gconf-python |
111 |
media-plugins/gst-plugins-soup ) |
112 |
tracker? ( >=app-misc/tracker-0.5.3 )" |
113 |
DEPEND="${RDEPEND} |
114 |
x11-proto/xproto |
115 |
x11-proto/xextproto |
116 |
x11-proto/xf86vidmodeproto |
117 |
app-text/scrollkeeper |
118 |
gnome-base/gnome-common |
119 |
app-text/gnome-doc-utils |
120 |
>=dev-util/intltool-0.40 |
121 |
>=dev-util/pkgconfig-0.20 |
122 |
dev-util/gtk-doc-am |
123 |
doc? ( >=dev-util/gtk-doc-1.11 )" |
124 |
|
125 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
126 |
|
127 |
# FIXME: tests broken with USE="-doc" upstream bug #577774 |
128 |
RESTRICT="test" |
129 |
|
130 |
pkg_setup() { |
131 |
G2CONF="${G2CONF} |
132 |
--disable-scrollkeeper |
133 |
--disable-schemas-install |
134 |
--disable-static |
135 |
--disable-vala |
136 |
--with-dbus |
137 |
--with-smclient |
138 |
--enable-easy-codec-installation |
139 |
$(use_enable nsplugin browser-plugins)" |
140 |
|
141 |
# Plugin configuration |
142 |
G2CONF="${G2CONF} |
143 |
BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins |
144 |
PLUGINDIR=/usr/$(get_libdir)/totem/plugins" |
145 |
|
146 |
local plugins="properties,thumbnail,screensaver,ontop,gromit,media-player-keys,skipto,brasero-disc-recorder,screenshot" |
147 |
use bluetooth && plugins="${plugins},bemused" |
148 |
use galago && plugins="${plugins},galago" |
149 |
use lirc && plugins="${plugins},lirc" |
150 |
use python && plugins="${plugins},youtube,opensubtitles,jamendo,pythonconsole" |
151 |
use tracker && plugins="${plugins},tracker" |
152 |
|
153 |
G2CONF="${G2CONF} --with-plugins=${plugins}" |
154 |
|
155 |
G2CONF="${G2CONF} |
156 |
$(use_enable debug) |
157 |
$(use_enable nautilus) |
158 |
$(use_enable python)" |
159 |
} |
160 |
|
161 |
src_prepare() { |
162 |
gnome2_src_prepare |
163 |
|
164 |
# Fix broken smclient option passing |
165 |
epatch "${FILESDIR}/${PN}-2.26.1-smclient-target-detection.patch" |
166 |
|
167 |
# YouTube plugin broken, when we try to load some videos, bug #292839 |
168 |
epatch "${FILESDIR}/${PN}-2.26.4-youtube-plug-play-vids.patch" |
169 |
|
170 |
# Fix playing of Apple trailers using firefox plugin, bug 292852 |
171 |
epatch "${FILESDIR}/${P}-firefox-plugin-apple-trailers.patch" |
172 |
|
173 |
# FIXME: tarball generated with broken gtk-doc, revisit me. |
174 |
if use doc; then |
175 |
sed "/^TARGET_DIR/i \GTKDOC_REBASE=/usr/bin/gtkdoc-rebase" \ |
176 |
-i gtk-doc.make || die "sed 1 failed" |
177 |
else |
178 |
sed "/^TARGET_DIR/i \GTKDOC_REBASE=$(type -P true)" \ |
179 |
-i gtk-doc.make || die "sed 2 failed" |
180 |
fi |
181 |
|
182 |
intltoolize --force --copy --automake || die "intltoolize failed" |
183 |
eautoreconf |
184 |
|
185 |
# disable pyc compiling |
186 |
mv py-compile py-compile.orig |
187 |
ln -s $(type -P true) py-compile |
188 |
} |
189 |
|
190 |
src_configure() { |
191 |
# FIXME: why does it need write access here, probably need to set up a fake |
192 |
# home in /var/tmp like other pkgs do |
193 |
|
194 |
addpredict "$(unset HOME; echo ~)/.gconf" |
195 |
addpredict "$(unset HOME; echo ~)/.gconfd" |
196 |
addpredict "$(unset HOME; echo ~)/.gnome2" |
197 |
|
198 |
gnome2_src_configure |
199 |
} |
200 |
|
201 |
pkg_postinst() { |
202 |
gnome2_pkg_postinst |
203 |
if use python; then |
204 |
python_need_rebuild |
205 |
python_mod_optimize /usr/$(get_libdir)/totem/plugins |
206 |
fi |
207 |
|
208 |
ewarn |
209 |
ewarn "If totem doesn't play some video format, please check your" |
210 |
ewarn "USE flags on media-plugins/gst-plugins-meta" |
211 |
ewarn |
212 |
} |
213 |
|
214 |
pkg_postrm() { |
215 |
gnome2_pkg_postrm |
216 |
python_mod_cleanup /usr/$(get_libdir)/totem/plugins |
217 |
} |