From a46ff4d20b44d14d062084de41ecf599c7f1a00c Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 9 Sep 2015 21:38:49 -0400 Subject: www-plugins/chrome-binary-plugins: automated update Package-Manager: portage-2.2.20 --- www-plugins/chrome-binary-plugins/Manifest | 4 +- ...chrome-binary-plugins-46.0.2490.13_beta1.ebuild | 102 --------------------- ...chrome-binary-plugins-46.0.2490.22_beta1.ebuild | 102 +++++++++++++++++++++ 3 files changed, 104 insertions(+), 104 deletions(-) delete mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2490.13_beta1.ebuild create mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2490.22_beta1.ebuild (limited to 'www-plugins/chrome-binary-plugins') diff --git a/www-plugins/chrome-binary-plugins/Manifest b/www-plugins/chrome-binary-plugins/Manifest index 588ca229eb06..623be478d031 100644 --- a/www-plugins/chrome-binary-plugins/Manifest +++ b/www-plugins/chrome-binary-plugins/Manifest @@ -1,5 +1,5 @@ -DIST google-chrome-beta_46.0.2490.13-1_amd64.deb 47363696 SHA256 63010b3943488ff18be386afc037ff15acc8824d8fc3c43c985db717b6345d7a SHA512 8969d71f98ecf8f171447ae2f79a41ed75be089f303354bc97c83b38adf2f056e830c673f655c9dae3c82a3b6052e87c6e9a14c9b7b9d9f836f9481249d97681 WHIRLPOOL fa62b5eaba91a4da3e67f49d147debaaf48aaa39c6370270d36e46846936394288cd73c58974cf5513b64e76e52cb3dc559dfd1a7fd1df9c74e597244be096aa -DIST google-chrome-beta_46.0.2490.13-1_i386.deb 46853842 SHA256 8bd65cd1bdfa55a74c67dbd194ab94fcef3e788a3fc9e287019ebcf41294f99c SHA512 0c292a15e5fbf7c51c4b9a2778ed0cd79690c9296d77b2ff32a3a3e0fe778d47c48db8b82871f1d855f72a6fac241f6efd1e9b91496acd26c1c37ea1604cbad6 WHIRLPOOL 5c46e9015ad88451aaf4ed33855795d9ac4a2127f0c915fdab7f0477b6a69bfccded50f9a72495952cbe223c127c1877315132f173423dede2ce436f281fb922 +DIST google-chrome-beta_46.0.2490.22-1_amd64.deb 47444702 SHA256 7c89f77cf3aef24cea2669d3090921ab0b1fcb708fc829acb25ad8ee0c968e6e SHA512 83947209eb05cc245a11b233e3dff69151d2ec22c6bcbf93697ca5c37a0b21321dd8dec995173f2df5c075917c1f55f3f0405250576cbea87cd1f7f5a80ec0e3 WHIRLPOOL 2c7f4ca6bd1f2b2e7dc5d31d6f7801987b198e16be551095b6a31ae036d703da44cee5f3121ccc998ed8d4edcd3393135c11dbc64496cb95b5681df5ccee2092 +DIST google-chrome-beta_46.0.2490.22-1_i386.deb 46838986 SHA256 5a30d9c09677f09de07aba3c8b94237fe65fe1c2e2753fa93d30660c668e9578 SHA512 c0f65fbbfed5d495fff163d9d327a912013abd704e9d0112bcd54da2813666a2c762edd433f87fd212162c11a216917289fb4d8582dae008ff0c423ebc09bae8 WHIRLPOOL dca8318df4630b30787e48c55a2e9c7de5cd5a77d12d6e1cb57a07caf9b0f107925faaf80c478cda3f1a3346c03c7e5d6dd90f8b752713da0f7fe692296cb5df 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-unstable_47.0.2503.0-1_amd64.deb 46995462 SHA256 b3ed506f588f8785ee0db41438b27a82130ccc142b82d02bfc9c81233350b533 SHA512 c22b5f4732a408b078cfb7711c2badf3eb8a0f61959330eff137f3ff87e0cb743a2b749db96ebb510f31c86fcfe69fedddc096a5199e1332ad3f5d0ac52d8ea9 WHIRLPOOL 48bd2c01e5a0445981e426f7272ac5ba7d112f3552c7b37a8ecbd86c4112af985ca494862b0d7d70f578dedb068a8aa75684a8b967c201ad1b4c2c37e97a9429 diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2490.13_beta1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2490.13_beta1.ebuild deleted file mode 100644 index 6954b2c8b0ea..000000000000 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2490.13_beta1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit multilib unpacker - -DESCRIPTION="Binary plugins from Google Chrome for use in Chromium" -HOMEPAGE="https://www.google.com/chrome" - -case ${PV} in - *_alpha*|9999*) - SLOT="unstable" - CHROMEDIR="opt/google/chrome-${SLOT}" - MY_PV=${PV/_alpha/-} - ;; - *_beta*) - SLOT="beta" - CHROMEDIR="opt/google/chrome-${SLOT}" - MY_PV=${PV/_beta/-} - ;; - *_p*) - SLOT="stable" - CHROMEDIR="opt/google/chrome" - MY_PV=${PV/_p/-} - ;; - *) - die "Invalid value for \${PV}: ${PV}" - ;; -esac - -MY_PN="google-chrome-${SLOT}" -MY_P="${MY_PN}_${MY_PV}" - -if [[ ${PV} != 9999* ]]; then -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 - ) -" -KEYWORDS="~amd64 ~x86" -fi - -LICENSE="google-chrome" -IUSE="+flash +widevine" -RESTRICT="bindist mirror strip" - -for x in 0 beta stable unstable; do - if [[ ${SLOT} != ${x} ]]; then - RDEPEND+=" !${CATEGORY}/${PN}:${x}" - fi -done - -S="${WORKDIR}/${CHROMEDIR}" -QA_PREBUILT="*" - -pkg_nofetch() { - eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures." -} - -if [[ ${PV} == 9999* ]]; then -src_unpack() { - local base="https://dl.google.com/linux/direct" - local debarch=${ARCH/x86/i386} - wget -O google-chrome.deb "${base}/google-chrome-${SLOT}_current_${debarch}.deb" || die - unpack_deb ./google-chrome.deb -} -fi - -src_install() { - local version flapper - - insinto /usr/$(get_libdir)/chromium-browser/ - - if use widevine; then - doins libwidevinecdm.so - strings ./chrome | grep -C 1 " (version:" | tail -1 > widevine.version - doins widevine.version - einfo "Please note that if you intend to use this with www-clients/chromium," - einfo "you'll need to enable the widevine USE flag there as well, in order to" - einfo "utilize the widevine USE flag that's been used here." - fi - - if use flash; then - doins -r PepperFlash - - # Since this is a live ebuild, we're forced to, unfortuantely, - # dynamically construct the command line args for Chromium. - version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json) - flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so" - echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash - echo -n "--ppapi-flash-path=$flapper " >> pepper-flash - echo "--ppapi-flash-version=$version\"" >> pepper-flash - - insinto /etc/chromium/ - doins pepper-flash - fi -} diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2490.22_beta1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2490.22_beta1.ebuild new file mode 100644 index 000000000000..6954b2c8b0ea --- /dev/null +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2490.22_beta1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib unpacker + +DESCRIPTION="Binary plugins from Google Chrome for use in Chromium" +HOMEPAGE="https://www.google.com/chrome" + +case ${PV} in + *_alpha*|9999*) + SLOT="unstable" + CHROMEDIR="opt/google/chrome-${SLOT}" + MY_PV=${PV/_alpha/-} + ;; + *_beta*) + SLOT="beta" + CHROMEDIR="opt/google/chrome-${SLOT}" + MY_PV=${PV/_beta/-} + ;; + *_p*) + SLOT="stable" + CHROMEDIR="opt/google/chrome" + MY_PV=${PV/_p/-} + ;; + *) + die "Invalid value for \${PV}: ${PV}" + ;; +esac + +MY_PN="google-chrome-${SLOT}" +MY_P="${MY_PN}_${MY_PV}" + +if [[ ${PV} != 9999* ]]; then +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 + ) +" +KEYWORDS="~amd64 ~x86" +fi + +LICENSE="google-chrome" +IUSE="+flash +widevine" +RESTRICT="bindist mirror strip" + +for x in 0 beta stable unstable; do + if [[ ${SLOT} != ${x} ]]; then + RDEPEND+=" !${CATEGORY}/${PN}:${x}" + fi +done + +S="${WORKDIR}/${CHROMEDIR}" +QA_PREBUILT="*" + +pkg_nofetch() { + eerror "Please wait 24 hours and sync your portage tree before reporting fetch failures." +} + +if [[ ${PV} == 9999* ]]; then +src_unpack() { + local base="https://dl.google.com/linux/direct" + local debarch=${ARCH/x86/i386} + wget -O google-chrome.deb "${base}/google-chrome-${SLOT}_current_${debarch}.deb" || die + unpack_deb ./google-chrome.deb +} +fi + +src_install() { + local version flapper + + insinto /usr/$(get_libdir)/chromium-browser/ + + if use widevine; then + doins libwidevinecdm.so + strings ./chrome | grep -C 1 " (version:" | tail -1 > widevine.version + doins widevine.version + einfo "Please note that if you intend to use this with www-clients/chromium," + einfo "you'll need to enable the widevine USE flag there as well, in order to" + einfo "utilize the widevine USE flag that's been used here." + fi + + if use flash; then + doins -r PepperFlash + + # Since this is a live ebuild, we're forced to, unfortuantely, + # dynamically construct the command line args for Chromium. + version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json) + flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so" + echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash + echo -n "--ppapi-flash-path=$flapper " >> pepper-flash + echo "--ppapi-flash-version=$version\"" >> pepper-flash + + insinto /etc/chromium/ + doins pepper-flash + fi +} -- cgit v1.2.3-65-gdbad