mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-plugins/chrome-binary-plugins: drop flash support
Package-Manager: portage-2.3.0_p24
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user