summaryrefslogtreecommitdiff
path: root/www-plugins
diff options
context:
space:
mode:
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 2757b382dda..c293b431274 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 db13e560d70..0612d37ce8d 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>