libdazzle: use gobject-introspection.bbclass on/off mechanism

(From OE-Core rev: 926cdbf7a7a07c8dfdfe3f3b66f32f8c1ea0dffa)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andreas Müller
2019-04-05 08:37:29 +02:00
committed by Richard Purdie
parent c2c71b71fe
commit be45c489ae

View File

@@ -11,10 +11,6 @@ SRC_URI += " file://0001-Add-a-define-so-that-gir-compilation-succeeds.patch"
SRC_URI[archive.md5sum] = "24e2e1b914a34f5b8868a9507d1f3c4c"
SRC_URI[archive.sha256sum] = "78770eae9fa15ac5acb9c733d29459330b2540affbf72933119e36dbd90b36d5"
GI_ENABLE_FLAG = "-Dwith_introspection=true"
GI_DISABLE_FLAG = "-Dwith_introspection=false"
GIR_MESON_OPTION = 'with_introspection'
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \
'${GI_DISABLE_FLAG}', d)} "