From fe05487ba6fa4ad27e7f7f04a2930a9be09b0243 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Fri, 23 Dec 2022 17:32:29 +0800 Subject: gcr: add opengl to REQUIRED_DISTRO_FEATURES Fixes: $ bitbake gcr ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/oe-core/meta/recipes-gnome/gcr/gcr_4.0.0.bb DEPENDS on or otherwise requires it) gtk4 was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES) ERROR: Required build target 'gcr' has no buildable providers. Missing or unbuildable dependency chain was: ['gcr', 'gtk4'] (From OE-Core rev: 47b0bf034796b6f159110dae363fe11eab3eab08) Signed-off-by: Mingli Yu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-gnome/gcr/gcr_4.0.0.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-gnome/gcr') diff --git a/meta/recipes-gnome/gcr/gcr_4.0.0.bb b/meta/recipes-gnome/gcr/gcr_4.0.0.bb index 264069ffd1..22edd386fc 100644 --- a/meta/recipes-gnome/gcr/gcr_4.0.0.bb +++ b/meta/recipes-gnome/gcr/gcr_4.0.0.bb @@ -20,6 +20,8 @@ GTKDOC_MESON_OPTION = "gtk_doc" inherit gnomebase gtk-icon-cache gi-docgen features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg UPSTREAM_CHECK_REGEX = "gcr-(?P\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz" +REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}" + SRC_URI += "file://0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch" SRC_URI[archive.sha256sum] = "c45855924f0ee7bab43e2dd38bfafd2ac815c6e9864341c0161e171173dcec7c" -- cgit v1.2.3-54-g00ecf