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: ChangeLog totem-2.20.3.ebuild
Date: Wed, 09 Jan 2008 21:13:16
Message-Id: E1JCiEb-0002V8-4V@stork.gentoo.org
1 eva 08/01/09 21:13:13
2
3 Modified: ChangeLog
4 Added: totem-2.20.3.ebuild
5 Log:
6 bump to 2.20.3
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.198 media-video/totem/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?rev=1.198&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?rev=1.198&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?r1=1.197&r2=1.198
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v
19 retrieving revision 1.197
20 retrieving revision 1.198
21 diff -u -r1.197 -r1.198
22 --- ChangeLog 16 Dec 2007 04:35:52 -0000 1.197
23 +++ ChangeLog 9 Jan 2008 21:13:12 -0000 1.198
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-video/totem
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.197 2007/12/16 04:35:52 compnerd Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.198 2008/01/09 21:13:12 eva Exp $
30 +
31 +*totem-2.20.3 (09 Jan 2008)
32 +
33 + 09 Jan 2008; Gilles Dartiguelongue <eva@g.o> +totem-2.20.3.ebuild:
34 + bump to 2.20.3
35
36 16 Dec 2007; Saleem Abdulrasool <compnerd@g.o>
37 +files/totem-2.20.1-startup-notification.patch,
38
39
40
41 1.1 media-video/totem/totem-2.20.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/totem-2.20.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/totem-2.20.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: totem-2.20.3.ebuild
47 ===================================================================
48 # Copyright 1999-2008 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.20.3.ebuild,v 1.1 2008/01/09 21:13:12 eva Exp $
51
52 inherit autotools eutils gnome2 multilib
53
54 DESCRIPTION="Media player for GNOME"
55 HOMEPAGE="http://gnome.org/projects/totem/"
56
57 LICENSE="GPL-2 LGPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
60
61 # No 0.10.0 release for gst-plugins-pitdfdll yet
62 # IUSE="win32codecs"
63
64 IUSE="a52 bluetooth debug dvd ffmpeg flac galago gnome hal lirc mad mpeg nsplugin nvtv ogg python seamonkey theora vorbis xulrunner xv"
65
66 RDEPEND=">=dev-libs/glib-2.13.4
67 >=x11-libs/gtk+-2.12.1
68 >=gnome-base/gconf-2.0
69 >=gnome-base/libglade-2.0
70 >=gnome-base/gnome-vfs-2.16
71 >=x11-themes/gnome-icon-theme-2.16
72 >=x11-libs/startup-notification-0.8
73 app-text/iso-codes
74 dev-libs/libxml2
75 >=dev-libs/dbus-glib-0.71
76 >=media-libs/gstreamer-0.10.12
77 >=media-libs/gst-plugins-good-0.10
78 >=media-libs/gst-plugins-base-0.10.12
79 >=media-plugins/gst-plugins-pango-0.10
80 >=media-plugins/gst-plugins-gconf-0.10
81 >=media-plugins/gst-plugins-gnomevfs-0.10
82
83 x11-libs/libX11
84 x11-libs/libXtst
85 >=x11-libs/libXrandr-1.1.1
86 >=x11-libs/libXxf86vm-1.0.1
87
88 bluetooth? ( net-wireless/bluez-libs )
89 galago? ( >=dev-libs/libgalago-0.5.2 )
90 gnome? (
91 >=gnome-base/libgnome-2.14
92 >=gnome-base/libgnomeui-2.4
93 >=gnome-base/gnome-desktop-2.2
94 >=gnome-base/nautilus-2.10
95 >=gnome-base/control-center-2.18
96 )
97 hal? ( =sys-apps/hal-0.5* )
98 lirc? ( app-misc/lirc )
99 nsplugin? (
100 || (
101 xulrunner? ( net-libs/xulrunner )
102 seamonkey? ( www-client/seamonkey )
103 www-client/mozilla-firefox
104 )
105 >=x11-misc/shared-mime-info-0.22
106 >=x11-libs/startup-notification-0.8
107 )
108 python? ( >=dev-python/pygtk-2.8 )
109 nvtv? ( >=media-tv/nvtv-0.4.5 )
110
111 a52? ( >=media-plugins/gst-plugins-a52dec-0.10 )
112 !sparc? ( dvd? (
113 >=media-libs/gst-plugins-ugly-0.10
114 >=media-plugins/gst-plugins-a52dec-0.10
115 >=media-plugins/gst-plugins-dvdread-0.10
116 >=media-plugins/gst-plugins-mpeg2dec-0.10
117 )
118 )
119 !sparc? ( ffmpeg? ( >=media-plugins/gst-plugins-ffmpeg-0.10 ) )
120 flac? ( >=media-plugins/gst-plugins-flac-0.10 )
121 mad? ( >=media-plugins/gst-plugins-mad-0.10 )
122 !sparc? ( mpeg? ( >=media-plugins/gst-plugins-mpeg2dec-0.10 ) )
123 ogg? ( >=media-plugins/gst-plugins-ogg-0.10 )
124 theora? (
125 >=media-plugins/gst-plugins-ogg-0.10
126 >=media-plugins/gst-plugins-theora-0.10
127 )
128 vorbis? (
129 >=media-plugins/gst-plugins-ogg-0.10
130 >=media-plugins/gst-plugins-vorbis-0.10
131 )
132 xv? ( >=media-plugins/gst-plugins-xvideo-0.10 )
133 >=media-plugins/gst-plugins-x-0.10"
134
135 # this belongs above xv? above.
136 # win32codecs? ( >=media-plugins/gst-plugins-pitfdll-0.10 )
137
138 DEPEND="${RDEPEND}
139 x11-proto/xproto
140 x11-proto/inputproto
141 app-text/scrollkeeper
142 gnome-base/gnome-common
143 app-text/gnome-doc-utils
144 >=dev-util/intltool-0.35
145 >=dev-util/pkgconfig-0.20"
146
147 DOCS="AUTHORS ChangeLog NEWS README TODO"
148
149 pkg_setup() {
150 # use global mozilla plugin dir
151 G2CONF="${G2CONF} MOZILLA_PLUGINDIR=/usr/$(get_libdir)/nsbrowser/plugins"
152
153 G2CONF="${G2CONF} --disable-vala --disable-vanity --enable-gstreamer --with-dbus"
154
155 if use gnome ; then
156 G2CONF="${G2CONF} --disable-gtk --enable-nautilus"
157 else
158 G2CONF="${G2CONF} --enable-gtk --disable-nautilus"
159 fi
160
161 if use nsplugin ; then
162 G2CONF="${G2CONF} --enable-browser-plugins"
163 if use xulrunner ; then
164 G2CONF="${G2CONF} --with-gecko=xulrunner"
165 elif use seamonkey ; then
166 G2CONF="${G2CONF} --with-gecko=seamonkey"
167 else
168 G2CONF="${G2CONF} --with-gecko=firefox"
169 fi
170 else
171 G2CONF="${G2CONF} --disable-browser-plugins"
172 fi
173
174 # Plugin Configuration
175 G2CONF="${G2CONF} PLUGINDIR=/usr/$(get_libdir)/totem/plugins"
176 local plugins="screensaver,ontop,gromit,skipto"
177 use bluetooth && plugins="${plugins},bemused"
178 use galago && plugins="${plugins},galago"
179 use gnome && plugins="${plugins},media-player-keys,properties"
180 use lirc && plugins="${plugins},lirc"
181
182 G2CONF="${G2CONF} --with-plugins=${plugins}"
183
184 G2CONF="${G2CONF} \
185 $(use_enable debug) \
186 $(use_with hal) \
187 $(use_enable lirc) \
188 $(use_enable nvtv) \
189 $(use_enable python)"
190 }
191
192 src_unpack() {
193 gnome2_src_unpack
194
195 if use nsplugin ; then
196 epatch "${FILESDIR}/${PN}-2.20.1-startup-notification.patch"
197 if ! use xulrunner && ! use seamonkey ; then
198 epatch "${FILESDIR}/${PN}-2.20.1-xpcom-hack.patch"
199 fi
200 eautoreconf
201 fi
202
203 sed -i -e 's:mozilla/plugins:nsbrowser/plugins:' browser-plugin/Makefile* || die "sed failed"
204
205 sed -i -e 's:.totem-plugin.desktop.in:.totem-plugin.in:' \
206 src/plugins/{galago,lirc,media-player-keys,ontop,screensaver}/Makefile* \
207 || die "sed failed"
208
209 }
210
211 src_compile() {
212 #fixme: why does it need write access here, probably need to set up a fake
213 #home in /var/tmp like other pkgs do
214
215 addpredict "/root/.gconfd"
216 addpredict "/root/.gconf"
217 addpredict "/root/.gnome2"
218
219 gnome2_src_compile
220 }
221
222
223
224 --
225 gentoo-commits@l.g.o mailing list