commit:     cd2e2357b115f5504a90d09f88554c0fa6ca1f1a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 25 12:05:40 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 25 12:06:55 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd2e2357

gui-apps/waybar: avoid || ( ... ) dep for systemd and elogind

We already have a USE=systemd for this package and the || ( ... ) dep
wastes backtracking cycles and may lead to then confusing autounmask
output too.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 gui-apps/waybar/waybar-0.14.0.ebuild | 4 ++--
 gui-apps/waybar/waybar-9999.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gui-apps/waybar/waybar-0.14.0.ebuild 
b/gui-apps/waybar/waybar-0.14.0.ebuild
index 5b643f309d6d..052f3a0b82ec 100644
--- a/gui-apps/waybar/waybar-0.14.0.ebuild
+++ b/gui-apps/waybar/waybar-0.14.0.ebuild
@@ -53,8 +53,8 @@ RDEPEND="
        jack? ( virtual/jack )
        libinput? ( dev-libs/libinput:= )
        logind? (
-               || ( sys-apps/systemd
-                        sys-auth/elogind )
+               systemd? ( sys-apps/systemd )
+               !systemd? ( sys-auth/elogind )
        )
        mpd? ( media-libs/libmpdclient )
        mpris? ( >=media-sound/playerctl-2 )

diff --git a/gui-apps/waybar/waybar-9999.ebuild 
b/gui-apps/waybar/waybar-9999.ebuild
index 5b643f309d6d..052f3a0b82ec 100644
--- a/gui-apps/waybar/waybar-9999.ebuild
+++ b/gui-apps/waybar/waybar-9999.ebuild
@@ -53,8 +53,8 @@ RDEPEND="
        jack? ( virtual/jack )
        libinput? ( dev-libs/libinput:= )
        logind? (
-               || ( sys-apps/systemd
-                        sys-auth/elogind )
+               systemd? ( sys-apps/systemd )
+               !systemd? ( sys-auth/elogind )
        )
        mpd? ( media-libs/libmpdclient )
        mpris? ( >=media-sound/playerctl-2 )

Reply via email to