summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-10-13 12:00:16 -0400
committerMike Gilbert <floppym@gentoo.org>2016-10-13 12:00:34 -0400
commit4ae3820ffa40e093465d4759191b80efefbc991a (patch)
treec11c990d37d0adffc2ea867ba2b94d324059b82b /www-plugins
parentwww-client/chromium: remove old (diff)
downloadgentoo-4ae3820ffa40e093465d4759191b80efefbc991a.tar.gz
gentoo-4ae3820ffa40e093465d4759191b80efefbc991a.tar.bz2
gentoo-4ae3820ffa40e093465d4759191b80efefbc991a.zip
www-plugins/chrome-binary-plugins: drop flash from stable
Package-Manager: portage-2.3.2
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.59.ebuild20
-rw-r--r--www-plugins/chrome-binary-plugins/metadata.xml1
2 files changed, 2 insertions, 19 deletions
diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.59.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.59.ebuild
index 2757b382dda9..c293b4312746 100644
--- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.59.ebuild
+++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.59.ebuild
@@ -34,7 +34,7 @@ SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd
KEYWORDS="-* amd64"
LICENSE="google-chrome"
-IUSE="+flash +widevine"
+IUSE="+widevine"
RESTRICT="bindist mirror strip"
for x in 0 beta stable unstable; do
@@ -51,29 +51,13 @@ pkg_nofetch() {
}
src_install() {
- local version flapper
+ local version
insinto /usr/$(get_libdir)/chromium
-
if use widevine; then
doins libwidevinecdm.so libwidevinecdmadapter.so
dosym ../chromium/libwidevinecdm.so /usr/$(get_libdir)/chromium-browser/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="${EPREFIX}/usr/$(get_libdir)/chromium/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
index db13e560d704..0612d37ce8d3 100644
--- a/www-plugins/chrome-binary-plugins/metadata.xml
+++ b/www-plugins/chrome-binary-plugins/metadata.xml
@@ -14,7 +14,6 @@
<name>Chromium in Gentoo Project</name>
</maintainer>
<use>
- <flag name="flash">Install Chrome's native Pepper Flash</flag>
<flag name="widevine">Install the Widevine DRM library</flag>
</use>
</pkgmetadata>