commit: 259d24e99b16ee45a4a755671244cf91c6770b06
Author: Hayley Hughes <hayley <AT> foxes <DOT> systems>
AuthorDate: Fri Dec 23 03:40:04 2022 +0000
Commit: Hayley Hughes <hayley <AT> foxes <DOT> systems>
CommitDate: Fri Dec 23 03:54:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=259d24e9
gui-wm/dwl: add missing libs for XWayland
Currently fails to build with the X flag as the xcb and xcb-iccm libs
are missing
Signed-off-by: Hayley Hughes <hayley <AT> foxes.systems>
gui-wm/dwl/dwl-0.4_rc2.ebuild | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gui-wm/dwl/dwl-0.4_rc2.ebuild b/gui-wm/dwl/dwl-0.4_rc2.ebuild
index 6f79a1c44..24aa85cf0 100644
--- a/gui-wm/dwl/dwl-0.4_rc2.ebuild
+++ b/gui-wm/dwl/dwl-0.4_rc2.ebuild
@@ -20,7 +20,10 @@ RDEPEND="
dev-libs/wayland
gui-libs/wlroots:0/16[X(-)?]
x11-libs/libxkbcommon
- X? ( x11-libs/libxcb )
+ X? (
+ x11-libs/libxcb
+ x11-libs/xcb-util-wm
+ )
"
DEPEND="${RDEPEND}"
BDEPEND="
@@ -36,7 +39,11 @@ src_prepare() {
}
src_configure() {
- use X && append-cppflags -DXWAYLAND
+ if use X; then
+ append-cppflags '-DXWAYLAND'
+ append-libs '-lxcb' '-lxcb-icccm'
+ fi
+
tc-export CC
}