diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-27 11:07:35 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-28 14:16:31 +0100 |
commit | c69f416c9382bc43bdadbea2903e9d8fba3b69a3 (patch) | |
tree | fddc849be597942ad1914d01528feddccc0e3ddf | |
parent | 091a598f3065b6fb851d550c56577635dbcd6d67 (diff) | |
download | poky-c69f416c9382bc43bdadbea2903e9d8fba3b69a3.tar.gz |
gstreamer1.0-python: do not supply unknown g-i options
meson 0.60 turns unknown options into them hard errors, so instead of relying on g-i class
(where the options are mandatory) add g-i dependencies explicitly.
(From OE-Core rev: f4bbbf2cd3e711875489b19f9b55b52ebd7be4bd)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb | 12 |
1 files changed, 10 insertions, 2 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 74dd15b3eb..a32805d129 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,6 +21,14 @@ EXTRA_OEMESON += "-Dlibpython-dir=${libdir}" | |||
21 | 21 | ||
22 | # gobject-introspection is mandatory and cannot be configured | 22 | # gobject-introspection is mandatory and cannot be configured |
23 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | 23 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
24 | UNKNOWN_CONFIGURE_WHITELIST:append = " introspection" | ||
25 | 24 | ||
26 | inherit meson pkgconfig distutils3-base upstream-version-is-even gobject-introspection features_check | 25 | inherit meson pkgconfig distutils3-base upstream-version-is-even features_check |
26 | |||
27 | # Generating introspection data depends on a combination of native and target | ||
28 | # introspection tools, and qemu to run the target tools. | ||
29 | DEPENDS:append:class-target = " gobject-introspection gobject-introspection-native qemu-native prelink-native" | ||
30 | |||
31 | # Even though introspection is disabled on -native, gobject-introspection package is still | ||
32 | # needed for m4 macros. | ||
33 | DEPENDS:append:class-native = " gobject-introspection-native" | ||
34 | DEPENDS:append:class-nativesdk = " gobject-introspection-native" | ||