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