gstreamer1.0-python: Improve introspection option handling

meson 0.60 turns unknown options into them hard errors. Disable
the addition of -Dintrospection using the new configuration option.

(From OE-Core rev: ad5666970bdca52b5b4db657c3291b51f4928d7c)

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:44 -08:00
committed by Richard Purdie
parent 33708f024d
commit 29249b6bc7

View File

@@ -21,14 +21,6 @@ EXTRA_OEMESON += "-Dlibpython-dir=${libdir}"
# gobject-introspection is mandatory and cannot be configured
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
GIR_MESON_OPTION = ""
inherit meson pkgconfig distutils3-base upstream-version-is-even features_check
# 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"
inherit meson pkgconfig distutils3-base upstream-version-is-even gobject-introspection features_check