From 195916818ef16947df261935cec13c853ca6a32f Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Tue, 18 Aug 2015 22:13:37 -0400 Subject: www-plugins/chrome-binary-plugins: automated update Package-Manager: portage-2.2.20_p134 --- www-plugins/chrome-binary-plugins/Manifest | 4 +- ...chrome-binary-plugins-46.0.2478.0_alpha1.ebuild | 102 --------------------- ...chrome-binary-plugins-46.0.2486.0_alpha1.ebuild | 102 +++++++++++++++++++++ 3 files changed, 104 insertions(+), 104 deletions(-) delete mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2478.0_alpha1.ebuild create mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2486.0_alpha1.ebuild (limited to 'www-plugins') diff --git a/www-plugins/chrome-binary-plugins/Manifest b/www-plugins/chrome-binary-plugins/Manifest index fa67da6a8c78..a92dfbb74e3c 100644 --- a/www-plugins/chrome-binary-plugins/Manifest +++ b/www-plugins/chrome-binary-plugins/Manifest @@ -2,5 +2,5 @@ DIST google-chrome-beta_45.0.2454.37-1_amd64.deb 48042498 SHA256 889c06e2226912f DIST google-chrome-beta_45.0.2454.37-1_i386.deb 47657956 SHA256 f1b174cb2fd78fa75808f181a78cc6e4f3da1f709cd0a455b060721965ec962c SHA512 21060e47f290aabfae0733ed0835abc5e56dcac9a0398b590574c1f7550510deb4768d21bd755849c941cdce271086dd18884d55d4173c898a141fdc273e51e4 WHIRLPOOL d90c1a59fb0e6fae6fb81d16e17ef1e2297d414868b5591981c45582585b26773aa19e64a6a408ad68878b173cf905c76b557a75a6770b9b2b8eb17e2ae20158 DIST google-chrome-stable_44.0.2403.155-1_amd64.deb 47607008 SHA256 75d995681a30125364f52389f66a73c94d88acee406bb3f3080f0fa28f7a0bd6 SHA512 5db4ce8db0a10fe6298dc4f08e1b0a00d636c9706ec5e32557875e3585fc2fcbff49575235b4bf91159b976d0299b6e29b7ad37f5abd38de72f31c0fe6084565 WHIRLPOOL 5718207fa9e19387eb520926aaedff83ca5d4f7037f61cf044e0dd91d33ff494282221bedb706fe67797c756b8ff56cea2ce31adac3ae01d5a75d52693bcf13a DIST google-chrome-stable_44.0.2403.155-1_i386.deb 47266234 SHA256 0692fca787ade1b70e6fc2b11b618359c342c9a9e8c4a58abf245cb48810c885 SHA512 5e87754c7542af6f3b189f5c6ea1e584f2cb422ffd6d05645f00d2344304cb0d1b5d4b1f1b257e41f20306093517f65400afd664f89ea792bb530a1168812d0e WHIRLPOOL d4f4008ef6b51e978e94b35838abcbadb9c7f5f89a2f4ddc0d0df74b19255943dc7eb0e36c1bc4477a49ef383fc038761d095c3b2c98ad47571fae4f8579f363 -DIST google-chrome-unstable_46.0.2478.0-1_amd64.deb 47326994 SHA256 cff21b435e59ac4e4e00d7ed19fd5587c63d7f050e8403c4f281f7762ce2a7ec SHA512 1a4bf68a51b52ebb3a20413f24264283b5192d8497340a36dd5f6c1cb392fb5be9fbb1cddd84d6d3418e227c725e8ebd1c49e771e7ff29da984c062d57ff3fbf WHIRLPOOL 0e5b148dd61257b1180e8f9202917144b8e4f7769391b1871462a27d38dc0ff77af1528f060455673c8b45c8fa8d8902968c12a3e37af72313ef7e99427f8b81 -DIST google-chrome-unstable_46.0.2478.0-1_i386.deb 46740494 SHA256 64eab818ee23cad623811a03004661979ca85abc3795bb5d535620aa99fa2060 SHA512 3c674fba44b679b880821ef36335cbb677ee78d6d8114c20153ecb212773272307423c63e6955cf22fc776f4cc588d3d342d13a7c6301a67d97ab41c0934895d WHIRLPOOL 350d53576bf03504039bcc1fa17d57e7ddd3a1d99805f7e5bffcd0c03e0bbe9c940a2a4b5ad93c8ad6d481e347ba6c7045e0e6b1f55f4e7f2b8d6d514b17bb2f +DIST google-chrome-unstable_46.0.2486.0-1_amd64.deb 47118124 SHA256 1e527b2a97bf858d3ee37c4704cb6bd4af429f6f4a0d86ade1c920f22f95c208 SHA512 ea1a538761a3b99a2824b5f4c496ff0a752d2bfcca25a1a629ed2b8622fe192dd58a6bed9da91d81e17f3211e7cff24676d5e0fe149a3ebcd0a75834f30c4d37 WHIRLPOOL 5014fa5d8a8edae5b67d06cff7ba2312a9cac33a4d7e38a319e623f14c4c2437f31f114aecc7afb861820ece0f61444323187684e37b1f24a36ace262816b692 +DIST google-chrome-unstable_46.0.2486.0-1_i386.deb 46739014 SHA256 49251adca0e7412caea3d07248a9a63a149799603dc99a9adc867b50f6d7aeeb SHA512 9021868340f66a575a11d26365632d98d4c02d6528f2c45233c5a3f79a4a288cf3cf8188c712581b3a0d513d84bc9365e3fa8de787cd95cd3b7c121e39a693a4 WHIRLPOOL f74c93ca24d53479d00b35a8adaa0c2db4013e800c01aefdc61b45a6e747302da40a1121a3ba88844ab0728f7ad5fc7695495838c0eee786308a20eaf7be3650 diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2478.0_alpha1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2478.0_alpha1.ebuild deleted file mode 100644 index db26f7a00720..000000000000 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2478.0_alpha1.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="http://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.2486.0_alpha1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2486.0_alpha1.ebuild new file mode 100644 index 000000000000..db26f7a00720 --- /dev/null +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2486.0_alpha1.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="http://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