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