commit:     947fc59de31ced09224deeb2159414008e505d80
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sun Jun  9 00:53:44 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul  4 01:16:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=947fc59d

gui-wm/dwl: add missing RDEPEND on x11-base/xwayland

this has never been a problem because gui-libs/wlroots[X] also depends
on it, but add it for correctness

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gui-wm/dwl/{dwl-9999.ebuild => dwl-0.5-r1.ebuild} | 11 ++++++++---
 gui-wm/dwl/dwl-9999-r1.ebuild                     | 11 ++++++++---
 gui-wm/dwl/dwl-9999.ebuild                        | 11 ++++++++---
 3 files changed, 24 insertions(+), 9 deletions(-)

diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-0.5-r1.ebuild
similarity index 95%
copy from gui-wm/dwl/dwl-9999.ebuild
copy to gui-wm/dwl/dwl-0.5-r1.ebuild
index 11f48b8e090b..f94a2aa83609 100644
--- a/gui-wm/dwl/dwl-9999.ebuild
+++ b/gui-wm/dwl/dwl-0.5-r1.ebuild
@@ -40,7 +40,7 @@ LICENSE="CC0-1.0 GPL-3+ MIT"
 SLOT="0"
 IUSE="X"
 
-RDEPEND="
+CDEPEND="
        ${WLROOTS_DEP}
        dev-libs/libinput:=
        dev-libs/wayland
@@ -50,10 +50,15 @@ RDEPEND="
                x11-libs/xcb-util-wm
        )
 "
-
+RDEPEND="
+       ${CDEPEND}
+       X? (
+               x11-base/xwayland
+       )
+"
 # uses <linux/input-event-codes.h>
 DEPEND="
-       ${RDEPEND}
+       ${CDEPEND}
        sys-kernel/linux-headers
 "
 BDEPEND="

diff --git a/gui-wm/dwl/dwl-9999-r1.ebuild b/gui-wm/dwl/dwl-9999-r1.ebuild
index 64c73b5b8ef2..7a8722df0d60 100644
--- a/gui-wm/dwl/dwl-9999-r1.ebuild
+++ b/gui-wm/dwl/dwl-9999-r1.ebuild
@@ -40,7 +40,7 @@ LICENSE="CC0-1.0 GPL-3+ MIT"
 SLOT="0"
 IUSE="X"
 
-RDEPEND="
+CDEPEND="
        ${WLROOTS_DEP}
        dev-libs/libinput:=
        dev-libs/wayland
@@ -50,10 +50,15 @@ RDEPEND="
                x11-libs/xcb-util-wm
        )
 "
-
+RDEPEND="
+       ${CDEPEND}
+       X? (
+               x11-base/xwayland
+       )
+"
 # uses <linux/input-event-codes.h>
 DEPEND="
-       ${RDEPEND}
+       ${CDEPEND}
        sys-kernel/linux-headers
 "
 BDEPEND="

diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild
index 11f48b8e090b..f94a2aa83609 100644
--- a/gui-wm/dwl/dwl-9999.ebuild
+++ b/gui-wm/dwl/dwl-9999.ebuild
@@ -40,7 +40,7 @@ LICENSE="CC0-1.0 GPL-3+ MIT"
 SLOT="0"
 IUSE="X"
 
-RDEPEND="
+CDEPEND="
        ${WLROOTS_DEP}
        dev-libs/libinput:=
        dev-libs/wayland
@@ -50,10 +50,15 @@ RDEPEND="
                x11-libs/xcb-util-wm
        )
 "
-
+RDEPEND="
+       ${CDEPEND}
+       X? (
+               x11-base/xwayland
+       )
+"
 # uses <linux/input-event-codes.h>
 DEPEND="
-       ${RDEPEND}
+       ${CDEPEND}
        sys-kernel/linux-headers
 "
 BDEPEND="

Reply via email to