xkbcommon: split xkbcli into a separate package

Not everyone wants the CLI, so put it in a separate package to reduce
mandatory dependencies.

(From OE-Core rev: f6777d4bc5a3f04c4fe12c508609ba84fdde67b2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2021-12-03 16:43:38 +00:00
committed by Richard Purdie
parent eeb85f6adf
commit f11d868f47

View File

@@ -23,6 +23,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)}"