]> code.ossystems Code Review - openembedded-core.git/commitdiff
python3-pygobject: Improve introspection handling
authorKhem Raj <raj.khem@gmail.com>
Fri, 12 Nov 2021 21:03:45 +0000 (13:03 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 13 Nov 2021 16:09:15 +0000 (16:09 +0000)
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 <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-pygobject_3.42.0.bb

index 7ff7c5b4dd5a026ee1b9f5b664315242ee1ff110..b07969c5efb56a8dcfda5587dfaca453c0b0028b 100644 (file)
@@ -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"