Gentoo Archives: gentoo-commits

From: "Steve Dibb (beandog)" <beandog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/mplayerplug-in: mplayerplug-in-3.50.ebuild ChangeLog mplayerplug-in-3.55-r1.ebuild mplayerplug-in-3.55.ebuild
Date: Fri, 29 May 2009 21:04:49
Message-Id: E1MA9Fv-0001Q6-CL@stork.gentoo.org
1 beandog 09/05/29 21:04:47
2
3 Modified: mplayerplug-in-3.50.ebuild ChangeLog
4 Added: mplayerplug-in-3.55-r1.ebuild
5 Removed: mplayerplug-in-3.55.ebuild
6 Log:
7 Remove support for 32-bit install
8 (Portage version: 2.2_rc33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.2 www-plugins/mplayerplug-in/mplayerplug-in-3.50.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mplayerplug-in/mplayerplug-in-3.50.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mplayerplug-in/mplayerplug-in-3.50.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mplayerplug-in/mplayerplug-in-3.50.ebuild?r1=1.1&r2=1.2
16
17 Index: mplayerplug-in-3.50.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-plugins/mplayerplug-in/mplayerplug-in-3.50.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- mplayerplug-in-3.50.ebuild 10 Apr 2009 15:19:11 -0000 1.1
24 +++ mplayerplug-in-3.50.ebuild 29 May 2009 21:04:47 -0000 1.2
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2009 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/mplayerplug-in/mplayerplug-in-3.50.ebuild,v 1.1 2009/04/10 15:19:11 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/mplayerplug-in/mplayerplug-in-3.50.ebuild,v 1.2 2009/05/29 21:04:47 beandog Exp $
30
31 inherit eutils multilib autotools
32
33 @@ -11,7 +11,7 @@
34 LICENSE="GPL-2"
35 SLOT="0"
36 KEYWORDS="~alpha amd64 -hppa ~ia64 ppc ppc64 sparc x86"
37 -IUSE="gtk divx firefox gmedia multilib nls quicktime realmedia seamonkey wmp xulrunner"
38 +IUSE="gtk divx firefox gmedia nls quicktime realmedia seamonkey wmp xulrunner"
39
40 LANGS="cs da de en_US es fr hu it ja ko nb nl pl pt_BR ru sk se tr wa zh_CN"
41 for X in ${LANGS}; do IUSE="${IUSE} linguas_${X}"; done
42 @@ -29,16 +29,9 @@
43 >=x11-libs/pango-1.2.1
44 )"
45 DEPEND="${RDEPEND}
46 - dev-util/pkgconfig
47 - multilib? (
48 - amd64? (
49 - app-emulation/emul-linux-x86-xlibs
50 - app-emulation/emul-linux-x86-baselibs
51 - app-emulation/emul-linux-x86-gtklibs
52 - )
53 - )"
54 + dev-util/pkgconfig"
55
56 -S=${WORKDIR}/${PN}
57 +S="${WORKDIR}/${PN}"
58
59 src_unpack() {
60 unpack ${A}
61 @@ -61,35 +54,6 @@
62 myconf="${myconf} --enable-x"
63 fi
64
65 - # Build the 32bit plugin
66 - if use amd64 && has_multilib_profile; then
67 - einfo "Building 32-bit plugin"
68 - oldabi="${ABI}"
69 - ABI="x86"
70 - econf \
71 - ${myconf} \
72 - --x-libraries=/usr/lib32/ \
73 - --enable-x86_64 \
74 - ${myconf2} \
75 - $(use_enable divx dvx) \
76 - $(use_enable gmedia gmp) \
77 - $(use_enable realmedia rm) \
78 - $(use_enable quicktime qt) \
79 - $(use_enable wmp) \
80 - || die "econf failed"
81 -
82 - emake || die "emake failed"
83 -
84 - # Save the 32bit plugins
85 - mkdir lib32
86 - mv mplayerplug-in*.so lib32
87 - mv mplayerplug-in*.xpt lib32
88 - ABI="${oldabi}"
89 - emake -j1 clean || die "emake clean failed"
90 -
91 - einfo "Building 64-bit plugin"
92 - fi
93 -
94 # Media Playback Support (bug #145517)
95 econf \
96 ${myconf} \
97 @@ -117,21 +81,6 @@
98 fi
99 done
100
101 - if use amd64 && has_multilib_profile; then
102 - oldabi="${ABI}"
103 - ABI="x86"
104 - exeinto /usr/$(get_libdir)/${plugindir}
105 - insinto /usr/$(get_libdir)/${plugindir}
106 -
107 - for plugin in ${PLUGINS}; do
108 - if [ -e "mplayerplug-${plugin}.so" ]; then
109 - doexe "lib32/mplayerplug-${plugin}.so" || die "plugin mplayerplug-${plugin} failed"
110 - doins "lib32/mplayerplug-${plugin}.xpt" || die "plugin mplayerplug-${plugin} xpt failed"
111 - fi
112 - done
113 - ABI="${oldabi}"
114 - fi
115 -
116 if use nls; then
117 local WANT_LANGS
118 for X in ${LANGS}; do
119
120
121
122 1.2 www-plugins/mplayerplug-in/ChangeLog
123
124 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mplayerplug-in/ChangeLog?rev=1.2&view=markup
125 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mplayerplug-in/ChangeLog?rev=1.2&content-type=text/plain
126 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mplayerplug-in/ChangeLog?r1=1.1&r2=1.2
127
128 Index: ChangeLog
129 ===================================================================
130 RCS file: /var/cvsroot/gentoo-x86/www-plugins/mplayerplug-in/ChangeLog,v
131 retrieving revision 1.1
132 retrieving revision 1.2
133 diff -u -r1.1 -r1.2
134 --- ChangeLog 10 Apr 2009 15:19:11 -0000 1.1
135 +++ ChangeLog 29 May 2009 21:04:47 -0000 1.2
136 @@ -1,6 +1,12 @@
137 # ChangeLog for www-plugins/mplayerplug-in
138 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
139 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/mplayerplug-in/ChangeLog,v 1.1 2009/04/10 15:19:11 ulm Exp $
140 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/mplayerplug-in/ChangeLog,v 1.2 2009/05/29 21:04:47 beandog Exp $
141 +
142 +*mplayerplug-in-3.55-r1 (29 May 2009)
143 +
144 + 29 May 2009; Steve Dibb <beandog@g.o> mplayerplug-in-3.50.ebuild,
145 + -mplayerplug-in-3.55.ebuild, +mplayerplug-in-3.55-r1.ebuild:
146 + Remove support for 32-bit install
147
148 10 Apr 2009; Ulrich Mueller <ulm@g.o>
149 +files/mplayerplug-in-3.40-cflags.patch, +files/mplayerplug-in-gcc4.patch,
150
151
152
153 1.1 www-plugins/mplayerplug-in/mplayerplug-in-3.55-r1.ebuild
154
155 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mplayerplug-in/mplayerplug-in-3.55-r1.ebuild?rev=1.1&view=markup
156 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mplayerplug-in/mplayerplug-in-3.55-r1.ebuild?rev=1.1&content-type=text/plain
157
158 Index: mplayerplug-in-3.55-r1.ebuild
159 ===================================================================
160 # Copyright 1999-2009 Gentoo Foundation
161 # Distributed under the terms of the GNU General Public License v2
162 # $Header: /var/cvsroot/gentoo-x86/www-plugins/mplayerplug-in/mplayerplug-in-3.55-r1.ebuild,v 1.1 2009/05/29 21:04:47 beandog Exp $
163
164 inherit eutils multilib autotools flag-o-matic
165
166 DESCRIPTION="mplayer plug-in for Gecko based browsers"
167 HOMEPAGE="http://mplayerplug-in.sourceforge.net/"
168 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
169
170 LICENSE="GPL-2"
171 SLOT="0"
172 KEYWORDS="~alpha ~amd64 -hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
173 IUSE="gtk divx firefox gmedia quicktime realmedia seamonkey wmp xulrunner"
174
175 LANGS="cs da de en_US es fr hu it ja ko nb nl pl pt_BR ru sk se tr wa zh_CN"
176 IUSE="${IUSE} $(printf 'linguas_%s ' ${LANGS})"
177
178 RDEPEND=">=media-video/mplayer-1.0_pre5
179 xulrunner? ( net-libs/xulrunner )
180 !xulrunner? ( firefox? ( www-client/mozilla-firefox ) )
181 !xulrunner? ( !firefox? ( seamonkey? ( =www-client/seamonkey-1* ) ) )
182 x11-libs/libXpm
183 x11-proto/xextproto
184 gtk? (
185 >=x11-libs/gtk+-2.2.0
186 dev-libs/atk
187 >=dev-libs/glib-2.2.0
188 >=x11-libs/pango-1.2.1
189 )"
190 DEPEND="${RDEPEND}
191 dev-util/pkgconfig"
192
193 pkg_setup() {
194 ### Mozilla Firefox 3.0 doesn't install the pkg config files
195 if has_version ">=www-client/mozilla-firefox-3.0" &&
196 ! built_with_use www-client/mozilla-firefox xulrunner; then
197 die 'Firefox 3.0 must be built with USE="xulrunner"'
198 fi
199 }
200
201 src_unpack() {
202 unpack ${A}
203 cd "${S}"
204 epatch "${FILESDIR}/${PN}-3.40-cflags.patch"
205 epatch "${FILESDIR}/${P}-gcc4.patch"
206 epatch "${FILESDIR}/${PN}-xulrunner-config-in.patch"
207 #epatch "${FILESDIR}/${PN}_xulrunner-1.9.patch"
208 #epatch "${FILESDIR}/${PN}-3.50-seamonkey.patch"
209 epatch "${FILESDIR}/${PN}-min-cache-size.patch"
210 eautoreconf
211 }
212
213 _src_compile() {
214 local myconf
215
216 # We force gtk2 now because moz only compiles against gtk2
217 if use gtk; then
218 myconf="${myconf} --enable-gtk2"
219 else
220 ewarn "For playback controls, you must enable gtk support."
221 myconf="${myconf} --enable-x"
222 fi
223
224 # Media Playback Support (bug #145517)
225 econf \
226 ${myconf} \
227 "$@" \
228 $(use_enable divx dvx) \
229 $(use_enable gmedia gmp) \
230 $(use_enable realmedia rm) \
231 $(use_enable quicktime qt) \
232 $(use_enable wmp) \
233 || die "econf failed"
234
235 emake || die "emake failed"
236 }
237
238 src_compile() {
239 # Add -fno-strict-aliasing to ensure correct compilation
240 append-flags -fno-strict-aliasing
241
242 _src_compile
243 }
244
245 src_install() {
246 PLUGINS="in in-gmp in-rm in-qt in-wmp in-dvx"
247 plugindir="nsbrowser/plugins"
248
249 exeinto /usr/$(get_libdir)/${plugindir}
250 insinto /usr/$(get_libdir)/${plugindir}
251
252 for plugin in ${PLUGINS}; do
253 if [ -e "mplayerplug-${plugin}.so" ]; then
254 doexe "mplayerplug-${plugin}.so" || die "plugin mplayerplug-${plugin} failed"
255 doins "mplayerplug-${plugin}.xpt" || die "plugin mplayerplug-${plugin} xpt failed"
256 fi
257 done
258
259 insinto /etc
260 doins mplayerplug-in.conf
261
262 dodoc ChangeLog README
263 }