Gentoo Archives: gentoo-commits

From: "Remi Cardona (remi)" <remi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/totem: ChangeLog totem-2.22.2-r1.ebuild
Date: Fri, 09 May 2008 17:09:36
Message-Id: E1JuW6A-00031u-4r@stork.gentoo.org
1 remi 08/05/09 17:09:34
2
3 Modified: ChangeLog
4 Added: totem-2.22.2-r1.ebuild
5 Log:
6 media-video/totem: Add a patch for python detection (and libtool 2.2) and clean up the ebuild
7 (Portage version: 2.1.5_rc7)
8
9 Revision Changes Path
10 1.215 media-video/totem/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?rev=1.215&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?rev=1.215&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?r1=1.214&r2=1.215
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v
19 retrieving revision 1.214
20 retrieving revision 1.215
21 diff -u -r1.214 -r1.215
22 --- ChangeLog 1 May 2008 13:48:06 -0000 1.214
23 +++ ChangeLog 9 May 2008 17:09:33 -0000 1.215
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-video/totem
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.214 2008/05/01 13:48:06 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.215 2008/05/09 17:09:33 remi Exp $
29 +
30 +*totem-2.22.2-r1 (09 May 2008)
31 +
32 + 09 May 2008; RĂ©mi Cardona <remi@g.o>
33 + +files/totem-2.22.2-fix-python-and-libtool-2.2.patch,
34 + +totem-2.22.2-r1.ebuild:
35 + Add a patch for python detection (and libtool 2.2) and clean up the ebuild
36
37 *totem-2.22.2 (01 May 2008)
38
39
40
41
42 1.1 media-video/totem/totem-2.22.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/totem-2.22.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/totem-2.22.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: totem-2.22.2-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2008 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.22.2-r1.ebuild,v 1.1 2008/05/09 17:09:33 remi Exp $
52
53 inherit autotools eutils gnome2 multilib
54
55 DESCRIPTION="Media player for GNOME"
56 HOMEPAGE="http://gnome.org/projects/totem/"
57
58 LICENSE="GPL-2 LGPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64 ~sparc ~x86"
61
62 IUSE="bluetooth debug galago gnome lirc nautilus nsplugin nvtv python seamonkey tracker xulrunner"
63
64 # TODO:
65 # easy-publish-and-consume is not in tree (epc)
66 # Cone (VLC) plugin needs someone with the right setup (remi ?)
67 # Youtube plugin as been far too unstable in my tests to be enabled for now
68
69 RDEPEND=">=dev-libs/glib-2.15
70 >=x11-libs/gtk+-2.12.6
71 >=gnome-base/gconf-2.0
72 >=gnome-base/gnome-vfs-2.16
73 >=dev-libs/totem-pl-parser-2.21.90
74 >=x11-themes/gnome-icon-theme-2.16
75 app-text/iso-codes
76 dev-libs/libxml2
77 >=dev-libs/dbus-glib-0.71
78 >=media-libs/gstreamer-0.10.16
79 >=media-libs/gst-plugins-good-0.10
80 >=media-libs/gst-plugins-base-0.10.12
81 >=media-plugins/gst-plugins-pango-0.10
82 >=media-plugins/gst-plugins-gconf-0.10
83 >=media-plugins/gst-plugins-gnomevfs-0.10
84
85 >=media-plugins/gst-plugins-x-0.10
86 >=media-plugins/gst-plugins-meta-0.10-r2
87
88 x11-libs/libX11
89 x11-libs/libXtst
90 >=x11-libs/libXrandr-1.1.1
91 >=x11-libs/libXxf86vm-1.0.1
92
93 bluetooth? ( net-wireless/bluez-libs )
94 galago? ( >=dev-libs/libgalago-0.5.2 )
95 gnome? (
96 >=gnome-base/libgnome-2.14
97 >=gnome-base/libgnomeui-2.4
98 )
99 lirc? ( app-misc/lirc )
100 nautilus? ( >=gnome-base/nautilus-2.10 )
101 nsplugin? (
102 xulrunner? ( =net-libs/xulrunner-1.8* )
103 !xulrunner? ( seamonkey? ( =www-client/seamonkey-1* ) )
104 !xulrunner? ( !seamonkey? ( =www-client/mozilla-firefox-2* ) )
105 >=x11-misc/shared-mime-info-0.22
106 >=x11-libs/startup-notification-0.8
107 )
108 nvtv? ( >=media-tv/nvtv-0.4.5 )
109 python? ( >=dev-python/pygtk-2.12 >=dev-python/gdata-1 )
110 tracker? ( >=app-misc/tracker-0.5.3 >=gnome-base/libgnomeui-2 )"
111 DEPEND="${RDEPEND}
112 app-text/scrollkeeper
113 gnome-base/gnome-common
114 app-text/gnome-doc-utils
115 >=dev-util/intltool-0.35
116 >=dev-util/pkgconfig-0.20"
117
118 DOCS="AUTHORS ChangeLog NEWS README TODO"
119
120 pkg_setup() {
121 if use python ; then
122 if ! built_with_use --missing false dev-lang/python threads ; then
123 if built_with_use --missing true dev-lang/python nothreads ; then
124 elog "totem's python support requires that python be built with threading support"
125 elog "Please rebuild python with threading support and then build totem again."
126 eerror "python built without threading support"
127 fi
128 fi
129 fi
130
131 # use global mozilla plugin dir
132 G2CONF="${G2CONF} MOZILLA_PLUGINDIR=/usr/$(get_libdir)/nsbrowser/plugins"
133
134 G2CONF="${G2CONF} --disable-vala --with-dbus"
135 G2CONF="${G2CONF} --enable-easy-codec-installation"
136
137 if use nsplugin ; then
138 G2CONF="${G2CONF} --enable-browser-plugins"
139
140 if use xulrunner ; then
141 G2CONF="${G2CONF} --with-gecko=xulrunner"
142 elif use seamonkey ; then
143 G2CONF="${G2CONF} --with-gecko=seamonkey"
144 else
145 G2CONF="${G2CONF} --with-gecko=firefox"
146 fi
147 else
148 G2CONF="${G2CONF} --disable-browser-plugins"
149 fi
150
151 # Plugin Configuration
152 G2CONF="${G2CONF} PLUGINDIR=/usr/$(get_libdir)/totem/plugins"
153
154 local plugins="properties,thumbnail,screensaver,ontop,gromit,media-player-keys,skipto"
155 use bluetooth && plugins="${plugins},bemused"
156 use galago && plugins="${plugins},galago"
157 use lirc && plugins="${plugins},lirc"
158 #use python && plugins="${plugins},youtube"
159 use tracker && plugins="${plugins},tracker"
160
161 G2CONF="${G2CONF} --with-plugins=${plugins}"
162
163 G2CONF="${G2CONF}
164 $(use_enable debug)
165 $(use_enable nautilus)
166 $(use_enable nvtv)
167 $(use_enable python)"
168 }
169
170 src_unpack() {
171 gnome2_src_unpack
172
173 if use nsplugin && ! use xulrunner && ! use seamonkey ; then
174 epatch "${FILESDIR}/${PN}-2.20.1-xpcom-hack.patch"
175 fi
176
177 epatch "${FILESDIR}/${PN}-2.22.2-fix-python-and-libtool-2.2.patch"
178
179 eautoreconf
180 }
181
182 src_compile() {
183 #fixme: why does it need write access here, probably need to set up a fake
184 #home in /var/tmp like other pkgs do
185
186 addpredict "/root/.gconfd"
187 addpredict "/root/.gconf"
188 addpredict "/root/.gnome2"
189
190 gnome2_src_compile
191 }
192
193 pkg_postinst() {
194 gnome2_pkg_postinst
195
196 ewarn
197 ewarn "If totem doesn't play some video format, please check your"
198 ewarn "USE flags on media-plugins/gst-plugins-meta"
199 ewarn
200 }
201
202
203
204 --
205 gentoo-commits@l.g.o mailing list