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@foxes.systems>
This commit is contained in:
Hayley Hughes
2022-12-23 14:40:04 +11:00
parent 98c60039e2
commit 259d24e99b

View File

@@ -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
}