diff --git a/www-client/firefox/firefox-52.0.1.ebuild b/www-client/firefox/firefox-52.0.1.ebuild index f1c5c911af54e..dee4ffb1bdaf4 100644 --- a/www-client/firefox/firefox-52.0.1.ebuild +++ b/www-client/firefox/firefox-52.0.1.ebuild @@ -39,7 +39,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-lin SLOT="0" LICENSE="MPL-2.0 GPL-2 LGPL-2.1" -IUSE="bindist +gmp-autoupdate hardened hwaccel jack pgo rust selinux test" +IUSE="bindist +gmp-autoupdate hardened hwaccel jack nsplugin pgo rust selinux test" RESTRICT="!bindist? ( bindist )" PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c}/mozilla/patchsets/${PATCH}.tar.xz ) @@ -296,6 +296,12 @@ src_install() { "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ || die + if use nsplugin; then + echo "pref(\"plugin.load_flash_only\", false);" >> \ + "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ + || die + fi + local plugin use gmp-autoupdate || for plugin in "${GMP_PLUGIN_LIST[@]}" ; do echo "pref(\"media.${plugin}.autoupdate\", false);" >> \ diff --git a/www-client/firefox/metadata.xml b/www-client/firefox/metadata.xml index 1a10a23ec9cb0..479508ffdaef3 100644 --- a/www-client/firefox/metadata.xml +++ b/www-client/firefox/metadata.xml @@ -16,6 +16,7 @@ Force-enable hardware-accelerated rendering (Mozilla bug 594876) Enable or disable jemalloc Enable or disable jemalloc3 (forced-on when supported prior to 38.0) + Enable support for NPAPI plugins other than flash Add support for profile-guided optimization using gcc-4.5, for faster binaries. This option will double the compile time. Enable support for using rust compiler (experimental)