]> code.ossystems Code Review - openembedded-core.git/commitdiff
xkbcommon: split xkbcli into a separate package
authorRoss Burton <ross@burtonini.com>
Fri, 3 Dec 2021 16:43:38 +0000 (16:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Dec 2021 11:09:48 +0000 (11:09 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-lib/libxkbcommon_1.3.1.bb

index ec4cb53a9182f7acfed3fa91c08285b354f448a0..49eb072778c311661ee931e1bdf3983bbe744dfe 100644 (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)}"