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-client/google-chrome: google-chrome-32.0.1700.41_beta1.ebuild google-chrome-31.0.1650.63_p1.ebuild ChangeLog google-chrome-31.0.1650.57_p1.ebuild google-chrome-32.0.1700.39_beta1.ebuild
Date: Wed, 04 Dec 2013 20:32:35
Message-Id: 20131204203228.96A0D2004B@flycatcher.gentoo.org
1 floppym 13/12/04 20:32:28
2
3 Modified: ChangeLog
4 Added: google-chrome-32.0.1700.41_beta1.ebuild
5 google-chrome-31.0.1650.63_p1.ebuild
6 Removed: google-chrome-31.0.1650.57_p1.ebuild
7 google-chrome-32.0.1700.39_beta1.ebuild
8 Log:
9 Automated update.
10
11 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
12
13 Revision Changes Path
14 1.349 www-client/google-chrome/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?rev=1.349&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?rev=1.349&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?r1=1.348&r2=1.349
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v
23 retrieving revision 1.348
24 retrieving revision 1.349
25 diff -u -r1.348 -r1.349
26 --- ChangeLog 4 Dec 2013 03:54:56 -0000 1.348
27 +++ ChangeLog 4 Dec 2013 20:32:28 -0000 1.349
28 @@ -1,6 +1,16 @@
29 # ChangeLog for www-client/google-chrome
30 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v 1.348 2013/12/04 03:54:56 floppym Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v 1.349 2013/12/04 20:32:28 floppym Exp $
33 +
34 +*google-chrome-31.0.1650.63_p1 (04 Dec 2013)
35 +*google-chrome-32.0.1700.41_beta1 (04 Dec 2013)
36 +
37 + 04 Dec 2013; Mike Gilbert <floppym@g.o>
38 + +google-chrome-31.0.1650.63_p1.ebuild,
39 + +google-chrome-32.0.1700.41_beta1.ebuild,
40 + -google-chrome-31.0.1650.57_p1.ebuild,
41 + -google-chrome-32.0.1700.39_beta1.ebuild:
42 + Automated update.
43
44 04 Dec 2013; Mike Gilbert <floppym@g.o>
45 google-chrome-33.0.1726.0_alpha1.ebuild:
46
47
48
49 1.1 www-client/google-chrome/google-chrome-32.0.1700.41_beta1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-32.0.1700.41_beta1.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-32.0.1700.41_beta1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: google-chrome-32.0.1700.41_beta1.ebuild
55 ===================================================================
56 # Copyright 1999-2013 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-32.0.1700.41_beta1.ebuild,v 1.1 2013/12/04 20:32:28 floppym Exp $
59
60 EAPI="4"
61
62 CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
63 hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr
64 sv sw ta te th tr uk vi zh_CN zh_TW"
65
66 inherit readme.gentoo chromium eutils multilib pax-utils unpacker
67
68 DESCRIPTION="The web browser from Google"
69 HOMEPAGE="http://www.google.com/chrome"
70
71 case ${PV} in
72 *_alpha*)
73 SLOT="unstable"
74 MY_PV=${PV/_alpha/-}
75 ;;
76 *_beta*)
77 SLOT="beta"
78 MY_PV=${PV/_beta/-}
79 ;;
80 *_p*)
81 SLOT="stable"
82 MY_PV=${PV/_p/-}
83 ;;
84 *)
85 die "Invalid value for \${PV}: ${PV}"
86 ;;
87 esac
88
89 MY_PN="${PN}-${SLOT}"
90 MY_P="${MY_PN}_${MY_PV}"
91
92 SRC_URI="
93 amd64? (
94 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
95 )
96 x86? (
97 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
98 )
99 "
100
101 LICENSE="google-chrome"
102 KEYWORDS="-* ~amd64 ~x86"
103 IUSE="+plugins"
104 RESTRICT="bindist mirror strip"
105
106 RDEPEND="
107 app-arch/bzip2
108 app-misc/ca-certificates
109 dev-libs/atk
110 dev-libs/expat
111 dev-libs/glib:2
112 dev-libs/libgcrypt
113 dev-libs/nspr
114 dev-libs/nss
115 gnome-base/gconf:2
116 media-libs/alsa-lib
117 media-libs/fontconfig
118 media-libs/freetype
119 net-print/cups
120 sys-apps/dbus
121 >=sys-devel/gcc-4.4.0[cxx]
122 x11-libs/cairo
123 x11-libs/gdk-pixbuf
124 x11-libs/gtk+:2
125 >=x11-libs/libX11-1.5.0
126 x11-libs/libXcomposite
127 x11-libs/libXdamage
128 x11-libs/libXext
129 x11-libs/libXfixes
130 x11-libs/libXi
131 x11-libs/libXrandr
132 x11-libs/libXrender
133 x11-libs/libXScrnSaver
134 x11-libs/libXtst
135 x11-libs/pango
136 x11-misc/xdg-utils
137 "
138
139 # Add blockers for the other slots.
140 for x in 0 beta stable; do
141 if [[ ${SLOT} != ${x} ]]; then
142 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
143 fi
144 done
145
146 QA_PREBUILT="*"
147 S=${WORKDIR}
148
149 DISABLE_AUTOFORMATTING="yes"
150 DOC_CONTENTS="
151 Some web pages may require additional fonts to display properly.
152 Try installing some of the following packages if some characters
153 are not displayed properly:
154 - media-fonts/arphicfonts
155 - media-fonts/bitstream-cyberbit
156 - media-fonts/droid
157 - media-fonts/ipamonafont
158 - media-fonts/ja-ipafonts
159 - media-fonts/takao-fonts
160 - media-fonts/wqy-microhei
161 - media-fonts/wqy-zenhei
162
163 Depending on your desktop environment, you may need
164 to install additional packages to get icons on the Downloads page.
165
166 For KDE, the required package is kde-base/oxygen-icons.
167
168 For other desktop environments, try one of the following:
169 - x11-themes/gnome-icon-theme
170 - x11-themes/tango-icon-theme
171
172 Please notice the bundled flash player (PepperFlash).
173 You can (de)activate all flash plugins via chrome://plugins
174 "
175
176 pkg_nofetch() {
177 eerror "Please wait 24 hours before reporting a bug for google-chrome fetch failures."
178 }
179
180 pkg_setup() {
181 chromium_suid_sandbox_check_kernel_config
182 }
183
184 src_install() {
185 CHROME_HOME="opt/google/chrome"
186
187 mv opt usr "${D}" || die
188 cd "${D}" || die
189
190 pax-mark m "${CHROME_HOME}/chrome"
191 chmod u+s "${CHROME_HOME}/chrome-sandbox" || die
192 rm -rf usr/share/menu || die
193 rmdir usr/share/doc/${PN} || die
194 mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
195 chmod 755 usr/share/doc/${PF} || die
196 dosym /usr/$(get_libdir)/libudev.so "${CHROME_HOME}/libudev.so.0"
197
198 pushd "${CHROME_HOME}/locales" > /dev/null || die
199 chromium_remove_language_paks
200 popd > /dev/null || die
201
202 if use plugins ; then
203 local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins"
204 sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \
205 -i "${CHROME_HOME}/${PN}" || die
206 fi
207
208 domenu "${CHROME_HOME}/${PN}.desktop" || die
209 local size
210 for size in 16 22 24 32 48 64 128 256 ; do
211 newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" ${PN}.png
212 done
213
214 readme.gentoo_create_doc
215 }
216
217 any_cpu_missing_flag() {
218 local value=$1
219 grep '^flags' /proc/cpuinfo | grep -qv "$value"
220 }
221
222 pkg_preinst() {
223 chromium_pkg_preinst
224 if any_cpu_missing_flag sse2; then
225 ewarn "The bundled PepperFlash plugin requires a CPU that supports the"
226 ewarn "SSE2 instruction set, and at least one of your CPUs does not"
227 ewarn "support this feature. Disabling PepperFlash."
228 sed -e "/^exec/ i set -- --disable-bundled-ppapi-flash \"\$@\"" \
229 -i "${ED}${CHROME_HOME}/google-chrome" || die
230 fi
231 }
232
233 pkg_postinst() {
234 fdo-mime_desktop_database_update
235 gnome2_icon_cache_update
236 readme.gentoo_print_elog
237 }
238
239
240
241 1.1 www-client/google-chrome/google-chrome-31.0.1650.63_p1.ebuild
242
243 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-31.0.1650.63_p1.ebuild?rev=1.1&view=markup
244 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-31.0.1650.63_p1.ebuild?rev=1.1&content-type=text/plain
245
246 Index: google-chrome-31.0.1650.63_p1.ebuild
247 ===================================================================
248 # Copyright 1999-2013 Gentoo Foundation
249 # Distributed under the terms of the GNU General Public License v2
250 # $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-31.0.1650.63_p1.ebuild,v 1.1 2013/12/04 20:32:28 floppym Exp $
251
252 EAPI="4"
253
254 CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
255 hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr
256 sv sw ta te th tr uk vi zh_CN zh_TW"
257
258 inherit readme.gentoo chromium eutils multilib pax-utils unpacker
259
260 DESCRIPTION="The web browser from Google"
261 HOMEPAGE="http://www.google.com/chrome"
262
263 case ${PV} in
264 *_alpha*)
265 SLOT="unstable"
266 MY_PV=${PV/_alpha/-}
267 ;;
268 *_beta*)
269 SLOT="beta"
270 MY_PV=${PV/_beta/-}
271 ;;
272 *_p*)
273 SLOT="stable"
274 MY_PV=${PV/_p/-}
275 ;;
276 *)
277 die "Invalid value for \${PV}: ${PV}"
278 ;;
279 esac
280
281 MY_PN="${PN}-${SLOT}"
282 MY_P="${MY_PN}_${MY_PV}"
283
284 SRC_URI="
285 amd64? (
286 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
287 )
288 x86? (
289 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
290 )
291 "
292
293 LICENSE="google-chrome"
294 KEYWORDS="-* ~amd64 ~x86"
295 IUSE="+plugins"
296 RESTRICT="bindist mirror strip"
297
298 RDEPEND="
299 app-arch/bzip2
300 app-misc/ca-certificates
301 dev-libs/atk
302 dev-libs/expat
303 dev-libs/glib:2
304 dev-libs/libgcrypt
305 dev-libs/nspr
306 dev-libs/nss
307 gnome-base/gconf:2
308 media-libs/alsa-lib
309 media-libs/fontconfig
310 media-libs/freetype
311 net-print/cups
312 sys-apps/dbus
313 >=sys-devel/gcc-4.4.0[cxx]
314 x11-libs/cairo
315 x11-libs/gdk-pixbuf
316 x11-libs/gtk+:2
317 >=x11-libs/libX11-1.5.0
318 x11-libs/libXcomposite
319 x11-libs/libXdamage
320 x11-libs/libXext
321 x11-libs/libXfixes
322 x11-libs/libXi
323 x11-libs/libXrandr
324 x11-libs/libXrender
325 x11-libs/libXScrnSaver
326 x11-libs/libXtst
327 x11-libs/pango
328 x11-misc/xdg-utils
329 "
330
331 # Add blockers for the other slots.
332 for x in 0 beta stable; do
333 if [[ ${SLOT} != ${x} ]]; then
334 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
335 fi
336 done
337
338 QA_PREBUILT="*"
339 S=${WORKDIR}
340
341 DISABLE_AUTOFORMATTING="yes"
342 DOC_CONTENTS="
343 Some web pages may require additional fonts to display properly.
344 Try installing some of the following packages if some characters
345 are not displayed properly:
346 - media-fonts/arphicfonts
347 - media-fonts/bitstream-cyberbit
348 - media-fonts/droid
349 - media-fonts/ipamonafont
350 - media-fonts/ja-ipafonts
351 - media-fonts/takao-fonts
352 - media-fonts/wqy-microhei
353 - media-fonts/wqy-zenhei
354
355 Depending on your desktop environment, you may need
356 to install additional packages to get icons on the Downloads page.
357
358 For KDE, the required package is kde-base/oxygen-icons.
359
360 For other desktop environments, try one of the following:
361 - x11-themes/gnome-icon-theme
362 - x11-themes/tango-icon-theme
363
364 Please notice the bundled flash player (PepperFlash).
365 You can (de)activate all flash plugins via chrome://plugins
366 "
367
368 pkg_nofetch() {
369 eerror "Please wait 24 hours before reporting a bug for google-chrome fetch failures."
370 }
371
372 pkg_setup() {
373 chromium_suid_sandbox_check_kernel_config
374 }
375
376 src_install() {
377 CHROME_HOME="opt/google/chrome"
378
379 mv opt usr "${D}" || die
380 cd "${D}" || die
381
382 pax-mark m "${CHROME_HOME}/chrome"
383 chmod u+s "${CHROME_HOME}/chrome-sandbox" || die
384 rm -rf usr/share/menu || die
385 rmdir usr/share/doc/${PN} || die
386 mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
387 chmod 755 usr/share/doc/${PF} || die
388 dosym /usr/$(get_libdir)/libudev.so "${CHROME_HOME}/libudev.so.0"
389
390 pushd "${CHROME_HOME}/locales" > /dev/null || die
391 chromium_remove_language_paks
392 popd > /dev/null || die
393
394 if use plugins ; then
395 local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins"
396 sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \
397 -i "${CHROME_HOME}/${PN}" || die
398 fi
399
400 domenu "${CHROME_HOME}/${PN}.desktop" || die
401 local size
402 for size in 16 22 24 32 48 64 128 256 ; do
403 newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" ${PN}.png
404 done
405
406 readme.gentoo_create_doc
407 }
408
409 any_cpu_missing_flag() {
410 local value=$1
411 grep '^flags' /proc/cpuinfo | grep -qv "$value"
412 }
413
414 pkg_preinst() {
415 chromium_pkg_preinst
416 if any_cpu_missing_flag sse2; then
417 ewarn "The bundled PepperFlash plugin requires a CPU that supports the"
418 ewarn "SSE2 instruction set, and at least one of your CPUs does not"
419 ewarn "support this feature. Disabling PepperFlash."
420 sed -e "/^exec/ i set -- --disable-bundled-ppapi-flash \"\$@\"" \
421 -i "${ED}${CHROME_HOME}/google-chrome" || die
422 fi
423 }
424
425 pkg_postinst() {
426 fdo-mime_desktop_database_update
427 gnome2_icon_cache_update
428 readme.gentoo_print_elog
429 }