From 2dbd4066f52bfb7c63739bb8a4ff63cd57a9bbd1 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 19 Feb 2015 01:22:35 +0000 Subject: Automated update. Package-Manager: portage-2.2.17/cvs/Linux x86_64 Manifest-Sign-Key: 0x0BBEEA1FEA4843A4 --- www-plugins/chrome-binary-plugins/ChangeLog | 12 ++- www-plugins/chrome-binary-plugins/Manifest | 20 ++-- ...chrome-binary-plugins-41.0.2272.53_beta1.ebuild | 102 --------------------- ...chrome-binary-plugins-41.0.2272.63_beta1.ebuild | 102 +++++++++++++++++++++ ...chrome-binary-plugins-42.0.2298.0_alpha1.ebuild | 102 --------------------- ...chrome-binary-plugins-42.0.2305.3_alpha1.ebuild | 102 +++++++++++++++++++++ 6 files changed, 225 insertions(+), 215 deletions(-) delete mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.53_beta1.ebuild create mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.63_beta1.ebuild delete mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-42.0.2298.0_alpha1.ebuild create mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-42.0.2305.3_alpha1.ebuild diff --git a/www-plugins/chrome-binary-plugins/ChangeLog b/www-plugins/chrome-binary-plugins/ChangeLog index 1eefc8530894..19ad45fda0a3 100644 --- a/www-plugins/chrome-binary-plugins/ChangeLog +++ b/www-plugins/chrome-binary-plugins/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for www-plugins/chrome-binary-plugins # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.226 2015/02/12 15:18:30 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.227 2015/02/19 01:22:33 floppym Exp $ + +*chrome-binary-plugins-42.0.2305.3_alpha1 (19 Feb 2015) +*chrome-binary-plugins-41.0.2272.63_beta1 (19 Feb 2015) + + 19 Feb 2015; Mike Gilbert + +chrome-binary-plugins-41.0.2272.63_beta1.ebuild, + +chrome-binary-plugins-42.0.2305.3_alpha1.ebuild, + -chrome-binary-plugins-41.0.2272.53_beta1.ebuild, + -chrome-binary-plugins-42.0.2298.0_alpha1.ebuild: + Automated update. *chrome-binary-plugins-41.0.2272.53_beta1 (12 Feb 2015) diff --git a/www-plugins/chrome-binary-plugins/Manifest b/www-plugins/chrome-binary-plugins/Manifest index 5503a9dd742a..230ee4602b5b 100644 --- a/www-plugins/chrome-binary-plugins/Manifest +++ b/www-plugins/chrome-binary-plugins/Manifest @@ -1,22 +1,22 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -DIST google-chrome-beta_41.0.2272.53-1_amd64.deb 48018268 SHA256 12f6a744caa37f8f4917e1e1132f89d550cb092aea3cb16ea2fdf15df444b95c SHA512 94b3cc0100bb442d8fd756d8f3e575f1a92a7dd37a69dd188e5491848c8a8a98b34a3b774a65ddd671a08c558ccbf469618ca6aec11a7405fe22f5aa75e3306a WHIRLPOOL 73308b38ef959b77244f0094fa969f0561c496dd1ac880e1330915e0bdef210d27b07a26dacdb7967400e20197a27149c2dd29c83198dd7fe1a7d27309fe9c77 -DIST google-chrome-beta_41.0.2272.53-1_i386.deb 46610122 SHA256 d79b8e11f684916995fcd0ad3c49f30a7821f0cc6b7f087aff25317065757d89 SHA512 5b17e3ef390db70e3f12b80ba1a26114cd6fc60dbcd1e29e636fcb6d6ca436ea0bd97aa62d5b6f71e75390710b28acceeb04f28004c954298e37140ae047fc70 WHIRLPOOL 0299f81c0125ca060ceea9c1e407f07fbf0597e78c58f38d95bf17dcd280b2155776267f17f5dbadb4080ed93bbe0f6c4a3b2ffb56eaffebaf40cea6b9ba4bcb +DIST google-chrome-beta_41.0.2272.63-1_amd64.deb 47035568 SHA256 b64cd68e6da3e396be3730389fa5c341252cc3e060494bb88f53440b5585d51f SHA512 a0d9ce1bc77b889afbb0339883f44674db90d4d5762cbb7854c9a4d86db4b47cd5205b5157ec1f9b23f61302a0cbabcec166ee543474dd2e318ef7d6e3a2762c WHIRLPOOL 522275c7ec07537474e1e7230d746e67fce474edb0dc37f84c0ab8a3d43381f0fa0728d522ab4354622d19a1c41c07db06d119edb58a1ae613f1fbc6dc8c784c +DIST google-chrome-beta_41.0.2272.63-1_i386.deb 46066914 SHA256 b9aa3426bea600f564c5942745de78f44fe5580b3b9f46b653c4e11d25f3e4e2 SHA512 29368221cba3b8d29e28dc0986af7f38922886b8b5aca304e6ec14ef99d66dbd1572844646bffb76ce0ed0451bcd655681575542a65c7b85905e00a8b7ee2fbd WHIRLPOOL 4676e546a6ee765ddee33f3a47f6dc5093fefe5e43cb13bc6553be3191b62cf4a3c8e79dcc2d0428c2d01df73ed0701dcb77713212d6f112aa4103552572954f DIST google-chrome-stable_40.0.2214.111-1_amd64.deb 48807598 SHA256 0a1f0a1ff5b4472430b69f48ab77bf9f535a5a87074d15410ea017d796831544 SHA512 ce4d38f39e4b4a0ab4304d6940cfbf3da004f02970c173766c45b73adc87d3ae7e593bd75d0bbeb24c22d914c59ffc1fe06286cb84f0a53e2bfcf8a428c6528c WHIRLPOOL bd2cf1795eb2d96f026b8b8a6a09d3ec1f47fdc9e2a73edadacd19ba97ab5edb88c0d6d41ed1910c14b1c0c800c3825346099d908ea1bc9c479e1a6a6de90a53 DIST google-chrome-stable_40.0.2214.111-1_i386.deb 48480280 SHA256 e511110eea8f49540370f83b2ed75a982493853543dea7e4921faefde1a87818 SHA512 218a50527407aadb31759c612aef71d6e5b1226272d9fb9d851ae72182dd05115aaf762c8ff87c3fafaeeae5d93b3c1be3aa0ca94053363710f1000e7ac2703d WHIRLPOOL 8c5579d5367d6146aa095791d8325262772e4892847ab0264878de57d36e3065ec71e88d5823fee602311cd7b26afca3025b81fec3773c56df957aa909734091 -DIST google-chrome-unstable_42.0.2298.0-1_amd64.deb 46016612 SHA256 7b9466f43b65945ac7a4620381e7d80520124abb382c10711fab011678823975 SHA512 e94407aaf58dd9e22091d0a184cc4856481bf683240916467f5cd03bef9cfd298c26dde3c2e754b569ce2b03516ccf1fb4af8726f8162e1a5b0639fbc5686e83 WHIRLPOOL b81e23c79d58f1afe2a7c70f49b0cbd8be3e5b84f1d2bd8d5358cca702ec19c670d622a5a52aa253802b3c0acf724a05062e5478b752797720ce14152f2191ec -DIST google-chrome-unstable_42.0.2298.0-1_i386.deb 45639958 SHA256 56ca66e381b127abdb2643eaa89d37a7b8055627ee3263b5dfaf0e5e364194d0 SHA512 1e59c22a9b4963c312951fa23d055078de9bfa127f37215e143de3a81bd359a8f8fcda8ec61a46c61b31746ca2a0409725754f21ac6b0699c622ec6ab4f3558d WHIRLPOOL 675a02b7d9a6d5f6178d1a3e1b71e9897d699156110f6c5983be443f158351b0ec0666c342dfdab1d4cecb01f3ac8ca76cc30cadcc239305d50da45ba80a720e +DIST google-chrome-unstable_42.0.2305.3-1_amd64.deb 45756250 SHA256 a70be2b4e298393f3e3369ebde217712b4fca7e21e32e860ea86f82fe7de9060 SHA512 c43fbf587f90767b28e0c6bdad98dd72c643ea270667684ab3fe1b2690c1f15cc67b19a6b3a421efb5ba618b33a61717aa16910e2c8d8b3dc0a528b757c26744 WHIRLPOOL b9f1256469487fdb81bc4d6381ec05594f8e08ec975b08d8e614ac9dde1e456cc04c02aff7982c3f1035bab8ed294632c6bf5de150febc484a6aea2623bded16 +DIST google-chrome-unstable_42.0.2305.3-1_i386.deb 45616272 SHA256 e74b5ccf87e4b4a3729dbfe50927a75d6e8b77cf1d763e1ce717ebd9aaf3b5f7 SHA512 deea916b53bb7a14079cf75e1bc01e287de93359a582fac5071da950ca8753fccfa4f201a81325b9166c33b785b0dd6608a0359a5b3c114a365777c983d596d6 WHIRLPOOL e2a656c6cbc2aff23f4163bd57d5385673b126be4df28562df440cdeb08f7f3a5c2f54c73c9b90a2ba3e3793f6820bb6f261abab0b02e82af1195dbae85a6c53 EBUILD chrome-binary-plugins-40.0.2214.111_p1.ebuild 2691 SHA256 ad91623c32df7c16d71415d110cadf2df6a8c231ca2ccbb5e092ebb78698e978 SHA512 e28ba70a7abe3ec64b856731d1c6531b911699984841e9917fb452d4b209bac9ecd0bdc9d7ba06dc9197f025012dcbbda81b0e5d1fac291b141a59201504e965 WHIRLPOOL 99a11e1cf41df6b6169f6c0c2763648d4ca4d0f5d07ced2cffc9d0e070bce14b762b6ab6f6ca949f40d9070720484581ed2d4c95b1bf8248a668e65543baf3f3 -EBUILD chrome-binary-plugins-41.0.2272.53_beta1.ebuild 2697 SHA256 6a5fc4046226945ae28724d0aae1c0b11084fa34b62543a8db61952510cddbea SHA512 62c801db829006efa20bbe88044be3aae2df15d727224b7600c90139b738e05b8569ee3ef34f3515111582edced78f89ca6f785bc9f363a0880459b051062aba WHIRLPOOL 0ec5f65227c3af51d52fd8e89daccb3a3a72a1af781e43828c364c4e1d9453dea810adcd13c98aa81d4b90077afa548557802ebba8bd4427a48554225c8ef75d -EBUILD chrome-binary-plugins-42.0.2298.0_alpha1.ebuild 2697 SHA256 f77978c6dec1883c1c2a868db1ea829b4ce4de5a7819c33ee5fd87f52e38d157 SHA512 5c89171c261070e51a99a515454d83df759e13ec17d3b16e08f22aa6516fa477f6889dfc52615fe7a589ea9e2f594e8e4aee7d2a0bf6e1fe575190ff928a9ca7 WHIRLPOOL a443121477d89c27b95bdd136d8e9dcd1551aa2b1f42444d2dccc8134776c9e8b8e732f2d89df0e5edd6c404fb04fb9b64cb3c4bb9d84c45ca94f901ab635de3 +EBUILD chrome-binary-plugins-41.0.2272.63_beta1.ebuild 2697 SHA256 3da44c168a04eb78c72c29988fdbff94e6c8951c8bd80e8dfc4696171ee61c38 SHA512 3da06d8df2d19f4a7e7712488e02db8157c2def89ec8283fce02a0deed5ba739fe7d08557c5fd0411696419a3bf840c54de0eefc6dd2aa77ffd6ce054b057b07 WHIRLPOOL 6ee449f5dcbeb7ced819d561cacf041ccd7ecbaf7093131b360b472c0c3bb4eae74b6894b3d10a65baa5da5b717d12d3f2d80868c444cb1f96d8ed4b607bc259 +EBUILD chrome-binary-plugins-42.0.2305.3_alpha1.ebuild 2697 SHA256 086c88750f4b4985232743ec111652848804db58413275ba47c1614eaddf60d9 SHA512 aa504f6cae8afb217c933483a6396a8c5f045b4657cb0eb164e4439b3c36b3584aa27a1e42efa0d5907b10620aae75b000534b0d599797b7b1a53a7242e6b6a1 WHIRLPOOL 2388aaf387299f36943f4ed048e721060c42dcc7cf11ec373cae27e413693cb572820c9891b768676abdc104340adbe5fac384b43b01bb27c88450a05b620c83 EBUILD chrome-binary-plugins-9999.ebuild 2682 SHA256 6c475db243bf6c41e2aea85bcd3eae2e0497fe3fff82dfbda2a1ba14e38df510 SHA512 34fa09b7177a3e22e686ace0b2d6f9a243b12b97506b7dfac46526dcc8868c54e2c74ca2c58ee7bebe80f94b39a4f3b67758a02e0a51f229391339ace51e5fb1 WHIRLPOOL f0be559afc3cde066c40b58616392c1803fedd8c5a1300e83c0fc27dc68ccacbcdf58e122efd52f2800b52e98e6caf2ebc074ed2024f0db8be605b00389225e3 -MISC ChangeLog 62631 SHA256 83fce94fe71bbb5bcc49be0b8fcf468b1ede67d3f20f50c8dcd6c94a2fa553cb SHA512 985a8ea2fe8d6947d0e0d3179487fd7666470f69753cf2b1700ffed0c4a47aacdd90a610b54f0c1f99438df349c49f7937b84d34aa453b0ed7106915d7628676 WHIRLPOOL 059522de148d959a95d3e07a7d5f0f68e0d39c6c2ba707473ea72e7b3c76641a5d68f6cf311167de68be7732ee3504fd49fc3b03ad5db9b727c8e0e8cfac1935 +MISC ChangeLog 63022 SHA256 e56a9cfb65c1c726682ce709ab7a6b75985cd4a471778c7037f4424050f083ae SHA512 c4b806cfb36f0e3725ebbb1d494d8717d6608510a45f82d7f9318ec22162c549b15b6796d136ce2a2a90119287f66c759e120a4dc8dab9f4ec4b8939b80d9220 WHIRLPOOL 287b0909141063e8e398b865246453ce967b0a25567f37c48bdf2a8ce81afcb25d0f75730f9226f383c3a8dd94a0bf3282d08412bb4eb6946c069e885fb460e7 MISC metadata.xml 496 SHA256 295d90d328ccc92f13f0cd027a757148be51ee5539cf411944879de1ffc584de SHA512 0b7c4dc93a095a17e3c3c2ed1191f1efe80f4f030d1b55b0cdd895dc78f604eb18d07cf5c71299dd6d20618d7b8770aa34516b696d2d542cefa2178ec56e2e1a WHIRLPOOL f4cd8c3c517a4fb89e1d46fb3fb6a8004a06e0fc7eed3afb7f7d2ae2ef504b7091b84a915aa26bf2c106ec5b511e9c08cdf14afe76380ab3c4d8f15bccf44301 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iF4EAREIAAYFAlTcxH4ACgkQC77qH+pIQ6RvMwEAjvkCVxNWzIWAUBhh/297dZFv -RilzI6oOXVRJF3zrH/kA/iFCF4Py1e/VhELEaruTN5iWprgYgCvh1wBaeWVf3+l8 -=E5o3 +iF4EAREIAAYFAlTlOtoACgkQC77qH+pIQ6S6UwEAivH8RaoW1X4iZHZqo/jgtLD8 +yfc978OnBVzb263qb4UBAMfeOR+XefyOGFjJCSK2GMuayBUEON4nzSvqVn8kL5gx +=gjj4 -----END PGP SIGNATURE----- diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.53_beta1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.53_beta1.ebuild deleted file mode 100644 index 18f00732e55a..000000000000 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.53_beta1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.53_beta1.ebuild,v 1.1 2015/02/12 15:18:30 floppym Exp $ - -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-41.0.2272.63_beta1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.63_beta1.ebuild new file mode 100644 index 000000000000..c3433c13d94f --- /dev/null +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.63_beta1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-41.0.2272.63_beta1.ebuild,v 1.1 2015/02/19 01:22:33 floppym Exp $ + +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-42.0.2298.0_alpha1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-42.0.2298.0_alpha1.ebuild deleted file mode 100644 index 6752d793f0ce..000000000000 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-42.0.2298.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 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-42.0.2298.0_alpha1.ebuild,v 1.1 2015/02/11 00:38:50 floppym Exp $ - -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-42.0.2305.3_alpha1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-42.0.2305.3_alpha1.ebuild new file mode 100644 index 000000000000..25723ca0e3af --- /dev/null +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-42.0.2305.3_alpha1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-42.0.2305.3_alpha1.ebuild,v 1.1 2015/02/19 01:22:33 floppym Exp $ + +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