diff options
author | Ross Burton <ross.burton@arm.com> | 2022-12-13 16:17:31 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-21 10:16:31 +0000 |
commit | 6a6813792899f4f8147944d55ac6f4a97cf775ce (patch) | |
tree | 715dd24075696801ed4bd7bf30872fbb89c4b85d /meta/recipes-support/atk | |
parent | 566d928f5f5bc55c39c2f8b73b28646af395fe43 (diff) | |
download | poky-6a6813792899f4f8147944d55ac6f4a97cf775ce.tar.gz |
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>
Diffstat (limited to 'meta/recipes-support/atk')
-rw-r--r-- | meta/recipes-support/atk/at-spi2-core_2.46.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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 f815a5eeb2..d9161e1acb 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)}" | |||
28 | PACKAGECONFIG[x11] = "-Dx11=yes,-Dx11=no,virtual/libx11 libxi libxtst" | 28 | PACKAGECONFIG[x11] = "-Dx11=yes,-Dx11=no,virtual/libx11 libxi libxtst" |
29 | 29 | ||
30 | GTKDOC_MESON_OPTION = "docs" | 30 | GTKDOC_MESON_OPTION = "docs" |
31 | # The documentation doesn't build if X11 is disabled. Appears to be fixed post 2.46.0. | ||
32 | EXTRA_OEMESON += "${@bb.utils.contains("DISTRO_FEATURES", "x11", "", "-Ddocs=false", d)}" | ||
31 | 33 | ||
32 | GIR_MESON_OPTION = 'introspection' | 34 | GIR_MESON_OPTION = 'introspection' |
33 | GIR_MESON_ENABLE_FLAG = 'yes' | 35 | GIR_MESON_ENABLE_FLAG = 'yes' |