From 5df1a7c258f407fd09c320e8789c783bdbdab396 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 3 Sep 2016 00:21:11 -0400 Subject: [PATCH] www-plugins/chrome-binary-plugins: drop flash support Package-Manager: portage-2.3.0_p24 --- ...me-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 07c207f2a773..d7fd45a0099a 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 } -- 2.26.2