]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
at-spi2-core: disable API docs if x11 is disabled
authorRoss Burton <ross.burton@arm.com>
Tue, 13 Dec 2022 16:17:31 +0000 (16:17 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Dec 2022 10:16:25 +0000 (10:16 +0000)
The gtk-doc documentation doesn't build if X11 is disabled.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/atk/at-spi2-core_2.46.0.bb

index f815a5eeb2122f28551559ed14fc4857a5910cbb..d9161e1acb3de6e7f46c3eb4f20213f612148416 100644 (file)
@@ -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'