From e1788cfff0994a4845afc6ac4704ae848a9ab004 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 23 Sep 2015 19:52:34 -0400 Subject: www-client/google-chrome-beta: automated update Package-Manager: portage-2.2.21_p119 --- www-client/google-chrome-beta/Manifest | 4 +- .../google-chrome-beta-46.0.2490.33_p1.ebuild | 160 --------------------- .../google-chrome-beta-46.0.2490.42_p1.ebuild | 160 +++++++++++++++++++++ 3 files changed, 162 insertions(+), 162 deletions(-) delete mode 100644 www-client/google-chrome-beta/google-chrome-beta-46.0.2490.33_p1.ebuild create mode 100644 www-client/google-chrome-beta/google-chrome-beta-46.0.2490.42_p1.ebuild (limited to 'www-client') diff --git a/www-client/google-chrome-beta/Manifest b/www-client/google-chrome-beta/Manifest index 692205d8b991..115c7fb82895 100644 --- a/www-client/google-chrome-beta/Manifest +++ b/www-client/google-chrome-beta/Manifest @@ -1,2 +1,2 @@ -DIST google-chrome-beta_46.0.2490.33-1_amd64.deb 47267736 SHA256 7bd8c2666c8d1579ef71b6fe9a78581e459039bce6f8159beea15a791f9ac0ce SHA512 ad19104bc0d32f8393af50c914956a6cc864bacaa6e5ab9d6b0a8482ef6ec4a6a63449a271924aec1a7323e6edb2e9558fc3eca3a8035f3679c7bbc5c374c603 WHIRLPOOL 56e0805ba4205e04f779f6aaffb90990407f4bae40dbbdb6fdb8110f8fc7d5373bfb23a7eef76b1d3926d9503ffcedf4e1ccbb5daf1b2a27ab47a23d5f2d40b9 -DIST google-chrome-beta_46.0.2490.33-1_i386.deb 46800448 SHA256 818e54c8670e60415e2d55f9679deeac6670c0f086956d9694244c5baf660811 SHA512 f04c0248eed08ec50e7bdd6abb7f6e9a2d36055ab6753ab06759eba63385daf95f7f85e97e261223e305822c11d191bb48ed01db204770bbc6c294df363c9d4b WHIRLPOOL 347067b36e9380eef8e3749fc61ed8b1a2af768cb6a6b769ad05a4fe4bf6726b28850612dea201de1a72d1c42382c6ca5dadaa5772920d432a71810c601cba48 +DIST google-chrome-beta_46.0.2490.42-1_amd64.deb 47278486 SHA256 a071845079e35ca0346853a022d1c1e99777430702ad559879a791630c44e584 SHA512 5ef7631003508d29702fa2f691e4d4c0e0258bd1209346127b638257a5831e0674af2d7e4783cc03af80fa3e169e15153c4ff039bee54c7a4d0171c90861d7c5 WHIRLPOOL db9d87ecb0b19efcac6e3450431a54932ebdeeea125755fdf512afe9d2bc5713a8d0baa3d625b87a09aef8eabf645ddf144db90a9b38abb63e6d3ed3af7eea07 +DIST google-chrome-beta_46.0.2490.42-1_i386.deb 46768452 SHA256 005a5d13a7d5dfba1fcfde3bc0c290142474941720b0c0d382cc047738893da8 SHA512 62b6acd23d3da5a543dca179f2cbf559aacac20501531fec7c3ab39879891e7d22ef017d8cada8bff4e74add121a886d8da84f4c7b48676ede66af1823f6dc5d WHIRLPOOL 750225d9d85a2f5d79b50f6afc9840805558de3c77a8f67fae94cc0454e4597dbe2377e96c757208d3b305e5cc8974b0a183c7043a1c1f53dfb208ab03fb840e diff --git a/www-client/google-chrome-beta/google-chrome-beta-46.0.2490.33_p1.ebuild b/www-client/google-chrome-beta/google-chrome-beta-46.0.2490.33_p1.ebuild deleted file mode 100644 index e8b0bfaff40c..000000000000 --- a/www-client/google-chrome-beta/google-chrome-beta-46.0.2490.33_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-46.0.2490.42_p1.ebuild b/www-client/google-chrome-beta/google-chrome-beta-46.0.2490.42_p1.ebuild new file mode 100644 index 000000000000..e8b0bfaff40c --- /dev/null +++ b/www-client/google-chrome-beta/google-chrome-beta-46.0.2490.42_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.3-65-gdbad