mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 10:13:03 +01:00
python3-pygobject: add explicit check for qemu-usermode MACHINE_FEATURE
When building for the target this recipe absolutely needs gobject-introspection to be enabled, so add an explict (From OE-Core rev: 86941419ef2d315db6bf5645491bf97ec129eb34) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
06cf343e14
commit
e484c6cbef
@@ -8,9 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
GIR_MESON_OPTION = ""
|
||||
|
||||
inherit gnomebase setuptools3-base gobject-introspection upstream-version-is-even features_check
|
||||
inherit gnomebase setuptools3-base gobject-introspection upstream-version-is-even
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
||||
python() {
|
||||
if d.getVar('CLASSOVERRIDE') == "class-target" and not bb.utils.to_boolean(d.getVar("GI_DATA_ENABLED")):
|
||||
raise bb.parse.SkipRecipe("GI not available")
|
||||
}
|
||||
|
||||
DEPENDS += "python3 glib-2.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user