@@ -24,6 +24,9 @@ PACKAGECONFIG[docs] = "-Denable-docs=true,-Denable-docs=false,doxygen-native"
PACKAGECONFIG[wayland] = "-Denable-wayland=true,-Denable-wayland=false,wayland-native wayland wayland-protocols,"
PACKAGECONFIG[x11] = "-Denable-x11=true,-Denable-x11=false,libxcb xkeyboard-config,"
+PACKAGE_BEFORE_PN += "xkbcli"
+FILES:xkbcli = "${bindir}/xkbcli ${libexecdir}/xkbcommon/xkbcli-*"
+
# Fix a following runtime error:
# xkbcommon: ERROR: couldn't find a Compose file for locale "C"
RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', 'libx11-compose-data', d)}"
Not everyone wants the CLI, so put it in a separate package to reduce mandatory dependencies. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-graphics/xorg-lib/libxkbcommon_1.3.1.bb | 3 +++ 1 file changed, 3 insertions(+)