www-plugins/chrome-binary-plugins: drop flash from stable
authorMike Gilbert <floppym@gentoo.org>
Thu, 13 Oct 2016 16:00:16 +0000 (12:00 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 13 Oct 2016 16:00:34 +0000 (12:00 -0400)
Package-Manager: portage-2.3.2

www-plugins/chrome-binary-plugins/chrome-binary-plugins-54.0.2840.59.ebuild
www-plugins/chrome-binary-plugins/metadata.xml

index 2757b382dda9c46ad8353273b724800e9745587d..c293b4312746792814e4f4d5b16655739e307f83 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,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
 }
index db13e560d704687e62f0d3b7dce4a2952d9000df..0612d37ce8d34bd8ec2914c0ea0c992446b9424b 100644 (file)
@@ -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>