--- /dev/null
+--- 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"`
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/"
}
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 \