The gtk-doc documentation doesn't build if X11 is disabled.

Signed-off-by: Ross Burton <[email protected]>
---
 meta/recipes-support/atk/at-spi2-core_2.46.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/atk/at-spi2-core_2.46.0.bb 
b/meta/recipes-support/atk/at-spi2-core_2.46.0.bb
index f815a5eeb21..d9161e1acb3 100644
--- a/meta/recipes-support/atk/at-spi2-core_2.46.0.bb
+++ b/meta/recipes-support/atk/at-spi2-core_2.46.0.bb
@@ -28,6 +28,8 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 
'x11', d)}"
 PACKAGECONFIG[x11] = "-Dx11=yes,-Dx11=no,virtual/libx11 libxi libxtst"
 
 GTKDOC_MESON_OPTION = "docs"
+# The documentation doesn't build if X11 is disabled. Appears to be fixed post 
2.46.0.
+EXTRA_OEMESON += "${@bb.utils.contains("DISTRO_FEATURES", "x11", "", 
"-Ddocs=false", d)}"
 
 GIR_MESON_OPTION = 'introspection'
 GIR_MESON_ENABLE_FLAG = 'yes'
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#174542): 
https://lists.openembedded.org/g/openembedded-core/message/174542
Mute This Topic: https://lists.openembedded.org/mt/95647796/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to