diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-09-15 06:13:38 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-09-15 06:13:58 +0200 |
commit | 80bc02f4a7cc7e9ab3c52891748709575b3ec494 (patch) | |
tree | 5fc264185749492ca001858aef753994626861e3 /www-client | |
parent | dev-python/torment: remove version 2.0.2 (diff) | |
download | gentoo-80bc02f4a7cc7e9ab3c52891748709575b3ec494.tar.gz gentoo-80bc02f4a7cc7e9ab3c52891748709575b3ec494.tar.bz2 gentoo-80bc02f4a7cc7e9ab3c52891748709575b3ec494.zip |
www-client/vivaldi: Add path to libpepflashplayer from www-plugins/chrome-binary-plugins by Andreas Grapentin (bug #560260).
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/files/vivaldi-1.0.275.3_p1-flash.patch | 11 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.0.275.3_p1.ebuild | 4 |
2 files changed, 14 insertions, 1 deletions
diff --git a/www-client/vivaldi/files/vivaldi-1.0.275.3_p1-flash.patch b/www-client/vivaldi/files/vivaldi-1.0.275.3_p1-flash.patch new file mode 100644 index 000000000000..e1fc56f14236 --- /dev/null +++ b/www-client/vivaldi/files/vivaldi-1.0.275.3_p1-flash.patch @@ -0,0 +1,11 @@ +--- a/opt/vivaldi-snapshot/vivaldi-snapshot ++++ b/opt/vivaldi-snapshot/vivaldi-snapshot +@@ -85,6 +85,8 @@ elif [ -f "/usr/lib64/chromium/PepperFla + FLASH_PATH="/usr/lib64/chromium/PepperFlash/libpepflashplayer.so" # openSuse 64-bit + elif [ -f "/usr/lib/pepflashplugin-installer/libpepflashplayer.so" ]; then + FLASH_PATH="/usr/lib/pepflashplugin-installer/libpepflashplayer.so" # ppa:skunk/pepper-flash ++elif [ -f "/usr/lib64/chromium-browser/PepperFlash/libpepflashplayer.so" ]; then ++ FLASH_PATH="/usr/lib64/chromium-browser/PepperFlash/libpepflashplayer.so" # www-plugins/chrome-binary-plugins + fi + if [ -f $FLASH_PATH ]; then + FLASH_VERSION=`grep -m 1 -a -o "LNX [[:digit:]]\+,[[:digit:]]\+,[[:digit:]]\+,[[:digit:]]\+" $FLASH_PATH | cut -c 5- | sed -e "s/,/./g"` diff --git a/www-client/vivaldi/vivaldi-1.0.275.3_p1.ebuild b/www-client/vivaldi/vivaldi-1.0.275.3_p1.ebuild index 69c1403533e0..6378a5a54217 100644 --- a/www-client/vivaldi/vivaldi-1.0.275.3_p1.ebuild +++ b/www-client/vivaldi/vivaldi-1.0.275.3_p1.ebuild @@ -8,7 +8,7 @@ CHROMIUM_LANGS=" hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW " -inherit chromium multilib unpacker toolchain-funcs +inherit chromium eutils multilib unpacker toolchain-funcs DESCRIPTION="A new browser for our friends" HOMEPAGE="http://vivaldi.com/" @@ -66,6 +66,8 @@ src_unpack() { } src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0.275.3_p1-flash.patch + sed -i \ -e 's|vivaldi-snapshot|vivaldi|g' \ usr/share/applications/${PN}-snapshot.desktop \ |