diff options
| author | Ross Burton <ross.burton@arm.com> | 2023-08-10 17:24:50 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-21 11:34:12 +0100 |
| commit | e484c6cbef66ef48ad552a19132319dfec1c1321 (patch) | |
| tree | be7419f1a48ec68f637d3e8875868312dbab57c4 | |
| parent | 06cf343e142d192941090d67377005fe62615590 (diff) | |
| download | poky-e484c6cbef66ef48ad552a19132319dfec1c1321.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-devtools/python/python3-pygobject_3.44.1.bb | 7 |
1 files changed, 5 insertions, 2 deletions
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 6f7d9a09ec..797a7cec8b 100644 --- a/meta/recipes-devtools/python/python3-pygobject_3.44.1.bb +++ b/meta/recipes-devtools/python/python3-pygobject_3.44.1.bb | |||
| @@ -8,9 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | |||
| 8 | GNOMEBASEBUILDCLASS = "meson" | 8 | GNOMEBASEBUILDCLASS = "meson" |
| 9 | GIR_MESON_OPTION = "" | 9 | GIR_MESON_OPTION = "" |
| 10 | 10 | ||
| 11 | inherit gnomebase setuptools3-base gobject-introspection upstream-version-is-even features_check | 11 | inherit gnomebase setuptools3-base gobject-introspection upstream-version-is-even |
| 12 | 12 | ||
| 13 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | 13 | python() { |
| 14 | if d.getVar('CLASSOVERRIDE') == "class-target" and not bb.utils.to_boolean(d.getVar("GI_DATA_ENABLED")): | ||
| 15 | raise bb.parse.SkipRecipe("GI not available") | ||
| 16 | } | ||
| 14 | 17 | ||
| 15 | DEPENDS += "python3 glib-2.0" | 18 | DEPENDS += "python3 glib-2.0" |
| 16 | 19 | ||
