summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /www-plugins/chrome-binary-plugins
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'www-plugins/chrome-binary-plugins')
-rw-r--r--www-plugins/chrome-binary-plugins/Manifest6
-rw-r--r--www-plugins/chrome-binary-plugins/chrome-binary-plugins-44.0.2403.130_p1.ebuild102
-rw-r--r--www-plugins/chrome-binary-plugins/chrome-binary-plugins-45.0.2454.26_beta1.ebuild102
-rw-r--r--www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2471.2_alpha1.ebuild102
-rw-r--r--www-plugins/chrome-binary-plugins/chrome-binary-plugins-9999.ebuild102
-rw-r--r--www-plugins/chrome-binary-plugins/metadata.xml17
6 files changed, 431 insertions, 0 deletions
diff --git a/www-plugins/chrome-binary-plugins/Manifest b/www-plugins/chrome-binary-plugins/Manifest
new file mode 100644
index 000000000000..b391d7e8dc12
--- /dev/null
+++ b/www-plugins/chrome-binary-plugins/Manifest
@@ -0,0 +1,6 @@
+DIST google-chrome-beta_45.0.2454.26-1_amd64.deb 48036388 SHA256 58b0744d59966cfe15d8c8897ff77a71a6be6bb0a7e31e9c04d20a9c0fbd952f SHA512 8945c1b47066fe4f429f10aac8becfe7077cbd64215d716ed7574f430246c496543b9c9a8c90f475ba1a44ce4cb8da5b8cc07adb9eeba9138ce7f0ec22cc3ec1 WHIRLPOOL 8a5ecfc6f125d938cde9a63b305be87880432abb47f183304462f378f61dca9448b1cc08bff63198dbd135521bc095ec23b30683a25a7bcb31adf428d7a09013
+DIST google-chrome-beta_45.0.2454.26-1_i386.deb 46977744 SHA256 7341988b778654c3b49e89e9a52c4b6d062449668d3209e207936d0144532118 SHA512 10e17fec4f6108f189b19d27ad863598d563cd5d9d11fa031afcec1790fed459c8703d775d8a9e50215a61ea1cdff719e5bbedad498711b82c0f648ae53cc474 WHIRLPOOL 0d95a617d199367f855adabc3fbd3afdf0d9ee7628e3df55d0bf02cd5378815ab6e5a550bb9b0458341dde7a3f98b71d8151f730b7b5b1525f124d1aa9eb7f4e
+DIST google-chrome-stable_44.0.2403.130-1_amd64.deb 47572650 SHA256 0b29ab582fd82a1587626f33025a50d4748df7ddea0eca6e36df63bb5ba6fcb7 SHA512 000f0ac68e83e1b6b7a09d2bf3b681a5771ecf0fba68a6d4c472d31f527f57144201093191b74f200f1906cef5343e53aefa5e65cb59bed1d4ebcae36663c31e WHIRLPOOL 18074f8f2fda1d04e396528a629246cd7486533bf35e49c7287294f43a69cbe26aa3588a7ad2b45d000460d570df488408a3f4e30a1d49220176abad35519c21
+DIST google-chrome-stable_44.0.2403.130-1_i386.deb 46630472 SHA256 bb041e86d8ccc571c5c4f327bb8643e2b11fb72a879534b6e35129c13d86f27b SHA512 840b2dd9ed32b5e28897251566b742d348138a998b8cad145c286d8b016316a019dd3ee7434c0efd015dd146e81c0798dcf0938aa7f228e2368442516443ce8a WHIRLPOOL 7dad7f4920cdce5ceb3a5a62301f33d8bad440b50de803519ef92141c158762960857babce098a988436b1f5ff935bf7c321ff3a6ce7d3df4f00cd805cab8ad6
+DIST google-chrome-unstable_46.0.2471.2-1_amd64.deb 47352022 SHA256 13f5c6cfece24c849f743a797556cf11ea10f6dc36aad030dedde47a065d11f7 SHA512 3e435573cdad1f7972893f14748e497311a67f450f81244c2620d841909eba4d27926a79b5a438ece7bf5a9c14ce44cdbc2a93219e35c622a858dd0ba3692936 WHIRLPOOL 0187f601db519cccd02f2e14be556bc4ac31f0100e4b049955aebd6c2ead7281393d608f5e0d3ac40ef8690ba4c25422cf8375894ec4cc6cda7181c79670b81f
+DIST google-chrome-unstable_46.0.2471.2-1_i386.deb 46699784 SHA256 a9e332ef3d16601ae3481793d7754d3c119f8a05c8d07869dffb27c467262f87 SHA512 8f1e502214dbea7650a2221589f488c6cd1bd4532469ab6ed00bacbf823795a11815c21413031e7f54452f0fd905587b104fb4fb01b2ae58997ecab830822aa1 WHIRLPOOL 9b85a2f5b676e6cb7500d679c0b0184b0f7cfdacb8b1e364f01f42b10035ffcea74cdd4058a4c8108b259773435640e5e981a979dd0b24afeab243211e43d240
diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-44.0.2403.130_p1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-44.0.2403.130_p1.ebuild
new file mode 100644
index 000000000000..92be2e0acee2
--- /dev/null
+++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-44.0.2403.130_p1.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
+}
diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-45.0.2454.26_beta1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-45.0.2454.26_beta1.ebuild
new file mode 100644
index 000000000000..db26f7a00720
--- /dev/null
+++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-45.0.2454.26_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="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.2471.2_alpha1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2471.2_alpha1.ebuild
new file mode 100644
index 000000000000..db26f7a00720
--- /dev/null
+++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-46.0.2471.2_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
+}
diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-9999.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-9999.ebuild
new file mode 100644
index 000000000000..db26f7a00720
--- /dev/null
+++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-9999.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
+}
diff --git a/www-plugins/chrome-binary-plugins/metadata.xml b/www-plugins/chrome-binary-plugins/metadata.xml
new file mode 100644
index 000000000000..09868e174618
--- /dev/null
+++ b/www-plugins/chrome-binary-plugins/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>chromium</herd>
+ <maintainer>
+ <email>floppym@gentoo.org</email>
+ <name>Mike Gilbert</name>
+ </maintainer>
+ <maintainer>
+ <email>zx2c4@gentoo.org</email>
+ <name>Jason A. Donenfeld</name>
+ </maintainer>
+ <use>
+ <flag name="flash">Install Chrome's native Pepper Flash</flag>
+ <flag name="widevine">Install the Widevine DRM library</flag>
+ </use>
+</pkgmetadata>