From: Ross Burton Date: Tue, 16 May 2023 18:40:29 +0000 (+0100) Subject: gi-docgen.bbclass: depends on gobject-introspection-data being enabled X-Git-Tag: uninative-3.10~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=874dc89182835ff01d881b998c707c1a9f1ccb08;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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. Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni --- 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"