commit:     3589e8bdf873a137f319efa4e813452fca59fae8
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Tue Sep 26 06:09:04 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 28 17:51:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3589e8bd

gui-libs/wlroots: update REQUIRED_USE

xcb-errors is silently disabled if both are disabled

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 gui-libs/wlroots/wlroots-9999.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gui-libs/wlroots/wlroots-9999.ebuild 
b/gui-libs/wlroots/wlroots-9999.ebuild
index 4e87d9d232db..701b10202eeb 100644
--- a/gui-libs/wlroots/wlroots-9999.ebuild
+++ b/gui-libs/wlroots/wlroots-9999.ebuild
@@ -20,7 +20,11 @@ fi
 
 LICENSE="MIT"
 IUSE="liftoff +libinput +drm +session tinywl vulkan x11-backend xcb-errors X"
-REQUIRED_USE="drm? ( session ) libinput? ( session )"
+REQUIRED_USE="
+       drm? ( session )
+       libinput? ( session )
+       xcb-errors? ( || ( x11-backend X ) )
+"
 
 DEPEND="
        >=dev-libs/wayland-1.22.0

Reply via email to