1 |
floppym 13/01/31 00:25:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: google-chrome-25.0.1364.58_beta179520.ebuild |
5 |
google-chrome-26.0.1397.2_alpha179372.ebuild |
6 |
google-chrome-24.0.1312.57_p178923.ebuild |
7 |
Removed: google-chrome-26.0.1386.0_alpha177362.ebuild |
8 |
google-chrome-25.0.1364.45_beta178221.ebuild |
9 |
google-chrome-24.0.1312.56_p177594.ebuild |
10 |
Log: |
11 |
Bump. |
12 |
|
13 |
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
14 |
|
15 |
Revision Changes Path |
16 |
1.238 www-client/google-chrome/ChangeLog |
17 |
|
18 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?rev=1.238&view=markup |
19 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?rev=1.238&content-type=text/plain |
20 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?r1=1.237&r2=1.238 |
21 |
|
22 |
Index: ChangeLog |
23 |
=================================================================== |
24 |
RCS file: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v |
25 |
retrieving revision 1.237 |
26 |
retrieving revision 1.238 |
27 |
diff -u -r1.237 -r1.238 |
28 |
--- ChangeLog 23 Jan 2013 23:44:59 -0000 1.237 |
29 |
+++ ChangeLog 31 Jan 2013 00:25:35 -0000 1.238 |
30 |
@@ -1,6 +1,19 @@ |
31 |
# ChangeLog for www-client/google-chrome |
32 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
33 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v 1.237 2013/01/23 23:44:59 floppym Exp $ |
34 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v 1.238 2013/01/31 00:25:35 floppym Exp $ |
35 |
+ |
36 |
+*google-chrome-26.0.1397.2_alpha179372 (31 Jan 2013) |
37 |
+*google-chrome-25.0.1364.58_beta179520 (31 Jan 2013) |
38 |
+*google-chrome-24.0.1312.57_p178923 (31 Jan 2013) |
39 |
+ |
40 |
+ 31 Jan 2013; Mike Gilbert <floppym@g.o> |
41 |
+ +google-chrome-24.0.1312.57_p178923.ebuild, |
42 |
+ +google-chrome-25.0.1364.58_beta179520.ebuild, |
43 |
+ +google-chrome-26.0.1397.2_alpha179372.ebuild, |
44 |
+ -google-chrome-24.0.1312.56_p177594.ebuild, |
45 |
+ -google-chrome-25.0.1364.45_beta178221.ebuild, |
46 |
+ -google-chrome-26.0.1386.0_alpha177362.ebuild: |
47 |
+ Bump. |
48 |
|
49 |
*google-chrome-25.0.1364.45_beta178221 (23 Jan 2013) |
50 |
|
51 |
|
52 |
|
53 |
|
54 |
1.1 www-client/google-chrome/google-chrome-25.0.1364.58_beta179520.ebuild |
55 |
|
56 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-25.0.1364.58_beta179520.ebuild?rev=1.1&view=markup |
57 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-25.0.1364.58_beta179520.ebuild?rev=1.1&content-type=text/plain |
58 |
|
59 |
Index: google-chrome-25.0.1364.58_beta179520.ebuild |
60 |
=================================================================== |
61 |
# Copyright 1999-2013 Gentoo Foundation |
62 |
# Distributed under the terms of the GNU General Public License v2 |
63 |
# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-25.0.1364.58_beta179520.ebuild,v 1.1 2013/01/31 00:25:35 floppym Exp $ |
64 |
|
65 |
EAPI="4" |
66 |
|
67 |
CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he |
68 |
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 |
69 |
sv sw ta te th tr uk vi zh_CN zh_TW" |
70 |
|
71 |
inherit chromium eutils multilib pax-utils unpacker |
72 |
|
73 |
DESCRIPTION="The web browser from Google" |
74 |
HOMEPAGE="http://www.google.com/chrome" |
75 |
|
76 |
case ${PV} in |
77 |
*_alpha*) |
78 |
SLOT="unstable" |
79 |
MY_PV=${PV/_alpha/-r} |
80 |
;; |
81 |
*_beta*) |
82 |
SLOT="beta" |
83 |
MY_PV=${PV/_beta/-r} |
84 |
;; |
85 |
*_p*) |
86 |
SLOT="stable" |
87 |
MY_PV=${PV/_p/-r} |
88 |
;; |
89 |
*) |
90 |
die "Invalid value for \${PV}: ${PV}" |
91 |
;; |
92 |
esac |
93 |
|
94 |
MY_PN="${PN}-${SLOT}" |
95 |
MY_P="${MY_PN}_${MY_PV}" |
96 |
|
97 |
SRC_URI=" |
98 |
amd64? ( |
99 |
http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb |
100 |
mirror://gentoo/google-chrome-libudev-0.13.1-amd64.tar.xz |
101 |
) |
102 |
x86? ( |
103 |
http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb |
104 |
mirror://gentoo/google-chrome-libudev-0.13.1-x86.tar.xz |
105 |
) |
106 |
" |
107 |
|
108 |
LICENSE="google-chrome" |
109 |
KEYWORDS="-* ~amd64 ~x86" |
110 |
IUSE="+plugins" |
111 |
RESTRICT="bindist mirror strip" |
112 |
|
113 |
RDEPEND=" |
114 |
app-arch/bzip2 |
115 |
app-misc/ca-certificates |
116 |
dev-libs/atk |
117 |
dev-libs/expat |
118 |
dev-libs/glib:2 |
119 |
dev-libs/libgcrypt |
120 |
dev-libs/nspr |
121 |
dev-libs/nss |
122 |
gnome-base/gconf:2 |
123 |
media-libs/alsa-lib |
124 |
media-libs/fontconfig |
125 |
media-libs/freetype |
126 |
net-print/cups |
127 |
sys-apps/dbus |
128 |
|| ( >=sys-devel/gcc-4.4.0[-nocxx] >=sys-devel/gcc-4.4.0[cxx] ) |
129 |
x11-libs/cairo |
130 |
x11-libs/gdk-pixbuf |
131 |
x11-libs/gtk+:2 |
132 |
x11-libs/libX11 |
133 |
x11-libs/libXcomposite |
134 |
x11-libs/libXext |
135 |
x11-libs/libXfixes |
136 |
x11-libs/libXrandr |
137 |
x11-libs/libXrender |
138 |
x11-libs/libXScrnSaver |
139 |
x11-libs/pango |
140 |
x11-misc/xdg-utils |
141 |
" |
142 |
|
143 |
# Add blockers for the other slots. |
144 |
for x in 0 beta stable unstable; do |
145 |
if [[ ${SLOT} != ${x} ]]; then |
146 |
RDEPEND+=" !${CATEGORY}/${PN}:${x}" |
147 |
fi |
148 |
done |
149 |
|
150 |
QA_PREBUILT="*" |
151 |
S=${WORKDIR} |
152 |
|
153 |
pkg_nofetch() { |
154 |
eerror "Please wait 24 hours before reporting a bug for google-chrome fetch failures." |
155 |
} |
156 |
|
157 |
pkg_setup() { |
158 |
CHROME_HOME="opt/google/chrome/" |
159 |
chromium_suid_sandbox_check_kernel_config |
160 |
} |
161 |
|
162 |
src_install() { |
163 |
pax-mark m ${CHROME_HOME}chrome || die |
164 |
rm -rf usr/share/menu || die |
165 |
mv usr/share/doc/${PN} usr/share/doc/${PF} || die |
166 |
|
167 |
pushd "${CHROME_HOME}locales" > /dev/null || die |
168 |
chromium_remove_language_paks |
169 |
popd |
170 |
|
171 |
mv opt usr "${D}" || die |
172 |
|
173 |
fperms u+s "/${CHROME_HOME}chrome-sandbox" || die |
174 |
|
175 |
if use plugins ; then |
176 |
local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" |
177 |
sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ |
178 |
-i "${D}${CHROME_HOME}google-chrome" || die |
179 |
fi |
180 |
|
181 |
domenu "${D}${CHROME_HOME}google-chrome.desktop" || die |
182 |
local size |
183 |
for size in 16 22 24 32 48 64 128 256 ; do |
184 |
insinto /usr/share/icons/hicolor/${size}x${size}/apps |
185 |
newins "${D}${CHROME_HOME}product_logo_${size}.png" google-chrome.png |
186 |
done |
187 |
} |
188 |
|
189 |
any_cpu_missing_flag() { |
190 |
local value=$1 |
191 |
grep '^flags' /proc/cpuinfo | grep -qv "$value" |
192 |
} |
193 |
|
194 |
pkg_preinst() { |
195 |
chromium_pkg_preinst |
196 |
if any_cpu_missing_flag sse2; then |
197 |
ewarn "The bundled PepperFlash plugin requires a CPU that supports the" |
198 |
ewarn "SSE2 instruction set, and at least one of your CPUs does not" |
199 |
ewarn "support this feature. Disabling PepperFlash." |
200 |
sed -e "/^exec/ i set -- --disable-bundled-ppapi-flash \"\$@\"" \ |
201 |
-i "${D}${CHROME_HOME}google-chrome" || die |
202 |
fi |
203 |
} |
204 |
|
205 |
pkg_postinst() { |
206 |
chromium_pkg_postinst |
207 |
|
208 |
einfo |
209 |
elog "Please notice the bundled flash player (PepperFlash)." |
210 |
elog "You can (de)activate all flash plugins via chrome://plugins" |
211 |
einfo |
212 |
} |
213 |
|
214 |
|
215 |
|
216 |
1.1 www-client/google-chrome/google-chrome-26.0.1397.2_alpha179372.ebuild |
217 |
|
218 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-26.0.1397.2_alpha179372.ebuild?rev=1.1&view=markup |
219 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-26.0.1397.2_alpha179372.ebuild?rev=1.1&content-type=text/plain |
220 |
|
221 |
Index: google-chrome-26.0.1397.2_alpha179372.ebuild |
222 |
=================================================================== |
223 |
# Copyright 1999-2013 Gentoo Foundation |
224 |
# Distributed under the terms of the GNU General Public License v2 |
225 |
# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-26.0.1397.2_alpha179372.ebuild,v 1.1 2013/01/31 00:25:35 floppym Exp $ |
226 |
|
227 |
EAPI="4" |
228 |
|
229 |
CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he |
230 |
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 |
231 |
sv sw ta te th tr uk vi zh_CN zh_TW" |
232 |
|
233 |
inherit chromium eutils multilib pax-utils unpacker |
234 |
|
235 |
DESCRIPTION="The web browser from Google" |
236 |
HOMEPAGE="http://www.google.com/chrome" |
237 |
|
238 |
case ${PV} in |
239 |
*_alpha*) |
240 |
SLOT="unstable" |
241 |
MY_PV=${PV/_alpha/-r} |
242 |
;; |
243 |
*_beta*) |
244 |
SLOT="beta" |
245 |
MY_PV=${PV/_beta/-r} |
246 |
;; |
247 |
*_p*) |
248 |
SLOT="stable" |
249 |
MY_PV=${PV/_p/-r} |
250 |
;; |
251 |
*) |
252 |
die "Invalid value for \${PV}: ${PV}" |
253 |
;; |
254 |
esac |
255 |
|
256 |
MY_PN="${PN}-${SLOT}" |
257 |
MY_P="${MY_PN}_${MY_PV}" |
258 |
|
259 |
SRC_URI=" |
260 |
amd64? ( |
261 |
http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb |
262 |
mirror://gentoo/google-chrome-libudev-0.13.1-amd64.tar.xz |
263 |
) |
264 |
x86? ( |
265 |
http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb |
266 |
mirror://gentoo/google-chrome-libudev-0.13.1-x86.tar.xz |
267 |
) |
268 |
" |
269 |
|
270 |
LICENSE="google-chrome" |
271 |
KEYWORDS="-* ~amd64 ~x86" |
272 |
IUSE="+plugins" |
273 |
RESTRICT="bindist mirror strip" |
274 |
|
275 |
RDEPEND=" |
276 |
app-arch/bzip2 |
277 |
app-misc/ca-certificates |
278 |
dev-libs/atk |
279 |
dev-libs/expat |
280 |
dev-libs/glib:2 |
281 |
dev-libs/libgcrypt |
282 |
dev-libs/nspr |
283 |
dev-libs/nss |
284 |
gnome-base/gconf:2 |
285 |
media-libs/alsa-lib |
286 |
media-libs/fontconfig |
287 |
media-libs/freetype |
288 |
net-print/cups |
289 |
sys-apps/dbus |
290 |
|| ( >=sys-devel/gcc-4.4.0[-nocxx] >=sys-devel/gcc-4.4.0[cxx] ) |
291 |
x11-libs/cairo |
292 |
x11-libs/gdk-pixbuf |
293 |
x11-libs/gtk+:2 |
294 |
x11-libs/libX11 |
295 |
x11-libs/libXcomposite |
296 |
x11-libs/libXext |
297 |
x11-libs/libXfixes |
298 |
x11-libs/libXrandr |
299 |
x11-libs/libXrender |
300 |
x11-libs/libXScrnSaver |
301 |
x11-libs/pango |
302 |
x11-misc/xdg-utils |
303 |
" |
304 |
|
305 |
# Add blockers for the other slots. |
306 |
for x in 0 beta stable unstable; do |
307 |
if [[ ${SLOT} != ${x} ]]; then |
308 |
RDEPEND+=" !${CATEGORY}/${PN}:${x}" |
309 |
fi |
310 |
done |
311 |
|
312 |
QA_PREBUILT="*" |
313 |
S=${WORKDIR} |
314 |
|
315 |
pkg_nofetch() { |
316 |
eerror "Please wait 24 hours before reporting a bug for google-chrome fetch failures." |
317 |
} |
318 |
|
319 |
pkg_setup() { |
320 |
CHROME_HOME="opt/google/chrome/" |
321 |
chromium_suid_sandbox_check_kernel_config |
322 |
} |
323 |
|
324 |
src_install() { |
325 |
pax-mark m ${CHROME_HOME}chrome || die |
326 |
rm -rf usr/share/menu || die |
327 |
mv usr/share/doc/${PN} usr/share/doc/${PF} || die |
328 |
|
329 |
pushd "${CHROME_HOME}locales" > /dev/null || die |
330 |
chromium_remove_language_paks |
331 |
popd |
332 |
|
333 |
mv opt usr "${D}" || die |
334 |
|
335 |
fperms u+s "/${CHROME_HOME}chrome-sandbox" || die |
336 |
|
337 |
if use plugins ; then |
338 |
local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" |
339 |
sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ |
340 |
-i "${D}${CHROME_HOME}google-chrome" || die |
341 |
fi |
342 |
|
343 |
domenu "${D}${CHROME_HOME}google-chrome.desktop" || die |
344 |
local size |
345 |
for size in 16 22 24 32 48 64 128 256 ; do |
346 |
insinto /usr/share/icons/hicolor/${size}x${size}/apps |
347 |
newins "${D}${CHROME_HOME}product_logo_${size}.png" google-chrome.png |
348 |
done |
349 |
} |
350 |
|
351 |
any_cpu_missing_flag() { |
352 |
local value=$1 |
353 |
grep '^flags' /proc/cpuinfo | grep -qv "$value" |
354 |
} |
355 |
|
356 |
pkg_preinst() { |
357 |
chromium_pkg_preinst |
358 |
if any_cpu_missing_flag sse2; then |
359 |
ewarn "The bundled PepperFlash plugin requires a CPU that supports the" |
360 |
ewarn "SSE2 instruction set, and at least one of your CPUs does not" |
361 |
ewarn "support this feature. Disabling PepperFlash." |
362 |
sed -e "/^exec/ i set -- --disable-bundled-ppapi-flash \"\$@\"" \ |
363 |
-i "${D}${CHROME_HOME}google-chrome" || die |
364 |
fi |
365 |
} |
366 |
|
367 |
pkg_postinst() { |
368 |
chromium_pkg_postinst |
369 |
|
370 |
einfo |
371 |
elog "Please notice the bundled flash player (PepperFlash)." |
372 |
elog "You can (de)activate all flash plugins via chrome://plugins" |
373 |
einfo |
374 |
} |
375 |
|
376 |
|
377 |
|
378 |
1.1 www-client/google-chrome/google-chrome-24.0.1312.57_p178923.ebuild |
379 |
|
380 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-24.0.1312.57_p178923.ebuild?rev=1.1&view=markup |
381 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-24.0.1312.57_p178923.ebuild?rev=1.1&content-type=text/plain |
382 |
|
383 |
Index: google-chrome-24.0.1312.57_p178923.ebuild |
384 |
=================================================================== |
385 |
# Copyright 1999-2013 Gentoo Foundation |
386 |
# Distributed under the terms of the GNU General Public License v2 |
387 |
# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-24.0.1312.57_p178923.ebuild,v 1.1 2013/01/31 00:25:35 floppym Exp $ |
388 |
|
389 |
EAPI="4" |
390 |
|
391 |
CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he |
392 |
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 |
393 |
sv sw ta te th tr uk vi zh_CN zh_TW" |
394 |
|
395 |
inherit chromium eutils multilib pax-utils unpacker |
396 |
|
397 |
DESCRIPTION="The web browser from Google" |
398 |
HOMEPAGE="http://www.google.com/chrome" |
399 |
|
400 |
case ${PV} in |
401 |
*_alpha*) |
402 |
SLOT="unstable" |
403 |
MY_PV=${PV/_alpha/-r} |
404 |
;; |
405 |
*_beta*) |
406 |
SLOT="beta" |
407 |
MY_PV=${PV/_beta/-r} |
408 |
;; |
409 |
*_p*) |
410 |
SLOT="stable" |
411 |
MY_PV=${PV/_p/-r} |
412 |
;; |
413 |
*) |
414 |
die "Invalid value for \${PV}: ${PV}" |
415 |
;; |
416 |
esac |
417 |
|
418 |
MY_PN="${PN}-${SLOT}" |
419 |
MY_P="${MY_PN}_${MY_PV}" |
420 |
|
421 |
SRC_URI=" |
422 |
amd64? ( |
423 |
http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb |
424 |
mirror://gentoo/google-chrome-libudev-0.13.1-amd64.tar.xz |
425 |
) |
426 |
x86? ( |
427 |
http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb |
428 |
mirror://gentoo/google-chrome-libudev-0.13.1-x86.tar.xz |
429 |
) |
430 |
" |
431 |
|
432 |
LICENSE="google-chrome" |
433 |
KEYWORDS="-* ~amd64 ~x86" |
434 |
IUSE="+plugins" |
435 |
RESTRICT="bindist mirror strip" |
436 |
|
437 |
RDEPEND=" |
438 |
app-arch/bzip2 |
439 |
app-misc/ca-certificates |
440 |
dev-libs/atk |
441 |
dev-libs/expat |
442 |
dev-libs/glib:2 |
443 |
dev-libs/libgcrypt |
444 |
dev-libs/nspr |
445 |
dev-libs/nss |
446 |
gnome-base/gconf:2 |
447 |
media-libs/alsa-lib |
448 |
media-libs/fontconfig |
449 |
media-libs/freetype |
450 |
net-print/cups |
451 |
sys-apps/dbus |
452 |
|| ( >=sys-devel/gcc-4.4.0[-nocxx] >=sys-devel/gcc-4.4.0[cxx] ) |
453 |
x11-libs/cairo |
454 |
x11-libs/gdk-pixbuf |
455 |
x11-libs/gtk+:2 |
456 |
x11-libs/libX11 |
457 |
x11-libs/libXext |
458 |
x11-libs/libXfixes |
459 |
x11-libs/libXrandr |
460 |
x11-libs/libXrender |
461 |
x11-libs/libXScrnSaver |
462 |
x11-libs/pango |
463 |
x11-misc/xdg-utils |
464 |
" |
465 |
|
466 |
# Add blockers for the other slots. |
467 |
for x in 0 beta stable unstable; do |
468 |
if [[ ${SLOT} != ${x} ]]; then |
469 |
RDEPEND+=" !${CATEGORY}/${PN}:${x}" |
470 |
fi |
471 |
done |
472 |
|
473 |
QA_PREBUILT="*" |
474 |
S=${WORKDIR} |
475 |
|
476 |
pkg_nofetch() { |
477 |
eerror "Please wait 24 hours before reporting a bug for google-chrome fetch failures." |
478 |
} |
479 |
|
480 |
pkg_setup() { |
481 |
CHROME_HOME="opt/google/chrome/" |
482 |
chromium_suid_sandbox_check_kernel_config |
483 |
} |
484 |
|
485 |
src_install() { |
486 |
pax-mark m ${CHROME_HOME}chrome || die |
487 |
rm -rf usr/share/menu || die |
488 |
mv usr/share/doc/${PN} usr/share/doc/${PF} || die |
489 |
|
490 |
pushd "${CHROME_HOME}locales" > /dev/null || die |
491 |
chromium_remove_language_paks |
492 |
popd |
493 |
|
494 |
mv opt usr "${D}" || die |
495 |
|
496 |
fperms u+s "/${CHROME_HOME}chrome-sandbox" || die |
497 |
|
498 |
if use plugins ; then |
499 |
local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" |
500 |
sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ |
501 |
-i "${D}${CHROME_HOME}google-chrome" || die |
502 |
fi |
503 |
|
504 |
domenu "${D}${CHROME_HOME}google-chrome.desktop" || die |
505 |
local size |
506 |
for size in 16 22 24 32 48 64 128 256 ; do |
507 |
insinto /usr/share/icons/hicolor/${size}x${size}/apps |
508 |
newins "${D}${CHROME_HOME}product_logo_${size}.png" google-chrome.png |
509 |
done |
510 |
} |
511 |
|
512 |
any_cpu_missing_flag() { |
513 |
local value=$1 |
514 |
grep '^flags' /proc/cpuinfo | grep -qv "$value" |
515 |
} |
516 |
|
517 |
pkg_preinst() { |
518 |
chromium_pkg_preinst |
519 |
if any_cpu_missing_flag sse2; then |
520 |
ewarn "The bundled PepperFlash plugin requires a CPU that supports the" |
521 |
ewarn "SSE2 instruction set, and at least one of your CPUs does not" |
522 |
ewarn "support this feature. Disabling PepperFlash." |
523 |
sed -e "/^exec/ i set -- --disable-bundled-ppapi-flash \"\$@\"" \ |
524 |
-i "${D}${CHROME_HOME}google-chrome" || die |
525 |
fi |
526 |
} |
527 |
|
528 |
pkg_postinst() { |
529 |
chromium_pkg_postinst |
530 |
|
531 |
einfo |
532 |
elog "Please notice the bundled flash player (PepperFlash)." |
533 |
elog "You can (de)activate all flash plugins via chrome://plugins" |
534 |
einfo |
535 |
} |