From 3a2d6bef0a4229cda355eab2a1172910fd0f6a95 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 11 Nov 2015 11:30:08 -0500 Subject: www-client/google-chrome: automated update Package-Manager: portage-2.2.23_p26 --- www-client/google-chrome/Manifest | 4 +- .../google-chrome-46.0.2490.80_p1.ebuild | 160 --------------------- .../google-chrome-46.0.2490.86_p1.ebuild | 160 +++++++++++++++++++++ 3 files changed, 162 insertions(+), 162 deletions(-) delete mode 100644 www-client/google-chrome/google-chrome-46.0.2490.80_p1.ebuild create mode 100644 www-client/google-chrome/google-chrome-46.0.2490.86_p1.ebuild (limited to 'www-client/google-chrome') diff --git a/www-client/google-chrome/Manifest b/www-client/google-chrome/Manifest index 7a8ac15c6d4..7b224993c34 100644 --- a/www-client/google-chrome/Manifest +++ b/www-client/google-chrome/Manifest @@ -1,2 +1,2 @@ -DIST google-chrome-stable_46.0.2490.80-1_amd64.deb 47267978 SHA256 307fac6999f68092c5aa65524e17f5bc9e9f7cbb7d0e09e601bb6f62eda15c85 SHA512 65d6b7e58213ab9902d4c301c8a3732037da90a9e93360fb3ee9ec4631afd2bb066692b647ff14695d4a6f4f22bd45525b9566b6877282cb54bec8916333c893 WHIRLPOOL 875013f114639867db4870d11afcf2a6fea2b76f24e1b650be7d9bf52afb971e10692224fd20f337229b356b7d268c8b737689bb74c48ef3116aacca5b57d221 -DIST google-chrome-stable_46.0.2490.80-1_i386.deb 46822720 SHA256 6d3fcd532b1483d961edc4bd65aef79980b41587e736857ff2869ad34732e6b1 SHA512 d8b4d09e5f359cb28c3fc0e35ae4a3bc81fba4b5c899718bab5255761260652f3471b502f5bdb0dd5ec77a5026cb717c9aa9a95c7a5b2050e2b2b1d5c55af427 WHIRLPOOL 397439d22c3912b8ce870edf907ebb285f442ef3a6a2a52114acc58b853fe422d58d9984b51f6b4253306b814adb1ce76e3d270560f674d5cf256843915a62ce +DIST google-chrome-stable_46.0.2490.86-1_amd64.deb 47301590 SHA256 29c434fe640825a88ca5871ce31b8cba9994776dc5c3c99e579998f14e3455ac SHA512 5fd15fa740843d4003c7fe64b7c0c45a07f26b9087a6dfb7f58d3c758f2e6045b20b4e8395c4bb790bf15d74fe56346fe2dc55c2cfbe517e8f793e1defd64013 WHIRLPOOL ceb26bfde2c58e86fd387ecc5c774a84d3cc8c69ec9ca1eb8e91e135f2bcc715c1105ba8e555544e27f8c562a8747e33a0dd40f55b68194cb804069d94f4dccf +DIST google-chrome-stable_46.0.2490.86-1_i386.deb 47021428 SHA256 c8e8d548af976508d235f36fd73fd91515842dab4371b8cd6732e2c8b283016d SHA512 bee7901cd1e18981460f2d8158a7568fb0efc5030c28e017b73d5abe7ecdd8344965e50bb34a911f91fd8cf93b0978e7c91f2dffde55f8209fb39674ea6dfca5 WHIRLPOOL b551f698ab5fb1e04940826d85729e04bcab6e67f2240b48aef00284704d85a6018abcde4370b4436f7d8fb22f159ea489bfc6c1b73ffd25c8ee5059239198a2 diff --git a/www-client/google-chrome/google-chrome-46.0.2490.80_p1.ebuild b/www-client/google-chrome/google-chrome-46.0.2490.80_p1.ebuild deleted file mode 100644 index 16a97bed9bb..00000000000 --- a/www-client/google-chrome/google-chrome-46.0.2490.80_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-46.0.2490.86_p1.ebuild b/www-client/google-chrome/google-chrome-46.0.2490.86_p1.ebuild new file mode 100644 index 00000000000..16a97bed9bb --- /dev/null +++ b/www-client/google-chrome/google-chrome-46.0.2490.86_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