From 1e0fc33b5e42435572431fd7bc0aecccbc16b376 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 3 Feb 2016 22:51:37 -0500 Subject: www-client/google-chrome: automated update Package-Manager: portage-2.2.27_p57 --- www-client/google-chrome/Manifest | 4 +- .../google-chrome-48.0.2564.103_p1.ebuild | 161 +++++++++++++++++++++ .../google-chrome-48.0.2564.97_p1.ebuild | 161 --------------------- 3 files changed, 163 insertions(+), 163 deletions(-) create mode 100644 www-client/google-chrome/google-chrome-48.0.2564.103_p1.ebuild delete mode 100644 www-client/google-chrome/google-chrome-48.0.2564.97_p1.ebuild (limited to 'www-client/google-chrome') diff --git a/www-client/google-chrome/Manifest b/www-client/google-chrome/Manifest index 384851784d43..8ba186a5ed41 100644 --- a/www-client/google-chrome/Manifest +++ b/www-client/google-chrome/Manifest @@ -1,2 +1,2 @@ -DIST google-chrome-stable_48.0.2564.97-1_amd64.deb 48240000 SHA256 a26418953bcb76900a6c64de6891fa178c8f98244923d65cdf4606dcde09bcf2 SHA512 e9b8b11411cd27fa81a617ff5dfe69503e6d463f970f66c747867d521d6b767262eaf7648438853ca0fce9b575c052280e24069ee380c4ad2c7f33edd4306342 WHIRLPOOL 35c66bfb68296a3eeefca939792b68809dd812e47a1da908754975591fe7b1fd9be1dcb86ab572377cfe702a6dd9a7fa7da58771dfc3b585e034b6348f05c773 -DIST google-chrome-stable_48.0.2564.97-1_i386.deb 47294044 SHA256 5448419fff33b01456d609ce0f1981fdd07f9c3d55d70156e13d6aa7f34cad3d SHA512 cd1c8a93073009da25765e22a7319c5717b029a3767c79b45f936dbdda27f2225045639883b203f0a5f21cd3647b45cf5d98f378386288851af6a62d7fe60ed2 WHIRLPOOL 8d9de90fe35930c89b59c35c0dfa2eb3c5da3adc80af20883e7547930793748d02cdca0ea4dba8268248df074d126945ba44b456093ea430656187a92c902b41 +DIST google-chrome-stable_48.0.2564.103-1_amd64.deb 48238376 SHA256 425178e641bab0d5f49b23bbe221eef8e2590424c6026c8f9b18a4ca96c0a7a3 SHA512 8e57a3d74f3f5336cc4419a01aebfbaf601c46b4996327335a5f27d56315a749e0ab2bf8abe50d2edbe05921704b9a3cc20543d8baaf869bdaaa0e93bf88b26b WHIRLPOOL e58cae07164f115c422a4e3728c091aa568ae041f4f5cabbd57cc2f7d55bb7f4489ee8c6e208ecd67b078e8fd6a39b86228540c855ef8eb96b19f7877ef8235f +DIST google-chrome-stable_48.0.2564.103-1_i386.deb 47451856 SHA256 8150047cf15b487307a889eaf7a298de9622ce11c3fe9ec94aef0a56bcad90c5 SHA512 ffbae565b00a4123c1d31aa98a7a532c11a7bc59f1a440c4c737d86d9719c91c52837b3188b0da309cffc7544e98990672143f9d08a9bb88d16a6b1a4b195ea0 WHIRLPOOL 9b2f32c0e854c7654966465a7aff307912dce5524da2af876420333182ba4a4b6cb81d2aa5044c2a963eb736b54673787fb520104538927e69ef3a200d925bfc diff --git a/www-client/google-chrome/google-chrome-48.0.2564.103_p1.ebuild b/www-client/google-chrome/google-chrome-48.0.2564.103_p1.ebuild new file mode 100644 index 000000000000..984cd0625636 --- /dev/null +++ b/www-client/google-chrome/google-chrome-48.0.2564.103_p1.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2016 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 fake_bidi" + +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" + +DEPEND="" +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-frameworks/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-48.0.2564.97_p1.ebuild b/www-client/google-chrome/google-chrome-48.0.2564.97_p1.ebuild deleted file mode 100644 index 984cd0625636..000000000000 --- a/www-client/google-chrome/google-chrome-48.0.2564.97_p1.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2016 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 fake_bidi" - -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" - -DEPEND="" -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-frameworks/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.3-65-gdbad