mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user