From 259d24e99b16ee45a4a755671244cf91c6770b06 Mon Sep 17 00:00:00 2001 From: Hayley Hughes Date: Fri, 23 Dec 2022 14:40:04 +1100 Subject: [PATCH] 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 --- 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 6f79a1c44a..24aa85cf04 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 }