[PATCH 3/6] libxkbcommon: allow building of API documentation


Ross Burton <ross@...>
 

Signed-off-by: Ross Burton <ross.burton@...>
---
meta/recipes-graphics/xorg-lib/libxkbcommon_1.3.1.bb | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

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 95accfc184..725fcf009e 100644
--- a/meta/recipes-graphics/xorg-lib/libxkbcommon_1.3.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libxkbcommon_1.3.1.bb
@@ -15,11 +15,14 @@ UPSTREAM_CHECK_URI =3D "http://xkbcommon.org/"
=20
inherit meson pkgconfig
=20
-EXTRA_OEMESON =3D "-Denable-docs=3Dfalse -Denable-xkbregistry=3Dfalse"
+EXTRA_OEMESON =3D "-Denable-xkbregistry=3Dfalse"
=20
PACKAGECONFIG ?=3D "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland',=
d)}"
-PACKAGECONFIG[x11] =3D "-Denable-x11=3Dtrue,-Denable-x11=3Dfalse,libxcb =
xkeyboard-config,"
+PACKAGECONFIG:append:class-target =3D " ${@bb.utils.contains('DISTRO_FEA=
TURES', 'api-documentation', 'docs', '', d)}"
+
+PACKAGECONFIG[docs] =3D "-Denable-docs=3Dtrue,-Denable-docs=3Dfalse,doxy=
gen-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
# Fix a following runtime error:
# xkbcommon: ERROR: couldn't find a Compose file for locale "C"
--=20
2.25.1

Join openembedded-core@lists.openembedded.org to automatically receive all group messages.