1 |
floppym 14/02/28 01:18:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: google-chrome-beta-34.0.1847.14_p1.ebuild |
5 |
Removed: google-chrome-beta-33.0.1750.117_p1.ebuild |
6 |
Log: |
7 |
Automated update. |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.9 www-client/google-chrome-beta/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome-beta/ChangeLog?rev=1.9&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome-beta/ChangeLog?rev=1.9&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome-beta/ChangeLog?r1=1.8&r2=1.9 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-client/google-chrome-beta/ChangeLog,v |
21 |
retrieving revision 1.8 |
22 |
retrieving revision 1.9 |
23 |
diff -u -r1.8 -r1.9 |
24 |
--- ChangeLog 24 Feb 2014 04:08:51 -0000 1.8 |
25 |
+++ ChangeLog 28 Feb 2014 01:18:12 -0000 1.9 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for www-client/google-chrome-beta |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome-beta/ChangeLog,v 1.8 2014/02/24 04:08:51 floppym Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome-beta/ChangeLog,v 1.9 2014/02/28 01:18:12 floppym Exp $ |
31 |
+ |
32 |
+*google-chrome-beta-34.0.1847.14_p1 (28 Feb 2014) |
33 |
+ |
34 |
+ 28 Feb 2014; Mike Gilbert <floppym@g.o> |
35 |
+ +google-chrome-beta-34.0.1847.14_p1.ebuild, |
36 |
+ -google-chrome-beta-33.0.1750.117_p1.ebuild: |
37 |
+ Automated update. |
38 |
|
39 |
24 Feb 2014; Mike Gilbert <floppym@g.o> |
40 |
google-chrome-beta-33.0.1750.117_p1.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 www-client/google-chrome-beta/google-chrome-beta-34.0.1847.14_p1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome-beta/google-chrome-beta-34.0.1847.14_p1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome-beta/google-chrome-beta-34.0.1847.14_p1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: google-chrome-beta-34.0.1847.14_p1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome-beta/google-chrome-beta-34.0.1847.14_p1.ebuild,v 1.1 2014/02/28 01:18:12 floppym Exp $ |
54 |
|
55 |
EAPI="5" |
56 |
|
57 |
CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he |
58 |
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 |
59 |
sv sw ta te th tr uk vi zh_CN zh_TW" |
60 |
|
61 |
inherit readme.gentoo chromium eutils multilib pax-utils unpacker |
62 |
|
63 |
DESCRIPTION="The web browser from Google" |
64 |
HOMEPAGE="http://www.google.com/chrome" |
65 |
|
66 |
if [[ ${PN} == google-chrome ]]; then |
67 |
MY_PN=${PN}-stable |
68 |
else |
69 |
MY_PN=${PN} |
70 |
fi |
71 |
|
72 |
MY_P="${MY_PN}_${PV/_p/-}" |
73 |
|
74 |
# Bundle a copy of libgcrypt, bug 494596 |
75 |
LIBGCRYPT="libgcrypt.so.11.8.2" |
76 |
|
77 |
SRC_URI=" |
78 |
amd64? ( |
79 |
http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb |
80 |
http://dev.gentoo.org/~floppym/dist/${LIBGCRYPT}-amd64.xz |
81 |
) |
82 |
x86? ( |
83 |
http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb |
84 |
http://dev.gentoo.org/~floppym/dist/${LIBGCRYPT}-x86.xz |
85 |
) |
86 |
" |
87 |
|
88 |
LICENSE="google-chrome" |
89 |
SLOT="0" |
90 |
KEYWORDS="-* ~amd64 ~x86" |
91 |
IUSE="+plugins" |
92 |
RESTRICT="bindist mirror strip" |
93 |
|
94 |
RDEPEND=" |
95 |
app-arch/bzip2 |
96 |
app-misc/ca-certificates |
97 |
dev-libs/atk |
98 |
dev-libs/expat |
99 |
dev-libs/glib:2 |
100 |
dev-libs/libgcrypt |
101 |
dev-libs/nspr |
102 |
dev-libs/nss |
103 |
gnome-base/gconf:2 |
104 |
media-libs/alsa-lib |
105 |
media-libs/fontconfig |
106 |
media-libs/freetype |
107 |
net-print/cups |
108 |
sys-apps/dbus |
109 |
>=sys-devel/gcc-4.4.0[cxx] |
110 |
sys-libs/libcap |
111 |
x11-libs/cairo |
112 |
x11-libs/gdk-pixbuf |
113 |
x11-libs/gtk+:2 |
114 |
>=x11-libs/libX11-1.5.0 |
115 |
x11-libs/libXcomposite |
116 |
x11-libs/libXdamage |
117 |
x11-libs/libXext |
118 |
x11-libs/libXfixes |
119 |
x11-libs/libXi |
120 |
x11-libs/libXrandr |
121 |
x11-libs/libXrender |
122 |
x11-libs/libXScrnSaver |
123 |
x11-libs/libXtst |
124 |
x11-libs/pango |
125 |
x11-misc/xdg-utils |
126 |
" |
127 |
|
128 |
if [[ ${PN} == google-chrome ]]; then |
129 |
RDEPEND+=" |
130 |
!www-client/google-chrome:beta |
131 |
!www-client/google-chrome:stable |
132 |
!www-client/google-chrome:unstable |
133 |
" |
134 |
fi |
135 |
|
136 |
for x in google-chrome{,-beta,-unstable}; do |
137 |
if [[ ${PN} != ${x} ]]; then |
138 |
RDEPEND+=" !www-client/${x}" |
139 |
fi |
140 |
done |
141 |
unset x |
142 |
|
143 |
QA_PREBUILT="*" |
144 |
S=${WORKDIR} |
145 |
|
146 |
DISABLE_AUTOFORMATTING="yes" |
147 |
DOC_CONTENTS=" |
148 |
Some web pages may require additional fonts to display properly. |
149 |
Try installing some of the following packages if some characters |
150 |
are not displayed properly: |
151 |
- media-fonts/arphicfonts |
152 |
- media-fonts/bitstream-cyberbit |
153 |
- media-fonts/droid |
154 |
- media-fonts/ipamonafont |
155 |
- media-fonts/ja-ipafonts |
156 |
- media-fonts/takao-fonts |
157 |
- media-fonts/wqy-microhei |
158 |
- media-fonts/wqy-zenhei |
159 |
|
160 |
Depending on your desktop environment, you may need |
161 |
to install additional packages to get icons on the Downloads page. |
162 |
|
163 |
For KDE, the required package is kde-base/oxygen-icons. |
164 |
|
165 |
For other desktop environments, try one of the following: |
166 |
- x11-themes/gnome-icon-theme |
167 |
- x11-themes/tango-icon-theme |
168 |
|
169 |
Please notice the bundled flash player (PepperFlash). |
170 |
You can (de)activate all flash plugins via chrome://plugins |
171 |
" |
172 |
|
173 |
pkg_nofetch() { |
174 |
eerror "Please wait 24 hours before reporting a bug for google-chrome fetch failures." |
175 |
} |
176 |
|
177 |
pkg_setup() { |
178 |
chromium_suid_sandbox_check_kernel_config |
179 |
} |
180 |
|
181 |
src_install() { |
182 |
CHROME_HOME="opt/google/chrome${PN#google-chrome}" |
183 |
|
184 |
rm -r usr/share/menu || die |
185 |
rmdir usr/share/doc/google-chrome || die |
186 |
mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die |
187 |
|
188 |
pushd "${CHROME_HOME}/locales" > /dev/null || die |
189 |
chromium_remove_language_paks |
190 |
popd > /dev/null || die |
191 |
|
192 |
if use plugins ; then |
193 |
local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" |
194 |
sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ |
195 |
-i "${CHROME_HOME}/google-chrome" || die |
196 |
fi |
197 |
|
198 |
local size |
199 |
for size in 16 22 24 32 48 64 128 256 ; do |
200 |
newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" google-chrome.png |
201 |
done |
202 |
|
203 |
insinto / |
204 |
doins -r opt usr |
205 |
|
206 |
fperms 755 "/${CHROME_HOME}"/{{,google-}chrome,nacl_helper{,_bootstrap},xdg-{mime,settings}} |
207 |
fperms 4755 "/${CHROME_HOME}/chrome-sandbox" |
208 |
pax-mark m "${ED}${CHROME_HOME}/chrome" |
209 |
dosym /usr/$(get_libdir)/libudev.so "${CHROME_HOME}/libudev.so.0" |
210 |
|
211 |
insinto "${CHROME_HOME}" |
212 |
newins "${WORKDIR}/${LIBGCRYPT}-$(usev amd64)$(usev x86)" libgcrypt.so.11 |
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 |
} |