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")
+}
