From 8df920252454762a1c84e2d899c8971dd2ca7342 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Thu, 10 Nov 2022 16:36:12 +0800 Subject: [PATCH] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES gnome-calculator depends on gtk4 which depends on libepoxy(an opengl related library) [1]. Fixes: ERROR: Nothing PROVIDES 'gtk4-native' (but /build/layers/meta-openembedded/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb DEPENDS on or otherwise requires it) gtk4-native was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'gnome-calculator', 'gtk4-native'] [1] https://github.com/anholt/libepoxy/ Signed-off-by: Mingli Yu Signed-off-by: Khem Raj --- .../recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb b/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb index 31513a5f61..66a29a094e 100644 --- a/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb +++ b/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb @@ -26,7 +26,7 @@ inherit gnomebase gobject-introspection gnome-help vala gtk-icon-cache gettext f def gnome_verdir(v): return oe.utils.trim_version(v, 1) -REQUIRED_DISTRO_FEATURES = "x11" +REQUIRED_DISTRO_FEATURES = "x11 opengl" SRC_URI[archive.sha256sum] = "33dab1bca43658d66520958b0f674cb0ad3185cfd30c12e459e7f69481c5c6a0"