mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 18:32:20 +02:00
at-spi2-core: disable API docs if x11 is disabled
The gtk-doc documentation doesn't build if X11 is disabled. (From OE-Core rev: 42a39291c4de7d429760f76f8299dbac9c624572) 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>
This commit is contained in:
committed by
Richard Purdie
parent
566d928f5f
commit
6a68137928
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user