]> code.ossystems Code Review - openembedded-core.git/commitdiff
gstreamer1.0-python: Improve introspection option handling
authorKhem Raj <raj.khem@gmail.com>
Fri, 12 Nov 2021 21:03:44 +0000 (13:03 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 13 Nov 2021 16:08:14 +0000 (16:08 +0000)
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 <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb

index a32805d129892a2ef1f490f9da6763b856d12c64..045aea44099827417b2bdccb456ae0d724093393 100644 (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