From 7408b987c4b42b138492d75b294c7e4f1c761597 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 22 Oct 2015 12:10:23 -0400 Subject: www-client/google-chrome-beta: automated update Package-Manager: portage-2.2.23_p4 --- www-client/google-chrome-beta/Manifest | 4 +- .../google-chrome-beta-47.0.2526.16_p1.ebuild | 160 --------------------- .../google-chrome-beta-47.0.2526.27_p1.ebuild | 160 +++++++++++++++++++++ 3 files changed, 162 insertions(+), 162 deletions(-) delete mode 100644 www-client/google-chrome-beta/google-chrome-beta-47.0.2526.16_p1.ebuild create mode 100644 www-client/google-chrome-beta/google-chrome-beta-47.0.2526.27_p1.ebuild (limited to 'www-client/google-chrome-beta') diff --git a/www-client/google-chrome-beta/Manifest b/www-client/google-chrome-beta/Manifest index 9c06977fdc2..a5742c5f639 100644 --- a/www-client/google-chrome-beta/Manifest +++ b/www-client/google-chrome-beta/Manifest @@ -1,2 +1,2 @@ -DIST google-chrome-beta_47.0.2526.16-1_amd64.deb 47459896 SHA256 14f68a8f849c929b47bdda112331427dc0f7d1659432f3589ef15603d873b8db SHA512 ff081188efd4afe7446eb4df9dbc292d281b9775b54ff1a77a7ade6cdd9a2bb5257f918f1907cfda95bd01c8a9332c3ebe62b6bebff375f900f16557d20ab76b WHIRLPOOL 7be3e86a9e36e4baa6a198af07b19590312b983b4f38d54b13659f8f12e99635d5881cec8bba3153392724cbdfb7e2b422726ab4e782b32ed0e024b7f16bd7f5 -DIST google-chrome-beta_47.0.2526.16-1_i386.deb 46820172 SHA256 a5fe7b98413a6e5b0b4747576aaeb947a57e2751380741ab5159eca21132de2a SHA512 2ddc79ae9910d3810b41549b9dd7e501dab176ae7e562eb9a3a235ff01632fb9a0dcf216cb5c619bd6f41475ccb37d7b977c107eb8e374914472613b0e8b4932 WHIRLPOOL 6ee0ac0436688986fa85d398672dbad1f58c9c81fddcf53f37b6eefa821ef7ecc26be5f6832d83f865fef5ba6995f0966453eea6f664bdda8741ef69fb6cd56a +DIST google-chrome-beta_47.0.2526.27-1_amd64.deb 47182218 SHA256 24f6a0b6c5c7593f941b12874620ae39eefa796030c0c8a3e5d0b6f650af5e51 SHA512 5c84019746941f7c9adb6f147ec6db6b8aeb3147146a305b2464b1438733f292abe759e60b65dbebe57187a356e633a6110fc6ea6a9beef4136f57000b150a05 WHIRLPOOL e392759a3e5c24b04d15fc6acfc7c9352af9427a0c6ef91a364be24562bf9c0ed0d27d923bf990de239da698478d87687be6b2d34c674d7ab9402f907a7b795c +DIST google-chrome-beta_47.0.2526.27-1_i386.deb 47207988 SHA256 70f70014f0b4c5529699c40171894e5aed0f575d79418399d8ad76bf9edc9f9d SHA512 8df2307d24ae19e2022cb12b8f1472701c06a0e5d743308a10c52cff84e5434d63d8e0da1b4dd41ae0819b8611c6c8eac283b0ca38b7e5b08b5ead093c00cb3e WHIRLPOOL a1374d6023a08b945f45ae902cc6e24e48f85730522e2679331ab405ece418c8fbd40edce2098844165e072d07c9dbe9ca842fb9fc0c1fad3d44df1b094a80a9 diff --git a/www-client/google-chrome-beta/google-chrome-beta-47.0.2526.16_p1.ebuild b/www-client/google-chrome-beta/google-chrome-beta-47.0.2526.16_p1.ebuild deleted file mode 100644 index e8b0bfaff40..00000000000 --- a/www-client/google-chrome-beta/google-chrome-beta-47.0.2526.16_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-base/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-beta/google-chrome-beta-47.0.2526.27_p1.ebuild b/www-client/google-chrome-beta/google-chrome-beta-47.0.2526.27_p1.ebuild new file mode 100644 index 00000000000..e8b0bfaff40 --- /dev/null +++ b/www-client/google-chrome-beta/google-chrome-beta-47.0.2526.27_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-base/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