From bedc1ead2b9ba4e0ca775ff655acf052b4ba9bbc Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 21 Jan 2016 13:49:50 -0500 Subject: www-plugins/chrome-binary-plugins: automated update Package-Manager: portage-2.2.27_p46_p1242 --- www-plugins/chrome-binary-plugins/Manifest | 12 +-- .../chrome-binary-plugins-47.0.2526.111_p1.ebuild | 99 ---------------------- ...chrome-binary-plugins-48.0.2564.79_beta1.ebuild | 99 ---------------------- ...chrome-binary-plugins-48.0.2564.82_beta1.ebuild | 99 ++++++++++++++++++++++ .../chrome-binary-plugins-48.0.2564.82_p1.ebuild | 99 ++++++++++++++++++++++ ...chrome-binary-plugins-49.0.2618.8_alpha1.ebuild | 99 ---------------------- ...hrome-binary-plugins-49.0.2623.13_alpha1.ebuild | 99 ++++++++++++++++++++++ 7 files changed, 303 insertions(+), 303 deletions(-) delete mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-47.0.2526.111_p1.ebuild delete mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-48.0.2564.79_beta1.ebuild create mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-48.0.2564.82_beta1.ebuild create mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-48.0.2564.82_p1.ebuild delete mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2618.8_alpha1.ebuild create mode 100644 www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.13_alpha1.ebuild (limited to 'www-plugins') diff --git a/www-plugins/chrome-binary-plugins/Manifest b/www-plugins/chrome-binary-plugins/Manifest index 26d8236c2ad6..e5e646640879 100644 --- a/www-plugins/chrome-binary-plugins/Manifest +++ b/www-plugins/chrome-binary-plugins/Manifest @@ -1,6 +1,6 @@ -DIST google-chrome-beta_48.0.2564.79-1_amd64.deb 48085212 SHA256 6ac10492d468e60274f4a8a3256a087871600d93667aee1537a809bec7c65eed SHA512 a7bceab46eee22be2bb0c07a548f9827269384b802c0a25f1c5b53e3faa5050bdc6cc49b39fb8d9b474860552bd2dfc0f9f02bfaf690accafa2c8d2b217aad1a WHIRLPOOL 973afe6fd34059aabcfe7aca3dec05f227e1a5ce6684e79498c034c5ca7afbd72a447f19b074b92928e9df52a6c2ca8a0bfdfe52517f35b287d4b8d0743b9ad0 -DIST google-chrome-beta_48.0.2564.79-1_i386.deb 47420828 SHA256 8eadcaf9c96bb051793d9f49253be8e492d167534ccd009bcc10064be9939d62 SHA512 c7b9f90a9985f55576f7ca7485684e6ee94cbbf81140b1eb4c6aec9f47bf3fdae9bba2248562b1340881911918cb85977f0f2076a9067f890c0d0f4e2f7a241d WHIRLPOOL 75cd4cfb3d226c2bbea4d0141bd7d0b4db0850abe68abd3a3267cb63b381c74428592030072b57a3f52cdcc951892b2ea8f9c99c26a3dd18559c7ad27f6e7ccd -DIST google-chrome-stable_47.0.2526.111-1_amd64.deb 47331202 SHA256 c0f0f4a42440de8b12eaf27daaea4876c9173f8f36eb589eaa50cd8924c02014 SHA512 00d04288d6deb0a05399290f93ea9943ddcbf47acc33424eab414ef5e27caeb2cb01ea3b3dc3be5a4c2ee9703a13554e767876741e7605cc25906392aa43c789 WHIRLPOOL 471795e9c5716d3dcc46bb18118024e5eb0fd1a352069deec6ecff5cd7dd552defa2a020b90c62a049f106a3678d061570dbd865211a8ff74b81c70da9965daf -DIST google-chrome-stable_47.0.2526.111-1_i386.deb 47199998 SHA256 27192b9f477dc98ba26c088b27081ec836dc4fa922da4e6f03c848ca7ff6d447 SHA512 f50ecd35b8096be30ee6044c24d833c8e6a27b6ec615ca941a7c9a33096ea2c53be0168c9f54c24787483343d3d688f325f4eecf1b049027373ca4688612f84e WHIRLPOOL b3e317b073bf844993ac75e7fa6c8eda44991e8f5c46691274c421e8f6d92d9f96df42a40dfd27c78783927c8bab0068c3ca04c7441b54dfa6f2e54a415136d3 -DIST google-chrome-unstable_49.0.2618.8-1_amd64.deb 48318522 SHA256 562901837a0e8d3fc79809dee5a38d4000ab6397129081029ded175dfbe594aa SHA512 7a5f17b180abb557d64500f0d2042ec7667cc011a72850920af5becf36eea023f912a8ff7fcc7b10d7f83050d4dfdca78b8a869ea5ae896db4dc3edc97dbec34 WHIRLPOOL 2459079c340cc3106ea12f480c4b808c741ecb2db8f67c126c1a689b8d79c12f259102a7a4ea4ba8b87f04aefc5f020256862f86fe38bfc25dd65f31cc671887 -DIST google-chrome-unstable_49.0.2618.8-1_i386.deb 47696436 SHA256 89026fc9b7684140c08e8664fbe58e0e7d249807376f441be0b90dd180c4f0bf SHA512 7fd797b59328744c458b57fdda568eefff38dd41a4568397f74a800d4937f3ccd6380c356f21c0701591c8bf400bf0a012690bb9c1efab7a2dc5a6a334a69f3e WHIRLPOOL 3ca9d6560ae9d5ffa628eff6a92560dd65af3cea670902e74fdff71887218bc88e2732b18a1c83e89011fd7bbafd422101ea1e33718d595693a31f2bdc18170a +DIST google-chrome-beta_48.0.2564.82-1_amd64.deb 48218090 SHA256 0af28401295a4392921642889e602995a9de5cb4080543a5fe03e415a485c324 SHA512 f2dab8648807698c00a9c9b22b66130c2da37ddb5532dff68d1f769cb83ac1ec224519f2f1245562b289c0ad48b14e86a54655cffea05cab12ff8bfc984b8ccf WHIRLPOOL b8d9679940268ff2fd6cd05755075f79b114e33b4d57230cdc806c728fa553c9a8df67a89bfa99c0b7b922e9991e1696c47a3b3c94ff3d1d54149dfbb6512bdc +DIST google-chrome-beta_48.0.2564.82-1_i386.deb 47618876 SHA256 07fcabcf9761fc2f403a8bcbb803685c685120fa4efb2b65e8a3eb56c586022e SHA512 69b59a7d4f4db1ac6a2596f6c3d8eb41320e9b2ad3ca02df9469bf1e63de65c33c1ca539689575aa57306c5b5062cb97bb4b7368b51bfae06baae2140cc1e606 WHIRLPOOL d0ee7bc55dc96639aee497d9db5d34251ebc6c847dde517397e09784b4d563ca09082794b607dec8d4b6040f98e5386b57af26fe37080fe6aa6b811070b61af3 +DIST google-chrome-stable_48.0.2564.82-1_amd64.deb 48216440 SHA256 3a66744087cfbef9453f9ca58815d1df3b604afc8d0ff02b4fcde84169f84637 SHA512 c03c652dc1141dd3043a084033355cb612698fc1333cdd43cf50eb99bdf9902b7f1ab959b80bde57498f170d98f9374a4d71b641f1f7a5d2eaf35dea19cf6579 WHIRLPOOL 1e754365acb9a09292ec25c744db14062b03c287bc417bdde1dc7ce35fc35582e6d1fd772d1fef66d7903974efeaaffcaaae4ec1119d0c9bc98075a4458c912d +DIST google-chrome-stable_48.0.2564.82-1_i386.deb 47583326 SHA256 5d24c5d2e20e7b12bf24da7dc7d3d24b4d280ef2da427218b776af3c2165606a SHA512 36b692ddde17a0222a0a993578a14673672fcb431f0a8a4973eea0e7f10c6bcdc4c346e4db76fb2d17c177a99b480990effe4abc771df865114139b3dc2621dc WHIRLPOOL 17db4d37bb99915fffecbd25f4d61547808edefde1aa191935df29acfe17ee99807655763593eb18ab8228f66edb6354dcddbcbad2773ddf43f78bf5531d00e8 +DIST google-chrome-unstable_49.0.2623.13-1_amd64.deb 48575324 SHA256 e7e7e902ba9b49f957d8c4e1f187e3347d6ac0bcbea40a2f9cdb4c6a5b0db8db SHA512 bc89e04a618c3c8995ef80e0ef8f63b0bcb86902e162744850f5802e00bf20491ef9a06de2dbee927483a4e09eb3d18e0fd242a2e1494319df3fb8ab6c2a2129 WHIRLPOOL 59742b2e9dd43b3527928315a0c483354f44ce587c26b0975e744282060c727c0a1f4545c7e0e6397a3645ee970bd9b970e1fe6478f15328093fd13fa61c2d03 +DIST google-chrome-unstable_49.0.2623.13-1_i386.deb 47720080 SHA256 007c604bf24cd82041fe57310baf6e8a8bd737e347e0ef54e8d6da1556d1b54d SHA512 04c93e5bed643bc40ca25d29b93d16039d7ffc9731d88974af58c8b7a4f6deca0093fec44710b644128569d8298ab119a6a92c929323ea1e4270fe2a9e3b7cfa WHIRLPOOL 19a129c1cbbebd94e128a9c1d7b70556945df0395c4ee5abebf2d5ec9f7eba92b71fecb3ac606e5c72e76bb3adcf9029b026aca97231e9a90276140f61487153 diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-47.0.2526.111_p1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-47.0.2526.111_p1.ebuild deleted file mode 100644 index e859db625286..000000000000 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-47.0.2526.111_p1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2016 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 - 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-48.0.2564.79_beta1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-48.0.2564.79_beta1.ebuild deleted file mode 100644 index 6622518f2d30..000000000000 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-48.0.2564.79_beta1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2016 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 - 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-48.0.2564.82_beta1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-48.0.2564.82_beta1.ebuild new file mode 100644 index 000000000000..6622518f2d30 --- /dev/null +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-48.0.2564.82_beta1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2016 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 + 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-48.0.2564.82_p1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-48.0.2564.82_p1.ebuild new file mode 100644 index 000000000000..e859db625286 --- /dev/null +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-48.0.2564.82_p1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2016 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 + 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-49.0.2618.8_alpha1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2618.8_alpha1.ebuild deleted file mode 100644 index 6622518f2d30..000000000000 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2618.8_alpha1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2016 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 - 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-49.0.2623.13_alpha1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.13_alpha1.ebuild new file mode 100644 index 000000000000..6622518f2d30 --- /dev/null +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.13_alpha1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2016 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 + 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