commit:     1e64a89f56d874f12583be0dc83b4c4ce9693d5e
Author:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  4 13:43:33 2019 +0000
Commit:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 13:43:33 2019 +0000
URL:        https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=1e64a89f

www-client/firefox: dbus is mandatory for >=69.0

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

 www-client/firefox/firefox-69.0.ebuild | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/www-client/firefox/firefox-69.0.ebuild 
b/www-client/firefox/firefox-69.0.ebuild
index 2794554..815eea2 100644
--- a/www-client/firefox/firefox-69.0.ebuild
+++ b/www-client/firefox/firefox-69.0.ebuild
@@ -51,7 +51,7 @@ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 
 SLOT="0"
 LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
-IUSE="bindist clang cpu_flags_x86_avx2 dbus debug eme-free geckodriver
+IUSE="bindist clang cpu_flags_x86_avx2 debug eme-free geckodriver
        +gmp-autoupdate hardened hwaccel jack lto neon pgo pulseaudio
        +screenshot selinux startup-notification +system-av1
        +system-harfbuzz +system-icu +system-jpeg +system-libevent
@@ -79,7 +79,7 @@ CDEPEND="
        >=media-libs/freetype-2.4.10
        kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
        virtual/freedesktop-icon-theme
-       dbus? ( >=sys-apps/dbus-0.60
+       || ( >=sys-apps/dbus-0.60
                >=dev-libs/dbus-glib-0.72 )
        startup-notification? ( >=x11-libs/startup-notification-0.8 )
        >=x11-libs/pixman-0.19.2
@@ -108,9 +108,7 @@ CDEPEND="
        )
        system-sqlite? ( >=dev-db/sqlite-3.28.0:3[secure-delete,debug=] )
        system-webp? ( >=media-libs/libwebp-1.0.2:0= )
-       wifi? ( kernel_linux? ( >=sys-apps/dbus-0.60
-                       >=dev-libs/dbus-glib-0.72
-                       net-misc/networkmanager ) )
+       wifi? ( kernel_linux? ( net-misc/networkmanager ) )
        jack? ( virtual/jack )
        selinux? ( sec-policy/selinux-mozilla )"
 
@@ -168,7 +166,7 @@ DEPEND="${CDEPEND}
        )"
 
 # We use virtx eclass which cannot handle wayland
-REQUIRED_USE="wifi? ( dbus )
+REQUIRED_USE="
        pgo? (
                lto
                !wayland
@@ -492,6 +490,7 @@ src_configure() {
        mozconfig_annotate '' --disable-gconf
        mozconfig_annotate '' --with-intl-api
        mozconfig_annotate '' --enable-system-pixman
+       mozconfig_annotate '' --enable-dbus
        # Instead of the standard --build= and --host=, mozilla uses --host 
instead
        # of --build, and --target intstead of --host.
        # Note, mozilla also has --build but it does not do what you think it 
does.
@@ -536,8 +535,6 @@ src_configure() {
                python/mozbuild/mozbuild/controller/building.py || \
                die "Failed to disable ccache stats call"
 
-       mozconfig_use_enable dbus
-
        mozconfig_use_enable wifi necko-wifi
 
        mozconfig_use_enable geckodriver

Reply via email to