From 050a5a781d4a0a09cd54e276fdad1ebf694eec4d Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 16 Sep 2015 11:23:38 -0400 Subject: www-client/google-chrome: automated update Package-Manager: portage-2.2.20 --- www-client/google-chrome/Manifest | 4 +- .../google-chrome-45.0.2454.85_p1.ebuild | 160 --------------------- .../google-chrome-45.0.2454.93_p1.ebuild | 160 +++++++++++++++++++++ 3 files changed, 162 insertions(+), 162 deletions(-) delete mode 100644 www-client/google-chrome/google-chrome-45.0.2454.85_p1.ebuild create mode 100644 www-client/google-chrome/google-chrome-45.0.2454.93_p1.ebuild diff --git a/www-client/google-chrome/Manifest b/www-client/google-chrome/Manifest index a09167a8d66..dd57b12a582 100644 --- a/www-client/google-chrome/Manifest +++ b/www-client/google-chrome/Manifest @@ -1,2 +1,2 @@ -DIST google-chrome-stable_45.0.2454.85-1_amd64.deb 47970800 SHA256 01873f603b06a7f431c957eef912ba8713339a0dfff5003612e1fa91ef54c334 SHA512 6d49859e4adb67639fa9dc93076f598fa084da6447ceabd58b5f499564659bd6db0b4079c3192c78b713da170454a542184bab866fe5968eb6d419fec4f212ef WHIRLPOOL 53baded2a119507f237b0a8c77239c692e240a4c9a1de46bcc0ac62218c53b947a295a983391cb2269b4509d6ef366ad58b0928a3759ad930aec0e6894984246 -DIST google-chrome-stable_45.0.2454.85-1_i386.deb 47646372 SHA256 3bf8a47a853cfdc0bf8c0712371d7c9ec52b43166265aa5d73bc0055cca985a4 SHA512 76f82e7deea32112fc16ed37609ed00e8a158ab5a89f9766fb97b60bc914d1a9d983cfd54b24ea1ead0170da7573ddaf120a1077235a06db9f34f40284d47732 WHIRLPOOL 7db5e7920a2c0e325351c1fbc97ded749e9818807c72b58fe53e0b558f6771febe4a5a38ed1ba86b301e425ea26c03f7f7395ddd77e6e7968903f3d05c071d26 +DIST google-chrome-stable_45.0.2454.93-1_amd64.deb 48057428 SHA256 96bbc7cf5ae261527a64e178fa4bc4f244f1b4ad3405a13ad99ac1cc8e3bf480 SHA512 90e04d9684fc39510dd6ef78fab39dc267d945fd433dfc476ea2132d27e7c8c6424368604618a8ec468ab6dcefb32ddd32a269bc9adda402ce5c53c02378a4cb WHIRLPOOL 4062afcfff906752ff95f75b762466e51108db12ebc4666198bfa7e02ed7b595aea5e5b940abd8b178460b9d653dd338bce99f530b66554d680c96dea9c1dc8a +DIST google-chrome-stable_45.0.2454.93-1_i386.deb 47005078 SHA256 8fe110d79fe45db9b27f27dcee76f0848b7373fca7cc21ccc2a44a0599afcdbe SHA512 5f8399ac0034044d6bbbbb5b7838bf237a543521415c42a6fd2c4c36f5ceacbd282d21a1ca1850291b6aa80bdee5cf6ab1a0ee46b759e55fc7574e0107b51d58 WHIRLPOOL b7cf50761cccc3fa81a6f0f78d01a659344753341b9c6c264866fd7e15d4c72aa8505575df240c8d9b474e2b7c1c9abd5ba14851f9a04b2d575b8365a20da393 diff --git a/www-client/google-chrome/google-chrome-45.0.2454.85_p1.ebuild b/www-client/google-chrome/google-chrome-45.0.2454.85_p1.ebuild deleted file mode 100644 index 16a97bed9bb..00000000000 --- a/www-client/google-chrome/google-chrome-45.0.2454.85_p1.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he - 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 - sv sw ta te th tr uk vi zh_CN zh_TW" - -inherit readme.gentoo chromium eutils multilib pax-utils unpacker - -DESCRIPTION="The web browser from Google" -HOMEPAGE="https://www.google.com/chrome" - -if [[ ${PN} == google-chrome ]]; then - MY_PN=${PN}-stable -else - MY_PN=${PN} -fi - -MY_P="${MY_PN}_${PV/_p/-}" - -SRC_URI=" - amd64? ( - https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb - ) - x86? ( - https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb - ) -" - -LICENSE="google-chrome" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="+plugins" -RESTRICT="bindist mirror strip" - -RDEPEND=" - app-arch/bzip2 - app-misc/ca-certificates - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - gnome-base/gconf:2 - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype:2 - net-print/cups - sys-apps/dbus - sys-libs/libcap - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:2 - >=x11-libs/libX11-1.5.0 - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXScrnSaver - x11-libs/libXtst - x11-libs/pango - x11-misc/xdg-utils -" - -QA_PREBUILT="*" -S=${WORKDIR} -CHROME_HOME="opt/google/chrome${PN#google-chrome}" - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS=" -Some web pages may require additional fonts to display properly. -Try installing some of the following packages if some characters -are not displayed properly: -- media-fonts/arphicfonts -- media-fonts/bitstream-cyberbit -- media-fonts/droid -- media-fonts/ipamonafont -- media-fonts/ja-ipafonts -- media-fonts/takao-fonts -- media-fonts/wqy-microhei -- media-fonts/wqy-zenhei - -Depending on your desktop environment, you may need -to install additional packages to get icons on the Downloads page. - -For KDE, the required package is kde-apps/oxygen-icons. - -For other desktop environments, try one of the following: -- x11-themes/gnome-icon-theme -- x11-themes/tango-icon-theme - -Please notice the bundled flash player (PepperFlash). -You can (de)activate all flash plugins via chrome://plugins -" - -pkg_nofetch() { - eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures." -} - -pkg_setup() { - chromium_suid_sandbox_check_kernel_config -} - -src_install() { - rm -r usr/share/menu || die - mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die - - pushd "${CHROME_HOME}/locales" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - if use plugins ; then - local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" - sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ - -i "${CHROME_HOME}/${PN}" || die - fi - - local size - for size in 16 22 24 32 48 64 128 256 ; do - newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" ${PN}.png - done - - insinto / - doins -r opt usr - - find "${ED}" -type d -empty -delete || die - chmod 755 "${ED}${CHROME_HOME}"/{chrome,${PN},nacl_helper{,_bootstrap},xdg-{mime,settings}} || die - chmod 4755 "${ED}${CHROME_HOME}/chrome-sandbox" || die - pax-mark m "${ED}${CHROME_HOME}/chrome" - - readme.gentoo_create_doc -} - -any_cpu_missing_flag() { - local value=$1 - grep '^flags' /proc/cpuinfo | grep -qv "$value" -} - -pkg_preinst() { - chromium_pkg_preinst - if any_cpu_missing_flag sse2; then - ewarn "The bundled PepperFlash plugin requires a CPU that supports the" - ewarn "SSE2 instruction set, and at least one of your CPUs does not" - ewarn "support this feature. Disabling PepperFlash." - sed -e "/^exec/ i set -- --disable-bundled-ppapi-flash \"\$@\"" \ - -i "${ED}${CHROME_HOME}/google-chrome" || die - fi -} - -pkg_postinst() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update - readme.gentoo_print_elog -} diff --git a/www-client/google-chrome/google-chrome-45.0.2454.93_p1.ebuild b/www-client/google-chrome/google-chrome-45.0.2454.93_p1.ebuild new file mode 100644 index 00000000000..16a97bed9bb --- /dev/null +++ b/www-client/google-chrome/google-chrome-45.0.2454.93_p1.ebuild @@ -0,0 +1,160 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he + 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 + sv sw ta te th tr uk vi zh_CN zh_TW" + +inherit readme.gentoo chromium eutils multilib pax-utils unpacker + +DESCRIPTION="The web browser from Google" +HOMEPAGE="https://www.google.com/chrome" + +if [[ ${PN} == google-chrome ]]; then + MY_PN=${PN}-stable +else + MY_PN=${PN} +fi + +MY_P="${MY_PN}_${PV/_p/-}" + +SRC_URI=" + amd64? ( + https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb + ) + x86? ( + https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_i386.deb + ) +" + +LICENSE="google-chrome" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="+plugins" +RESTRICT="bindist mirror strip" + +RDEPEND=" + app-arch/bzip2 + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype:2 + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + >=x11-libs/libX11-1.5.0 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXScrnSaver + x11-libs/libXtst + x11-libs/pango + x11-misc/xdg-utils +" + +QA_PREBUILT="*" +S=${WORKDIR} +CHROME_HOME="opt/google/chrome${PN#google-chrome}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +Some web pages may require additional fonts to display properly. +Try installing some of the following packages if some characters +are not displayed properly: +- media-fonts/arphicfonts +- media-fonts/bitstream-cyberbit +- media-fonts/droid +- media-fonts/ipamonafont +- media-fonts/ja-ipafonts +- media-fonts/takao-fonts +- media-fonts/wqy-microhei +- media-fonts/wqy-zenhei + +Depending on your desktop environment, you may need +to install additional packages to get icons on the Downloads page. + +For KDE, the required package is kde-apps/oxygen-icons. + +For other desktop environments, try one of the following: +- x11-themes/gnome-icon-theme +- x11-themes/tango-icon-theme + +Please notice the bundled flash player (PepperFlash). +You can (de)activate all flash plugins via chrome://plugins +" + +pkg_nofetch() { + eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures." +} + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config +} + +src_install() { + rm -r usr/share/menu || die + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + + pushd "${CHROME_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + if use plugins ; then + local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" + sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ + -i "${CHROME_HOME}/${PN}" || die + fi + + local size + for size in 16 22 24 32 48 64 128 256 ; do + newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" ${PN}.png + done + + insinto / + doins -r opt usr + + find "${ED}" -type d -empty -delete || die + chmod 755 "${ED}${CHROME_HOME}"/{chrome,${PN},nacl_helper{,_bootstrap},xdg-{mime,settings}} || die + chmod 4755 "${ED}${CHROME_HOME}/chrome-sandbox" || die + pax-mark m "${ED}${CHROME_HOME}/chrome" + + readme.gentoo_create_doc +} + +any_cpu_missing_flag() { + local value=$1 + grep '^flags' /proc/cpuinfo | grep -qv "$value" +} + +pkg_preinst() { + chromium_pkg_preinst + if any_cpu_missing_flag sse2; then + ewarn "The bundled PepperFlash plugin requires a CPU that supports the" + ewarn "SSE2 instruction set, and at least one of your CPUs does not" + ewarn "support this feature. Disabling PepperFlash." + sed -e "/^exec/ i set -- --disable-bundled-ppapi-flash \"\$@\"" \ + -i "${ED}${CHROME_HOME}/google-chrome" || die + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update + readme.gentoo_print_elog +} -- cgit v1.2.1