]> code.ossystems Code Review - openembedded-core.git/commitdiff
libdazzle: use gobject-introspection.bbclass on/off mechanism
authorAndreas Müller <schnitzeltony@gmail.com>
Fri, 5 Apr 2019 06:37:29 +0000 (08:37 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Apr 2019 14:26:25 +0000 (15:26 +0100)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/libdazzle/libdazzle_3.30.2.bb

index 3779b15af9ee710484cc13989a9b038e2837d70d..c112857f2c87ac561a377d3376a7f7bc1265ec28 100644 (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)} "