python3-pygobject skips itself unless GI_DATA_ENABLED, which also needs qemu-usermode in MACHINE_FEATURES, so on e5500/e6500 machines world has no provider for this recipe's DEPENDS. Skip on the same condition. Checked with bitbake -k -S none world for an e5500 machine; task signatures are unchanged where GI data is available.
Signed-off-by: Luciano Dittgen <[email protected]> --- .../gstreamer/gstreamer1.0-python_1.28.7.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.28.7.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.28.7.bb index 1b17accd41..a33bc0f057 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.28.7.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.28.7.bb @@ -23,8 +23,15 @@ EXTRA_OEMESON += "\ -Dlibpython-dir=${libdir} \ " -inherit meson pkgconfig setuptools3-base upstream-version-is-even features_check +inherit meson pkgconfig setuptools3-base upstream-version-is-even features_check gobject-introspection-data FILES:${PN} += "${libdir}/gstreamer-1.0" REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" + +# python3-pygobject is skipped without GI data, which also depends on +# qemu-usermode in MACHINE_FEATURES, so skip along with it. +python() { + if not bb.utils.to_boolean(d.getVar("GI_DATA_ENABLED")): + raise bb.parse.SkipRecipe("GI not available") +} -- 2.54.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#247053): https://lists.openembedded.org/g/openembedded-core/message/247053 Mute This Topic: https://lists.openembedded.org/mt/121535378/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
