From: Ross Burton Date: Tue, 16 May 2023 18:40:30 +0000 (+0100) Subject: python3-pygobject: mandate gobject-introspection-data DISTRO_FEATURE X-Git-Tag: uninative-3.10~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=723949d491991ec6e555f30d4b06a59fecbc1f35;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git python3-pygobject: mandate gobject-introspection-data DISTRO_FEATURE PyGObject needs gobject-introspection to function, so add a distro features check. Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-devtools/python/python3-pygobject_3.44.1.bb b/meta/recipes-devtools/python/python3-pygobject_3.44.1.bb index 1132e9a9ed3..43125927cd3 100644 --- a/meta/recipes-devtools/python/python3-pygobject_3.44.1.bb +++ b/meta/recipes-devtools/python/python3-pygobject_3.44.1.bb @@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" GNOMEBASEBUILDCLASS = "meson" GIR_MESON_OPTION = "" -inherit gnomebase setuptools3-base gobject-introspection upstream-version-is-even +inherit gnomebase setuptools3-base gobject-introspection upstream-version-is-even features_check + +REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" DEPENDS += "python3 glib-2.0"