commit:     d0cea7f694cf32353baa5fec15293ccb8ca439f7
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 23 01:14:10 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Sep 23 01:30:40 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0cea7f6

www-client/firefox: add USE=geckodriver to enable WebDriver support

Closes: https://bugs.gentoo.org/665184
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 www-client/firefox/firefox-62.0.2.ebuild | 9 ++++++---
 www-client/firefox/metadata.xml          | 1 +
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/www-client/firefox/firefox-62.0.2.ebuild 
b/www-client/firefox/firefox-62.0.2.ebuild
index f19806bf345..778dbe170f9 100644
--- a/www-client/firefox/firefox-62.0.2.ebuild
+++ b/www-client/firefox/firefox-62.0.2.ebuild
@@ -40,9 +40,10 @@ KEYWORDS="~amd64 ~x86"
 
 SLOT="0"
 LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
-IUSE="bindist clang dbus debug eme-free +gmp-autoupdate hardened hwaccel jack 
lto neon
-       pulseaudio +screenshot selinux startup-notification system-harfbuzz 
system-icu
-       system-jpeg system-libevent system-sqlite system-libvpx test wifi"
+IUSE="bindist clang dbus debug eme-free geckodriver +gmp-autoupdate hardened 
hwaccel
+       jack lto neon pulseaudio +screenshot selinux startup-notification
+       system-harfbuzz system-icu system-jpeg system-libevent system-sqlite
+       system-libvpx test wifi"
 RESTRICT="!bindist? ( bindist )"
 
 PATCH_URIS=( 
https://dev.gentoo.org/~{anarchy,axs,polynomial-c}/mozilla/patchsets/${PATCH}.tar.xz
 )
@@ -392,6 +393,8 @@ src_configure() {
 
        mozconfig_use_enable wifi necko-wifi
 
+       mozconfig_use_enable geckodriver
+
        # enable JACK, bug 600002
        mozconfig_use_enable jack
 

diff --git a/www-client/firefox/metadata.xml b/www-client/firefox/metadata.xml
index 35cdb0ef1ea..c8b46b53b3b 100644
--- a/www-client/firefox/metadata.xml
+++ b/www-client/firefox/metadata.xml
@@ -12,6 +12,7 @@
        <flag name="custom-optimization">Build with user-specified compiler 
optimizations
                (-Os, -O0, -O1, -O2, -O3) from CFLAGS (unsupported)</flag>
        <flag name="eme-free">Disable EME (DRM plugin) cabability at build 
time</flag>
+       <flag name="geckodriver">Enable WebDriver support</flag>
        <flag name="gtk2">Use the cairo-gtk2 rendering engine</flag>
        <flag name="gmp-autoupdate">Allow Gecko Media Plugins (binary blobs) to 
be automatically
                downloaded and kept up-to-date in user profiles</flag>

Reply via email to