1 |
josejx 08/01/06 22:34:22 |
2 |
|
3 |
Modified: mplayerplug-in-3.35.ebuild |
4 |
mplayerplug-in-3.45.ebuild ChangeLog |
5 |
Added: mplayerplug-in-3.50.ebuild |
6 |
Removed: mplayerplug-in-3.40-r1.ebuild |
7 |
mplayerplug-in-3.21.ebuild |
8 |
mplayerplug-in-3.31-r1.ebuild |
9 |
Log: |
10 |
Removed old versions, added new version, closes bug #201257. Added amd64 multilib changes from bug #178857. |
11 |
(Portage version: 2.1.4_rc13) |
12 |
|
13 |
Revision Changes Path |
14 |
1.11 net-www/mplayerplug-in/mplayerplug-in-3.35.ebuild |
15 |
|
16 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.35.ebuild?rev=1.11&view=markup |
17 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.35.ebuild?rev=1.11&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.35.ebuild?r1=1.10&r2=1.11 |
19 |
|
20 |
Index: mplayerplug-in-3.35.ebuild |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.35.ebuild,v |
23 |
retrieving revision 1.10 |
24 |
retrieving revision 1.11 |
25 |
diff -u -r1.10 -r1.11 |
26 |
--- mplayerplug-in-3.35.ebuild 22 Jul 2007 07:42:29 -0000 1.10 |
27 |
+++ mplayerplug-in-3.35.ebuild 6 Jan 2008 22:34:21 -0000 1.11 |
28 |
@@ -1,6 +1,6 @@ |
29 |
-# Copyright 1999-2007 Gentoo Foundation |
30 |
+# Copyright 1999-2008 Gentoo Foundation |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
-# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.35.ebuild,v 1.10 2007/07/22 07:42:29 dberkholz Exp $ |
33 |
+# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.35.ebuild,v 1.11 2008/01/06 22:34:21 josejx Exp $ |
34 |
|
35 |
inherit eutils multilib nsplugins |
36 |
|
37 |
@@ -27,16 +27,16 @@ |
38 |
) |
39 |
dev-util/pkgconfig" |
40 |
|
41 |
-S=${WORKDIR}/${PN} |
42 |
+S="${WORKDIR}/${PN}" |
43 |
|
44 |
src_unpack() { |
45 |
- unpack ${A} |
46 |
- cd ${S} |
47 |
- epatch ${FILESDIR}/3.30-fix-cflags.patch |
48 |
- epatch ${FILESDIR}/${PN}-gcc4.patch |
49 |
- epatch ${FILESDIR}/${P}-X.patch |
50 |
- epatch ${FILESDIR}/${P}-firefox.patch |
51 |
- epatch ${FILESDIR}/${P}-seamonkey.patch |
52 |
+ unpack "${A}" |
53 |
+ cd "${S}" |
54 |
+ epatch "${FILESDIR}/3.30-fix-cflags.patch" |
55 |
+ epatch "${FILESDIR}/${PN}-gcc4.patch" |
56 |
+ epatch "${FILESDIR}/${P}-X.patch" |
57 |
+ epatch "${FILESDIR}/${P}-firefox.patch" |
58 |
+ epatch "${FILESDIR}/${P}-seamonkey.patch" |
59 |
} |
60 |
|
61 |
src_compile() { |
62 |
|
63 |
|
64 |
|
65 |
1.6 net-www/mplayerplug-in/mplayerplug-in-3.45.ebuild |
66 |
|
67 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.45.ebuild?rev=1.6&view=markup |
68 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.45.ebuild?rev=1.6&content-type=text/plain |
69 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.45.ebuild?r1=1.5&r2=1.6 |
70 |
|
71 |
Index: mplayerplug-in-3.45.ebuild |
72 |
=================================================================== |
73 |
RCS file: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.45.ebuild,v |
74 |
retrieving revision 1.5 |
75 |
retrieving revision 1.6 |
76 |
diff -u -r1.5 -r1.6 |
77 |
--- mplayerplug-in-3.45.ebuild 22 Nov 2007 18:56:24 -0000 1.5 |
78 |
+++ mplayerplug-in-3.45.ebuild 6 Jan 2008 22:34:21 -0000 1.6 |
79 |
@@ -1,6 +1,6 @@ |
80 |
-# Copyright 1999-2007 Gentoo Foundation |
81 |
+# Copyright 1999-2008 Gentoo Foundation |
82 |
# Distributed under the terms of the GNU General Public License v2 |
83 |
-# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.45.ebuild,v 1.5 2007/11/22 18:56:24 armin76 Exp $ |
84 |
+# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.45.ebuild,v 1.6 2008/01/06 22:34:21 josejx Exp $ |
85 |
|
86 |
inherit eutils multilib |
87 |
|
88 |
@@ -10,7 +10,7 @@ |
89 |
|
90 |
LICENSE="GPL-2" |
91 |
SLOT="0" |
92 |
-KEYWORDS="~alpha ~amd64 -hppa ~ia64 ppc ~ppc64 sparc x86" |
93 |
+KEYWORDS="~alpha ~amd64 -hppa ~ia64 ppc ppc64 sparc x86" |
94 |
IUSE="gtk divx gmedia mplayer-bin nls realmedia quicktime wmp" |
95 |
|
96 |
LANGS="da de en_US es fr hu it ja ko nb pl pt_BR nl ru se zh_CN" |
97 |
@@ -37,18 +37,18 @@ |
98 |
!mplayer-bin? ( >=media-video/mplayer-1.0_pre5 ) |
99 |
dev-util/pkgconfig" |
100 |
|
101 |
-S=${WORKDIR}/${PN} |
102 |
+S="${WORKDIR}/${PN}" |
103 |
|
104 |
src_unpack() { |
105 |
- unpack ${A} |
106 |
- cd ${S} |
107 |
- epatch ${FILESDIR}/${PN}-3.40-cflags.patch |
108 |
- epatch ${FILESDIR}/${PN}-gcc4.patch |
109 |
+ unpack "${A}" |
110 |
+ cd "${S}" |
111 |
+ epatch "${FILESDIR}/${PN}-3.40-cflags.patch" |
112 |
+ epatch "${FILESDIR}/${PN}-gcc4.patch" |
113 |
### Adds support for 32 bit binary mplayer on amd64 |
114 |
if use mplayer-bin; then |
115 |
- epatch ${FILESDIR}/${PN}-mplayer-bin.patch |
116 |
+ epatch "${FILESDIR}/${PN}-mplayer-bin.patch" |
117 |
fi |
118 |
- epatch ${FILESDIR}/${PN}-3.35-seamonkey.patch |
119 |
+ epatch "${FILESDIR}/${PN}-3.35-seamonkey.patch" |
120 |
} |
121 |
|
122 |
src_compile() { |
123 |
|
124 |
|
125 |
|
126 |
1.101 net-www/mplayerplug-in/ChangeLog |
127 |
|
128 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/ChangeLog?rev=1.101&view=markup |
129 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/ChangeLog?rev=1.101&content-type=text/plain |
130 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/ChangeLog?r1=1.100&r2=1.101 |
131 |
|
132 |
Index: ChangeLog |
133 |
=================================================================== |
134 |
RCS file: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/ChangeLog,v |
135 |
retrieving revision 1.100 |
136 |
retrieving revision 1.101 |
137 |
diff -u -r1.100 -r1.101 |
138 |
--- ChangeLog 22 Nov 2007 18:56:24 -0000 1.100 |
139 |
+++ ChangeLog 6 Jan 2008 22:34:21 -0000 1.101 |
140 |
@@ -1,6 +1,18 @@ |
141 |
# ChangeLog for net-www/mplayerplug-in |
142 |
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
143 |
-# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/ChangeLog,v 1.100 2007/11/22 18:56:24 armin76 Exp $ |
144 |
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
145 |
+# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/ChangeLog,v 1.101 2008/01/06 22:34:21 josejx Exp $ |
146 |
+ |
147 |
+*mplayerplug-in-3.50 (06 Jan 2008) |
148 |
+ |
149 |
+ 06 Jan 2008; Joseph Jezak <josejx@g.o> |
150 |
+ -files/mplayerplug-in-3.31-firefox.patch, |
151 |
+ -files/mplayerplug-in-3.31-seamonkey.patch, |
152 |
+ +files/mplayerplug-in-3.50-seamonkey.patch, -mplayerplug-in-3.21.ebuild, |
153 |
+ -mplayerplug-in-3.31-r1.ebuild, mplayerplug-in-3.35.ebuild, |
154 |
+ -mplayerplug-in-3.40-r1.ebuild, mplayerplug-in-3.45.ebuild, |
155 |
+ +mplayerplug-in-3.50.ebuild: |
156 |
+ Removed old versions, added new version, closes bug #201257. Added amd64 |
157 |
+ multilib changes from bug #178857. |
158 |
|
159 |
22 Nov 2007; Raúl Porcel <armin76@g.o> mplayerplug-in-3.45.ebuild: |
160 |
sparc stable wrt #192696, thanks to Alex Maclean for testing |
161 |
|
162 |
|
163 |
|
164 |
1.1 net-www/mplayerplug-in/mplayerplug-in-3.50.ebuild |
165 |
|
166 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.50.ebuild?rev=1.1&view=markup |
167 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.50.ebuild?rev=1.1&content-type=text/plain |
168 |
|
169 |
Index: mplayerplug-in-3.50.ebuild |
170 |
=================================================================== |
171 |
# Copyright 1999-2008 Gentoo Foundation |
172 |
# Distributed under the terms of the GNU General Public License v2 |
173 |
# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.50.ebuild,v 1.1 2008/01/06 22:34:21 josejx Exp $ |
174 |
|
175 |
inherit eutils multilib autotools |
176 |
|
177 |
DESCRIPTION="mplayer plug-in for Gecko based browsers" |
178 |
HOMEPAGE="http://mplayerplug-in.sourceforge.net/" |
179 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
180 |
|
181 |
LICENSE="GPL-2" |
182 |
SLOT="0" |
183 |
KEYWORDS="~alpha ~amd64 -hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
184 |
IUSE="gtk divx firefox gmedia mplayer-bin nls quicktime realmedia seamonkey wmp" |
185 |
|
186 |
LANGS="da de en_US es fr hu it ja ko nb pl pt_BR nl ru se zh_CN" |
187 |
for X in ${LANGS}; do IUSE="${IUSE} linguas_${X}"; done |
188 |
|
189 |
DEPEND=" |
190 |
firefox? ( www-client/mozilla-firefox ) |
191 |
!firefox? ( |
192 |
seamonkey? ( www-client/seamonkey ) |
193 |
!seamonkey? ( net-libs/xulrunner ) |
194 |
) |
195 |
|| ( ( x11-libs/libXpm |
196 |
x11-proto/xextproto |
197 |
) |
198 |
virtual/x11 |
199 |
) |
200 |
gtk? ( |
201 |
>=x11-libs/gtk+-2.2.0 |
202 |
dev-libs/atk |
203 |
>=dev-libs/glib-2.2.0 |
204 |
>=x11-libs/pango-1.2.1 |
205 |
) |
206 |
mplayer-bin? ( media-video/mplayer-bin ) |
207 |
!mplayer-bin? ( >=media-video/mplayer-1.0_pre7 ) |
208 |
dev-util/pkgconfig" |
209 |
|
210 |
if has_multilib_profile; then |
211 |
DEPEND="${DEPEND} |
212 |
amd64? ( |
213 |
app-emulation/emul-linux-x86-xlibs |
214 |
app-emulation/emul-linux-x86-baselibs |
215 |
app-emulation/emul-linux-x86-gtklibs |
216 |
)" |
217 |
fi |
218 |
|
219 |
S="${WORKDIR}/${PN}" |
220 |
|
221 |
src_unpack() { |
222 |
unpack "${A}" |
223 |
cd "${S}" |
224 |
epatch "${FILESDIR}/${PN}-3.40-cflags.patch" |
225 |
epatch "${FILESDIR}/${PN}-gcc4.patch" |
226 |
### Adds support for 32 bit binary mplayer on amd64 |
227 |
if use mplayer-bin; then |
228 |
epatch "${FILESDIR}/${PN}-mplayer-bin.patch" |
229 |
fi |
230 |
epatch "${FILESDIR}/${P}-seamonkey.patch" |
231 |
eautoconf |
232 |
} |
233 |
|
234 |
src_compile() { |
235 |
local myconf |
236 |
|
237 |
# We force gtk2 now because moz only compiles against gtk2 |
238 |
if use gtk; then |
239 |
myconf="${myconf} --enable-gtk2" |
240 |
else |
241 |
ewarn "For playback controls, you must enable gtk support." |
242 |
myconf="${myconf} --enable-x" |
243 |
fi |
244 |
|
245 |
# Build the 32bit plugin |
246 |
if use amd64 && has_multilib_profile; then |
247 |
einfo "Building 32-bit plugin" |
248 |
oldabi="${ABI}" |
249 |
ABI="x86" |
250 |
econf \ |
251 |
${myconf} \ |
252 |
--x-libraries=/emul/linux/x86/usr/lib/ \ |
253 |
--enable-x86_64 \ |
254 |
${myconf2} \ |
255 |
$(use_enable divx dvx) \ |
256 |
$(use_enable gmedia gmp) \ |
257 |
$(use_enable realmedia rm) \ |
258 |
$(use_enable quicktime qt) \ |
259 |
$(use_enable wmp) \ |
260 |
|| die "econf failed" |
261 |
|
262 |
emake || die "emake failed" |
263 |
|
264 |
# Save the 32bit plugins |
265 |
mkdir lib32 |
266 |
mv mplayerplug-in*.so lib32 |
267 |
mv mplayerplug-in*.xpt lib32 |
268 |
ABI="${oldabi}" |
269 |
emake -j1 clean || die "emake clean failed" |
270 |
|
271 |
einfo "Building 64-bit plugin" |
272 |
fi |
273 |
|
274 |
# Media Playback Support (bug #145517) |
275 |
econf \ |
276 |
${myconf} \ |
277 |
$(use_enable divx dvx) \ |
278 |
$(use_enable gmedia gmp) \ |
279 |
$(use_enable realmedia rm) \ |
280 |
$(use_enable quicktime qt) \ |
281 |
$(use_enable wmp) \ |
282 |
|| die "econf failed" |
283 |
|
284 |
emake || die "emake failed" |
285 |
} |
286 |
|
287 |
src_install() { |
288 |
PLUGINS="in in-gmp in-rm in-qt in-wmp in-dvx" |
289 |
plugindir="nsbrowser/plugins" |
290 |
|
291 |
exeinto /usr/$(get_libdir)/${plugindir} |
292 |
insinto /usr/$(get_libdir)/${plugindir} |
293 |
|
294 |
for plugin in ${PLUGINS}; do |
295 |
if [ -e "mplayerplug-${plugin}.so" ]; then |
296 |
doexe "mplayerplug-${plugin}.so" || die "plugin mplayerplug-${plugin} failed" |
297 |
doins "mplayerplug-${plugin}.xpt" || die "plugin mplayerplug-${plugin} xpt failed" |
298 |
fi |
299 |
done |
300 |
|
301 |
if use amd64 && has_multilib_profile; then |
302 |
oldabi="${ABI}" |
303 |
ABI="x86" |
304 |
exeinto /usr/$(get_libdir)/${plugindir} |
305 |
insinto /usr/$(get_libdir)/${plugindir} |
306 |
|
307 |
for plugin in ${PLUGINS}; do |
308 |
if [ -e "mplayerplug-${plugin}.so" ]; then |
309 |
doexe "lib32/mplayerplug-${plugin}.so" || die "plugin mplayerplug-${plugin} failed" |
310 |
doins "lib32/mplayerplug-${plugin}.xpt" || die "plugin mplayerplug-${plugin} xpt failed" |
311 |
fi |
312 |
done |
313 |
ABI="${oldabi}" |
314 |
fi |
315 |
|
316 |
if use nls; then |
317 |
local WANT_LANGS |
318 |
for X in ${LANGS}; do |
319 |
if use linguas_${X}; then |
320 |
WANT_LANGS="${WANT_LANGS} ${X}" |
321 |
fi |
322 |
done |
323 |
emake -C po LANGUAGES="${WANT_LANGS# }" DESTDIR="${D}" install \ |
324 |
|| die "Translation installation failed" |
325 |
fi |
326 |
|
327 |
insinto /etc |
328 |
doins mplayerplug-in.conf |
329 |
|
330 |
dodoc ChangeLog INSTALL README DOCS/tech/*.txt |
331 |
} |
332 |
|
333 |
|
334 |
|
335 |
-- |
336 |
gentoo-commits@l.g.o mailing list |