libxkbcommon: allow building of API documentation

(From OE-Core rev: 12aed9f72e610c0a20c7d9fe329edf7b7753740d)

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:37 +00:00
committed by Richard Purdie
parent 28f9393d26
commit eeb85f6adf

View File

@@ -15,11 +15,13 @@ UPSTREAM_CHECK_URI = "http://xkbcommon.org/"
inherit meson pkgconfig
EXTRA_OEMESON = "-Denable-docs=false -Denable-xkbregistry=false"
EXTRA_OEMESON = "-Denable-xkbregistry=false"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)}"
PACKAGECONFIG[x11] = "-Denable-x11=true,-Denable-x11=false,libxcb xkeyboard-config,"
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,"
# Fix a following runtime error:
# xkbcommon: ERROR: couldn't find a Compose file for locale "C"