www-plugins/adobe-flash: Fix chromium configuration file (bug #611310 comment #6).
authorJeroen Roovers <jer@gentoo.org>
Sat, 11 Mar 2017 09:29:06 +0000 (10:29 +0100)
committerJeroen Roovers <jer@gentoo.org>
Sat, 11 Mar 2017 09:29:06 +0000 (10:29 +0100)
Package-Manager: Portage-2.3.4, Repoman-2.3.2

www-plugins/adobe-flash/adobe-flash-24.0.0.221-r3.ebuild [moved from www-plugins/adobe-flash/adobe-flash-24.0.0.221-r2.ebuild with 98% similarity]
www-plugins/adobe-flash/files/pepper-flash-r1 [new file with mode: 0644]

similarity index 98%
rename from www-plugins/adobe-flash/adobe-flash-24.0.0.221-r2.ebuild
rename to www-plugins/adobe-flash/adobe-flash-24.0.0.221-r3.ebuild
index 5ace83c5f541f5c84594d48bc34f4287c86c9645..ed3de32b1a7febf5607aacb6e107b499c0d7cf79 100644 (file)
@@ -123,7 +123,7 @@ multilib_src_install() {
 
                if multilib_is_native_abi; then
                        dodir /etc/chromium
-                       sed "${FILESDIR}"/pepper-flash \
+                       sed "${FILESDIR}"/pepper-flash-r1 \
                                -e "s|@FP_LIBDIR@|$(get_libdir)|g" \
                                -e "s|@FP_PV@|${PV}|g" \
                                > "${D}"/etc/chromium/pepper-flash \
diff --git a/www-plugins/adobe-flash/files/pepper-flash-r1 b/www-plugins/adobe-flash/files/pepper-flash-r1
new file mode 100644 (file)
index 0000000..b70c40c
--- /dev/null
@@ -0,0 +1 @@
+CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --ppapi-flash-path=/usr/@FP_LIBDIR@/chromium/PepperFlash/libpepflashplayer.so --ppapi-flash-version=@FP_PV@"