From: Khem Raj Date: Fri, 12 Nov 2021 21:03:45 +0000 (-0800) Subject: python3-pygobject: Improve introspection handling X-Git-Tag: uninative-3.5~839 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a2023319eb315ba71f6c6699d2068e51524a2908;p=openembedded-core.git python3-pygobject: Improve introspection handling meson 0.60 turns unknown options into them hard errors. Do not add -Dintrospection by using the new configuration option. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb b/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb index 7ff7c5b4dd..b07969c5ef 100644 --- a/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb +++ b/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb @@ -6,18 +6,11 @@ LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" GNOMEBASEBUILDCLASS = "meson" -inherit gnomebase distutils3-base upstream-version-is-even +GIR_MESON_OPTION = "" -DEPENDS += "python3 glib-2.0" - -# Generating introspection data depends on a combination of native and target -# introspection tools, and qemu to run the target tools. -DEPENDS:append:class-target = " gobject-introspection gobject-introspection-native qemu-native prelink-native" +inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even -# Even though introspection is disabled on -native, gobject-introspection package is still -# needed for m4 macros. -DEPENDS:append:class-native = " gobject-introspection-native" -DEPENDS:append:class-nativesdk = " gobject-introspection-native" +DEPENDS += "python3 glib-2.0" SRCNAME="pygobject"