cage: add PACKAGECONFIGS for xwayland

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2020-12-08 21:59:10 +01:00
parent b2c63928a1
commit 475bc53f19

View File

@@ -20,3 +20,7 @@ SRC_URI = "git://github.com/Hjdskes/${BPN}.git"
SRCREV = "d09739373288adef901cdd58c983c0d02302932c"
PV = "0.1.2.1"
S = "${WORKDIR}/git"
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','x11','xwayland','',d)}"
PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,xserver-xorg,xserver-xorg-xwayland"