Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/chrome-binary-plugins: chrome-binary-plugins-41.0.2272.43_beta1.ebuild metadata.xml chrome-binary-plugins-40.0.2214.111_p1.ebuild ChangeLog chrome-binary-plugins-41.0.2272.35_beta1.ebuild chrome-binary-plugins-40.0.2214.95_p1.ebuild
Date: Fri, 06 Feb 2015 15:29:52
Message-Id: 20150206152944.66EF8112FD@oystercatcher.gentoo.org
1 floppym 15/02/06 15:29:44
2
3 Modified: metadata.xml ChangeLog
4 Added: chrome-binary-plugins-41.0.2272.43_beta1.ebuild
5 chrome-binary-plugins-40.0.2214.111_p1.ebuild
6 Removed: chrome-binary-plugins-41.0.2272.35_beta1.ebuild
7 chrome-binary-plugins-40.0.2214.95_p1.ebuild
8 Log:
9 Bump.
10
11 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
12
13 Revision Changes Path
14 1.3 www-plugins/chrome-binary-plugins/metadata.xml
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/metadata.xml?rev=1.3&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/metadata.xml?rev=1.3&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/metadata.xml?r1=1.2&r2=1.3
19
20 Index: metadata.xml
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/metadata.xml,v
23 retrieving revision 1.2
24 retrieving revision 1.3
25 diff -u -r1.2 -r1.3
26 --- metadata.xml 31 Aug 2014 23:11:41 -0000 1.2
27 +++ metadata.xml 6 Feb 2015 15:29:44 -0000 1.3
28 @@ -3,6 +3,10 @@
29 <pkgmetadata>
30 <herd>chromium</herd>
31 <maintainer>
32 + <email>floppym@g.o</email>
33 + <name>Mike Gilbert</name>
34 + </maintainer>
35 + <maintainer>
36 <email>zx2c4@g.o</email>
37 <name>Jason A. Donenfeld</name>
38 </maintainer>
39
40
41
42 1.220 www-plugins/chrome-binary-plugins/ChangeLog
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.220&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?rev=1.220&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog?r1=1.219&r2=1.220
47
48 Index: ChangeLog
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v
51 retrieving revision 1.219
52 retrieving revision 1.220
53 diff -u -r1.219 -r1.220
54 --- ChangeLog 4 Feb 2015 02:12:49 -0000 1.219
55 +++ ChangeLog 6 Feb 2015 15:29:44 -0000 1.220
56 @@ -1,6 +1,16 @@
57 # ChangeLog for www-plugins/chrome-binary-plugins
58 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
59 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.219 2015/02/04 02:12:49 floppym Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.220 2015/02/06 15:29:44 floppym Exp $
61 +
62 +*chrome-binary-plugins-41.0.2272.43_beta1 (06 Feb 2015)
63 +*chrome-binary-plugins-40.0.2214.111_p1 (06 Feb 2015)
64 +
65 + 06 Feb 2015; Mike Gilbert <floppym@g.o>
66 + +chrome-binary-plugins-40.0.2214.111_p1.ebuild,
67 + +chrome-binary-plugins-41.0.2272.43_beta1.ebuild,
68 + -chrome-binary-plugins-40.0.2214.95_p1.ebuild,
69 + -chrome-binary-plugins-41.0.2272.35_beta1.ebuild, metadata.xml:
70 + Bump.
71
72 *chrome-binary-plugins-40.0.2214.95_p1 (04 Feb 2015)
73 *chrome-binary-plugins-42.0.2292.0_alpha1 (04 Feb 2015)
74
75
76
77 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.43_beta1.ebuild
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.43_beta1.ebuild?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.43_beta1.ebuild?rev=1.1&content-type=text/plain
81
82 Index: chrome-binary-plugins-41.0.2272.43_beta1.ebuild
83 ===================================================================
84 # Copyright 1999-2015 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 # $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.43_beta1.ebuild,v 1.1 2015/02/06 15:29:44 floppym Exp $
87
88 EAPI=5
89
90 inherit multilib unpacker
91
92 DESCRIPTION="Binary plugins from Google Chrome for use in Chromium"
93 HOMEPAGE="http://www.google.com/chrome"
94
95 case ${PV} in
96 *_alpha*|9999*)
97 SLOT="unstable"
98 CHROMEDIR="opt/google/chrome-${SLOT}"
99 MY_PV=${PV/_alpha/-}
100 ;;
101 *_beta*)
102 SLOT="beta"
103 CHROMEDIR="opt/google/chrome-${SLOT}"
104 MY_PV=${PV/_beta/-}
105 ;;
106 *_p*)
107 SLOT="stable"
108 CHROMEDIR="opt/google/chrome"
109 MY_PV=${PV/_p/-}
110 ;;
111 *)
112 die "Invalid value for \${PV}: ${PV}"
113 ;;
114 esac
115
116 MY_PN="google-chrome-${SLOT}"
117 MY_P="${MY_PN}_${MY_PV}"
118
119 if [[ ${PV} != 9999* ]]; then
120 SRC_URI="
121 amd64? (
122 https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
123 )
124 x86? (
125 https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
126 )
127 "
128 KEYWORDS="~amd64 ~x86"
129 fi
130
131 LICENSE="google-chrome"
132 IUSE="+flash"
133 RESTRICT="bindist mirror strip"
134
135 for x in 0 beta stable unstable; do
136 if [[ ${SLOT} != ${x} ]]; then
137 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
138 fi
139 done
140
141 S="${WORKDIR}/${CHROMEDIR}"
142 QA_PREBUILT="*"
143
144 pkg_nofetch() {
145 eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
146 }
147
148 if [[ ${PV} == 9999* ]]; then
149 src_unpack() {
150 local base="https://dl.google.com/linux/direct"
151 local debarch=${ARCH/x86/i386}
152 wget -O google-chrome.deb "${base}/google-chrome-${SLOT}_current_${debarch}.deb" || die
153 unpack_deb ./google-chrome.deb
154 }
155 fi
156
157 src_install() {
158 local version flapper
159
160 insinto /usr/$(get_libdir)/chromium-browser/
161
162 if use flash; then
163 doins -r PepperFlash
164
165 # Since this is a live ebuild, we're forced to, unfortuantely,
166 # dynamically construct the command line args for Chromium.
167 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
168 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
169 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
170 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
171 echo "--ppapi-flash-version=$version\"" >> pepper-flash
172
173 insinto /etc/chromium/
174 doins pepper-flash
175 fi
176 }
177
178
179
180 1.1 www-plugins/chrome-binary-plugins/chrome-binary-plugins-40.0.2214.111_p1.ebuild
181
182 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-40.0.2214.111_p1.ebuild?rev=1.1&view=markup
183 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-40.0.2214.111_p1.ebuild?rev=1.1&content-type=text/plain
184
185 Index: chrome-binary-plugins-40.0.2214.111_p1.ebuild
186 ===================================================================
187 # Copyright 1999-2015 Gentoo Foundation
188 # Distributed under the terms of the GNU General Public License v2
189 # $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-40.0.2214.111_p1.ebuild,v 1.1 2015/02/06 15:29:44 floppym Exp $
190
191 EAPI=5
192
193 inherit multilib unpacker
194
195 DESCRIPTION="Binary plugins from Google Chrome for use in Chromium"
196 HOMEPAGE="http://www.google.com/chrome"
197
198 case ${PV} in
199 *_alpha*|9999*)
200 SLOT="unstable"
201 CHROMEDIR="opt/google/chrome-${SLOT}"
202 MY_PV=${PV/_alpha/-}
203 ;;
204 *_beta*)
205 SLOT="beta"
206 CHROMEDIR="opt/google/chrome-${SLOT}"
207 MY_PV=${PV/_beta/-}
208 ;;
209 *_p*)
210 SLOT="stable"
211 CHROMEDIR="opt/google/chrome"
212 MY_PV=${PV/_p/-}
213 ;;
214 *)
215 die "Invalid value for \${PV}: ${PV}"
216 ;;
217 esac
218
219 MY_PN="google-chrome-${SLOT}"
220 MY_P="${MY_PN}_${MY_PV}"
221
222 if [[ ${PV} != 9999* ]]; then
223 SRC_URI="
224 amd64? (
225 https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
226 )
227 x86? (
228 https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
229 )
230 "
231 KEYWORDS="~amd64 ~x86"
232 fi
233
234 LICENSE="google-chrome"
235 IUSE="+flash"
236 RESTRICT="bindist mirror strip"
237
238 for x in 0 beta stable unstable; do
239 if [[ ${SLOT} != ${x} ]]; then
240 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
241 fi
242 done
243
244 S="${WORKDIR}/${CHROMEDIR}"
245 QA_PREBUILT="*"
246
247 pkg_nofetch() {
248 eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures."
249 }
250
251 if [[ ${PV} == 9999* ]]; then
252 src_unpack() {
253 local base="https://dl.google.com/linux/direct"
254 local debarch=${ARCH/x86/i386}
255 wget -O google-chrome.deb "${base}/google-chrome-${SLOT}_current_${debarch}.deb" || die
256 unpack_deb ./google-chrome.deb
257 }
258 fi
259
260 src_install() {
261 local version flapper
262
263 insinto /usr/$(get_libdir)/chromium-browser/
264
265 if use flash; then
266 doins -r PepperFlash
267
268 # Since this is a live ebuild, we're forced to, unfortuantely,
269 # dynamically construct the command line args for Chromium.
270 version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json)
271 flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so"
272 echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash
273 echo -n "--ppapi-flash-path=$flapper " >> pepper-flash
274 echo "--ppapi-flash-version=$version\"" >> pepper-flash
275
276 insinto /etc/chromium/
277 doins pepper-flash
278 fi
279 }