summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pygobject_3.42.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-11-12 13:03:45 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-13 16:09:15 +0000
commita2023319eb315ba71f6c6699d2068e51524a2908 (patch)
treee30aed9e5ae69d719fe8d85dd0e8b19e68e2a1e5 /meta/recipes-devtools/python/python3-pygobject_3.42.0.bb
parentad5666970bdca52b5b4db657c3291b51f4928d7c (diff)
downloadopenembedded-core-contrib-a2023319eb315ba71f6c6699d2068e51524a2908.tar.gz
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 <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pygobject_3.42.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-pygobject_3.42.0.bb13
1 files 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"