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-28.0.1500.95_p213514.ebuild google-chrome-30.0.1581.2_alpha1.ebuild ChangeLog google-chrome-28.0.1500.71_p209842.ebuild google-chrome-30.0.1573.2_alpha1.ebuild
Date: Tue, 30 Jul 2013 22:20:40
Message-Id: 20130730222037.9D5DA2171C@flycatcher.gentoo.org
1 floppym 13/07/30 22:20:37
2
3 Modified: ChangeLog
4 Added: google-chrome-28.0.1500.95_p213514.ebuild
5 google-chrome-30.0.1581.2_alpha1.ebuild
6 Removed: google-chrome-28.0.1500.71_p209842.ebuild
7 google-chrome-30.0.1573.2_alpha1.ebuild
8 Log:
9 Automated update.
10
11 (Portage version: 2.2.0_alpha190/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
12
13 Revision Changes Path
14 1.302 www-client/google-chrome/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?rev=1.302&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?rev=1.302&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?r1=1.301&r2=1.302
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v
23 retrieving revision 1.301
24 retrieving revision 1.302
25 diff -u -r1.301 -r1.302
26 --- ChangeLog 25 Jul 2013 01:50:19 -0000 1.301
27 +++ ChangeLog 30 Jul 2013 22:20:37 -0000 1.302
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.301 2013/07/25 01:50:19 floppym Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v 1.302 2013/07/30 22:20:37 floppym Exp $
33 +
34 +*google-chrome-28.0.1500.95_p213514 (30 Jul 2013)
35 +*google-chrome-30.0.1581.2_alpha1 (30 Jul 2013)
36 +
37 + 30 Jul 2013; Mike Gilbert <floppym@g.o>
38 + +google-chrome-28.0.1500.95_p213514.ebuild,
39 + +google-chrome-30.0.1581.2_alpha1.ebuild,
40 + -google-chrome-28.0.1500.71_p209842.ebuild,
41 + -google-chrome-30.0.1573.2_alpha1.ebuild:
42 + Automated update.
43
44 *google-chrome-29.0.1547.32_beta213282 (25 Jul 2013)
45
46
47
48
49 1.1 www-client/google-chrome/google-chrome-28.0.1500.95_p213514.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-28.0.1500.95_p213514.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-28.0.1500.95_p213514.ebuild?rev=1.1&content-type=text/plain
53
54 Index: google-chrome-28.0.1500.95_p213514.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-28.0.1500.95_p213514.ebuild,v 1.1 2013/07/30 22:20:37 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 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/-r}
75 ;;
76 *_beta*)
77 SLOT="beta"
78 MY_PV=${PV/_beta/-r}
79 ;;
80 *_p*)
81 SLOT="stable"
82 MY_PV=${PV/_p/-r}
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[-nocxx] >=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
126 x11-libs/libXcomposite
127 x11-libs/libXext
128 x11-libs/libXfixes
129 x11-libs/libXrandr
130 x11-libs/libXrender
131 x11-libs/libXScrnSaver
132 x11-libs/pango
133 x11-misc/xdg-utils
134 "
135
136 # Add blockers for the other slots.
137 for x in 0 beta stable unstable; do
138 if [[ ${SLOT} != ${x} ]]; then
139 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
140 fi
141 done
142
143 QA_PREBUILT="*"
144 S=${WORKDIR}
145
146 pkg_nofetch() {
147 eerror "Please wait 24 hours before reporting a bug for google-chrome fetch failures."
148 }
149
150 pkg_setup() {
151 CHROME_HOME="opt/google/chrome/"
152 chromium_suid_sandbox_check_kernel_config
153 }
154
155 src_install() {
156 pax-mark m ${CHROME_HOME}chrome
157 rm -rf usr/share/menu || die
158 mv usr/share/doc/${PN} usr/share/doc/${PF} || die
159
160 pushd "${CHROME_HOME}locales" > /dev/null || die
161 chromium_remove_language_paks
162 popd
163
164 mv opt usr "${D}" || die
165
166 fperms u+s "/${CHROME_HOME}chrome-sandbox" || die
167
168 dosym /usr/$(get_libdir)/libudev.so ${CHROME_HOME}/libudev.so.0
169
170 if use plugins ; then
171 local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins"
172 sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \
173 -i "${D}${CHROME_HOME}google-chrome" || die
174 fi
175
176 domenu "${D}${CHROME_HOME}google-chrome.desktop" || die
177 local size
178 for size in 16 22 24 32 48 64 128 256 ; do
179 insinto /usr/share/icons/hicolor/${size}x${size}/apps
180 newins "${D}${CHROME_HOME}product_logo_${size}.png" google-chrome.png
181 done
182 }
183
184 any_cpu_missing_flag() {
185 local value=$1
186 grep '^flags' /proc/cpuinfo | grep -qv "$value"
187 }
188
189 pkg_preinst() {
190 chromium_pkg_preinst
191 if any_cpu_missing_flag sse2; then
192 ewarn "The bundled PepperFlash plugin requires a CPU that supports the"
193 ewarn "SSE2 instruction set, and at least one of your CPUs does not"
194 ewarn "support this feature. Disabling PepperFlash."
195 sed -e "/^exec/ i set -- --disable-bundled-ppapi-flash \"\$@\"" \
196 -i "${D}${CHROME_HOME}google-chrome" || die
197 fi
198 }
199
200 pkg_postinst() {
201 chromium_pkg_postinst
202
203 einfo
204 elog "Please notice the bundled flash player (PepperFlash)."
205 elog "You can (de)activate all flash plugins via chrome://plugins"
206 einfo
207 }
208
209
210
211 1.1 www-client/google-chrome/google-chrome-30.0.1581.2_alpha1.ebuild
212
213 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-30.0.1581.2_alpha1.ebuild?rev=1.1&view=markup
214 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-30.0.1581.2_alpha1.ebuild?rev=1.1&content-type=text/plain
215
216 Index: google-chrome-30.0.1581.2_alpha1.ebuild
217 ===================================================================
218 # Copyright 1999-2013 Gentoo Foundation
219 # Distributed under the terms of the GNU General Public License v2
220 # $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-30.0.1581.2_alpha1.ebuild,v 1.1 2013/07/30 22:20:37 floppym Exp $
221
222 EAPI="4"
223
224 CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
225 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
226 sv sw ta te th tr uk vi zh_CN zh_TW"
227
228 inherit chromium eutils multilib pax-utils unpacker
229
230 DESCRIPTION="The web browser from Google"
231 HOMEPAGE="http://www.google.com/chrome"
232
233 case ${PV} in
234 *_alpha*)
235 SLOT="unstable"
236 MY_PV=${PV/_alpha/-}
237 ;;
238 *_beta*)
239 SLOT="beta"
240 MY_PV=${PV/_beta/-}
241 ;;
242 *_p*)
243 SLOT="stable"
244 MY_PV=${PV/_p/-}
245 ;;
246 *)
247 die "Invalid value for \${PV}: ${PV}"
248 ;;
249 esac
250
251 MY_PN="${PN}-${SLOT}"
252 MY_P="${MY_PN}_${MY_PV}"
253
254 SRC_URI="
255 amd64? (
256 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb
257 )
258 x86? (
259 http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb
260 )
261 "
262
263 LICENSE="google-chrome"
264 KEYWORDS="-* ~amd64 ~x86"
265 IUSE="+plugins"
266 RESTRICT="bindist mirror strip"
267
268 RDEPEND="
269 app-arch/bzip2
270 app-misc/ca-certificates
271 dev-libs/atk
272 dev-libs/expat
273 dev-libs/glib:2
274 dev-libs/libgcrypt
275 dev-libs/nspr
276 dev-libs/nss
277 gnome-base/gconf:2
278 media-libs/alsa-lib
279 media-libs/fontconfig
280 media-libs/freetype
281 net-print/cups
282 sys-apps/dbus
283 || ( >=sys-devel/gcc-4.4.0[-nocxx] >=sys-devel/gcc-4.4.0[cxx] )
284 x11-libs/cairo
285 x11-libs/gdk-pixbuf
286 x11-libs/gtk+:2
287 >=x11-libs/libX11-1.5.0
288 x11-libs/libXcomposite
289 x11-libs/libXext
290 x11-libs/libXfixes
291 x11-libs/libXrandr
292 x11-libs/libXrender
293 x11-libs/libXScrnSaver
294 x11-libs/pango
295 x11-misc/xdg-utils
296 "
297
298 # Add blockers for the other slots.
299 for x in 0 beta stable unstable; do
300 if [[ ${SLOT} != ${x} ]]; then
301 RDEPEND+=" !${CATEGORY}/${PN}:${x}"
302 fi
303 done
304
305 QA_PREBUILT="*"
306 S=${WORKDIR}
307
308 pkg_nofetch() {
309 eerror "Please wait 24 hours before reporting a bug for google-chrome fetch failures."
310 }
311
312 pkg_setup() {
313 CHROME_HOME="opt/google/chrome/"
314 chromium_suid_sandbox_check_kernel_config
315 }
316
317 src_install() {
318 pax-mark m ${CHROME_HOME}chrome
319 rm -rf usr/share/menu || die
320 mv usr/share/doc/${PN} usr/share/doc/${PF} || die
321
322 pushd "${CHROME_HOME}locales" > /dev/null || die
323 chromium_remove_language_paks
324 popd
325
326 mv opt usr "${D}" || die
327
328 fperms u+s "/${CHROME_HOME}chrome-sandbox" || die
329
330 dosym /usr/$(get_libdir)/libudev.so ${CHROME_HOME}/libudev.so.0
331
332 if use plugins ; then
333 local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins"
334 sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \
335 -i "${D}${CHROME_HOME}google-chrome" || die
336 fi
337
338 domenu "${D}${CHROME_HOME}google-chrome.desktop" || die
339 local size
340 for size in 16 22 24 32 48 64 128 256 ; do
341 insinto /usr/share/icons/hicolor/${size}x${size}/apps
342 newins "${D}${CHROME_HOME}product_logo_${size}.png" google-chrome.png
343 done
344 }
345
346 any_cpu_missing_flag() {
347 local value=$1
348 grep '^flags' /proc/cpuinfo | grep -qv "$value"
349 }
350
351 pkg_preinst() {
352 chromium_pkg_preinst
353 if any_cpu_missing_flag sse2; then
354 ewarn "The bundled PepperFlash plugin requires a CPU that supports the"
355 ewarn "SSE2 instruction set, and at least one of your CPUs does not"
356 ewarn "support this feature. Disabling PepperFlash."
357 sed -e "/^exec/ i set -- --disable-bundled-ppapi-flash \"\$@\"" \
358 -i "${D}${CHROME_HOME}google-chrome" || die
359 fi
360 }
361
362 pkg_postinst() {
363 chromium_pkg_postinst
364
365 einfo
366 elog "Please notice the bundled flash player (PepperFlash)."
367 elog "You can (de)activate all flash plugins via chrome://plugins"
368 einfo
369 }