www-plugins/chrome-binary-plugins: drop flash support
authorMike Gilbert <floppym@gentoo.org>
Sat, 3 Sep 2016 04:21:11 +0000 (00:21 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sat, 3 Sep 2016 04:21:26 +0000 (00:21 -0400)
Package-Manager: portage-2.3.0_p24

www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.8_alpha.ebuild

index 07c207f2a773683d696e3751d4891489b4116303..d7fd45a0099a11e0e33c937ea1ee3a07423af24f 100644 (file)
@@ -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
 }