From ad5666970bdca52b5b4db657c3291b51f4928d7c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 12 Nov 2021 13:03:44 -0800 Subject: [PATCH] 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. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- .../gstreamer/gstreamer1.0-python_1.18.5.bb | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb index a32805d129..045aea4409 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb @@ -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 -- 2.40.1