From a2023319eb315ba71f6c6699d2068e51524a2908 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 12 Nov 2021 13:03:45 -0800 Subject: [PATCH] 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 --- .../python/python3-pygobject_3.42.0.bb | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) 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" -- 2.40.1