diff options
Diffstat (limited to 'poky/meta/classes/gi-docgen.bbclass')
-rw-r--r-- | poky/meta/classes/gi-docgen.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/poky/meta/classes/gi-docgen.bbclass b/poky/meta/classes/gi-docgen.bbclass index 5750f7028..15581ca12 100644 --- a/poky/meta/classes/gi-docgen.bbclass +++ b/poky/meta/classes/gi-docgen.bbclass @@ -7,8 +7,8 @@ GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', '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" -GIDOCGEN_ENABLED_class-nativesdk = "False" +GIDOCGEN_ENABLED:class-native = "False" +GIDOCGEN_ENABLED:class-nativesdk = "False" # meson: default option name to enable/disable gi-docgen. This matches most # projects' configuration. In doubts - check meson_options.txt in project's @@ -18,7 +18,7 @@ GIDOCGEN_MESON_ENABLE_FLAG ?= 'true' GIDOCGEN_MESON_DISABLE_FLAG ?= 'false' # Auto enable/disable based on GIDOCGEN_ENABLED -EXTRA_OEMESON_prepend = "-D${GIDOCGEN_MESON_OPTION}=${@bb.utils.contains('GIDOCGEN_ENABLED', 'True', '${GIDOCGEN_MESON_ENABLE_FLAG}', '${GIDOCGEN_MESON_DISABLE_FLAG}', d)} " +EXTRA_OEMESON:prepend = "-D${GIDOCGEN_MESON_OPTION}=${@bb.utils.contains('GIDOCGEN_ENABLED', 'True', '${GIDOCGEN_MESON_ENABLE_FLAG}', '${GIDOCGEN_MESON_DISABLE_FLAG}', d)} " -DEPENDS_append = "${@' gi-docgen-native gi-docgen' if d.getVar('GIDOCGEN_ENABLED') == 'True' else ''}" +DEPENDS:append = "${@' gi-docgen-native gi-docgen' if d.getVar('GIDOCGEN_ENABLED') == 'True' else ''}" |