commit:     a09caa7b70ca6e9dca451ec028ad98ce83496100
Author:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 23 01:34:46 2019 +0000
Commit:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Tue Apr 23 01:34:46 2019 +0000
URL:        https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=a09caa7b

www-client/firefox: use correct toolkit for wayland

Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>

 www-client/firefox/firefox-67.0_beta12.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/www-client/firefox/firefox-67.0_beta12.ebuild 
b/www-client/firefox/firefox-67.0_beta12.ebuild
index a76e9ee..1bb2141 100644
--- a/www-client/firefox/firefox-67.0_beta12.ebuild
+++ b/www-client/firefox/firefox-67.0_beta12.ebuild
@@ -490,7 +490,11 @@ src_configure() {
 
        # use the gtk3 toolkit (the only one supported at this point)
        # TODO: Will this result in automagic dependency on 
x11-libs/gtk+[wayland]?
-       mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3
+       if use wayland ; then
+               mozconfig_annotate '' --enable-default-toolkit-cairo-gtk-wayland
+       else
+               mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3
+       fi
 
        mozconfig_use_enable startup-notification
        mozconfig_use_enable system-sqlite

Reply via email to