diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2022-12-23 17:32:29 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-12 23:08:50 +0000 |
| commit | fe05487ba6fa4ad27e7f7f04a2930a9be09b0243 (patch) | |
| tree | c68266ebbb62b9081dfa9a1d89e0ad2c8513c1f8 | |
| parent | e26e0b92e813bea0d5b875c936ff390937c860f0 (diff) | |
| download | poky-fe05487ba6fa4ad27e7f7f04a2930a9be09b0243.tar.gz | |
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 <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-gnome/gcr/gcr_4.0.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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" | |||
| 20 | inherit gnomebase gtk-icon-cache gi-docgen features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg | 20 | inherit gnomebase gtk-icon-cache gi-docgen features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg |
| 21 | UPSTREAM_CHECK_REGEX = "gcr-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz" | 21 | UPSTREAM_CHECK_REGEX = "gcr-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz" |
| 22 | 22 | ||
| 23 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}" | ||
| 24 | |||
| 23 | SRC_URI += "file://0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch" | 25 | SRC_URI += "file://0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch" |
| 24 | SRC_URI[archive.sha256sum] = "c45855924f0ee7bab43e2dd38bfafd2ac815c6e9864341c0161e171173dcec7c" | 26 | SRC_URI[archive.sha256sum] = "c45855924f0ee7bab43e2dd38bfafd2ac815c6e9864341c0161e171173dcec7c" |
| 25 | 27 | ||
