diff mbox series

[5/7] gi-docgen.bbclass: depends on gobject-introspection-data being enabled

Message ID 20230516184031.2255171-5-ross.burton@arm.com
State Accepted, archived
Commit 874dc89182835ff01d881b998c707c1a9f1ccb08
Headers show
Series [1/7] meta: depend on autoconf-archive-native, not autoconf-archive | expand

Commit Message

Ross Burton May 16, 2023, 6:40 p.m. UTC
From: Ross Burton <ross.burton@arm.com>

The gi-docgen tool depends, as it's name suggests, on
gobject-introspection being available.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/classes-recipe/gi-docgen.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Petr Kubizňák - 2N May 18, 2023, 10:50 a.m. UTC | #1
The comment before the modified line does not match now.

Petr
diff mbox series

Patch

diff --git a/meta/classes-recipe/gi-docgen.bbclass b/meta/classes-recipe/gi-docgen.bbclass
index 8b7eaacea3f..eb30c6011f8 100644
--- a/meta/classes-recipe/gi-docgen.bbclass
+++ b/meta/classes-recipe/gi-docgen.bbclass
@@ -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"