summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/gi-docgen.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-05-16 19:40:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-22 10:53:48 +0100
commit5198bf480d0bfd20dab726ded1312438e6d3ec8d (patch)
tree6d77ccb7963fc6aa5f8f6a5800a96c54dfed3046 /meta/classes-recipe/gi-docgen.bbclass
parentc7c7d774d0fe6426a112aa0fb432ea951f796717 (diff)
downloadpoky-5198bf480d0bfd20dab726ded1312438e6d3ec8d.tar.gz
gi-docgen.bbclass: depends on gobject-introspection-data being enabled
The gi-docgen tool depends, as it's name suggests, on gobject-introspection being available. (From OE-Core rev: 874dc89182835ff01d881b998c707c1a9f1ccb08) 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/classes-recipe/gi-docgen.bbclass')
-rw-r--r--meta/classes-recipe/gi-docgen.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes-recipe/gi-docgen.bbclass b/meta/classes-recipe/gi-docgen.bbclass
index 8b7eaacea3..eb30c6011f 100644
--- a/meta/classes-recipe/gi-docgen.bbclass
+++ b/meta/classes-recipe/gi-docgen.bbclass
@@ -10,7 +10,8 @@
10 10
11# This variable is set to True if api-documentation is in 11# This variable is set to True if api-documentation is in
12# DISTRO_FEATURES, and False otherwise. 12# DISTRO_FEATURES, and False otherwise.
13GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'True', 'False', d)}" 13GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation gobject-introspection-data', 'True', 'False', d)}"
14
14# When building native recipes, disable gi-docgen, as it is not necessary, 15# When building native recipes, disable gi-docgen, as it is not necessary,
15# pulls in additional dependencies, and makes build times longer 16# pulls in additional dependencies, and makes build times longer
16GIDOCGEN_ENABLED:class-native = "False" 17GIDOCGEN_ENABLED:class-native = "False"