commit:     5df1a7c258f407fd09c320e8789c783bdbdab396
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  3 04:21:11 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Sep  3 04:21:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5df1a7c2

www-plugins/chrome-binary-plugins: drop flash support

Package-Manager: portage-2.3.0_p24

 .../chrome-binary-plugins-54.0.2840.8_alpha.ebuild    | 19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)

diff --git 
a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.8_alpha.ebuild
 
b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.8_alpha.ebuild
index 07c207f..d7fd45a 100644
--- 
a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.8_alpha.ebuild
+++ 
b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.8_alpha.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,7 +51,7 @@ pkg_nofetch() {
 }
 
 src_install() {
-       local version flapper
+       local version
 
        insinto /usr/$(get_libdir)/chromium-browser/
 
@@ -60,19 +60,4 @@ src_install() {
                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-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
 }

Reply via email to