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