xkbcommon: add option for xkbregistry

Enable by default, now that libraries are split into separate packages
this won't cause a change to existing setups.

(From OE-Core rev: aced64cbf6408af0d34c1db21a02e0666ac44848)

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:40 +00:00
committed by Richard Purdie
parent 680470cd52
commit 4d9a24d616

View File

@@ -15,13 +15,12 @@ UPSTREAM_CHECK_URI = "http://xkbcommon.org/"
inherit meson pkgconfig
EXTRA_OEMESON = "-Denable-xkbregistry=false"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)}"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)} xkbregistry"
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,"
PACKAGECONFIG[xkbregistry] = "-Denable-xkbregistry=true,-Denable-xkbregistry=false,libxml2"
PACKAGE_BEFORE_PN += "xkbcli"
FILES:${PN} = ""