[v2,2/2] python3-pygobject: Do not add -Dintrospection

Message ID 20211113160813.2011818-2-raj.khem@gmail.com
State New
Headers show
Series [v2,1/2] gstreamer1.0-python: Do not add -Dintrospection | expand

Commit Message

Khem Raj Nov. 13, 2021, 4:08 p.m. UTC
This also reverts commit 9c0cc06a3d857124c0e1c1c9342f79ba5a3b10bc.

meson 0.60 turns unknown options into hard errors

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
v2: Squash revert and fix typo

 .../python/python3-pygobject_3.42.0.bb              | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

Patch

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 7ff7c5b4dd5..b07969c5efb 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"