@@ -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")
+}
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 <luciano.dittgen@ossystems.com.br> --- .../gstreamer/gstreamer1.0-python_1.28.7.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)