From 2e0e65ecaa9f17e86671359a689c4a3fa85ecc8b Mon Sep 17 00:00:00 2001 From: Pavel Zhukov Date: Wed, 26 Nov 2025 08:58:30 -0500 Subject: [PATCH] fbida: Require opengl feature for pdf only Don't require it for entire distro if pdf package config disabled. Signed-off-by: Pavel Zhukov Signed-off-by: Khem Raj (cherry picked from commit f22451b51bf668fbbf27b50744786c64316ef700) Signed-off-by: Chris Laplante Signed-off-by: Anuj Mittal --- meta-oe/recipes-graphics/fbida/fbida_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-graphics/fbida/fbida_git.bb b/meta-oe/recipes-graphics/fbida/fbida_git.bb index 247a1fcbb2..6c06748499 100644 --- a/meta-oe/recipes-graphics/fbida/fbida_git.bb +++ b/meta-oe/recipes-graphics/fbida/fbida_git.bb @@ -26,7 +26,7 @@ S = "${WORKDIR}/git" inherit meson pkgconfig features_check # Depends on libepoxy -REQUIRED_DISTRO_FEATURES = "opengl" +REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'pdf', 'opengl', '', d)}" PACKAGECONFIG ??= "gif png pdf" PACKAGECONFIG[gif] = "-Dgif=enabled,-Dgif=disabled,giflib"