]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
gi-docgen.bbclass: depends on gobject-introspection-data being enabled
authorRoss Burton <ross.burton@arm.com>
Tue, 16 May 2023 18:40:29 +0000 (19:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 May 2023 09:53:44 +0000 (10:53 +0100)
The gi-docgen tool depends, as it's name suggests, on
gobject-introspection being available.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes-recipe/gi-docgen.bbclass

index 8b7eaacea3faedd6feaf49c0b51f4538755bd71b..eb30c6011f8087f4cfd558de9c57b70861f7adec 100644 (file)
@@ -10,7 +10,8 @@
 
 # This variable is set to True if api-documentation is in
 # DISTRO_FEATURES, and False otherwise.
-GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'True', 'False', d)}"
+GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation gobject-introspection-data', 'True', 'False', d)}"
+
 # When building native recipes, disable gi-docgen, as it is not necessary,
 # pulls in additional dependencies, and makes build times longer
 GIDOCGEN_ENABLED:class-native = "False"