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.

(From OE-Core rev: a2023319eb315ba71f6c6699d2068e51524a2908)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2021-11-12 13:03:45 -08:00
committed by Richard Purdie
parent 29249b6bc7
commit 7ca8dd76ea

View File

@@ -6,19 +6,12 @@ LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase distutils3-base upstream-version-is-even
GIR_MESON_OPTION = ""
inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even
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"
# 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"
SRCNAME="pygobject"
SRC_URI = " \