diff mbox series

[meta-oe,scarthgap] fbida: Require opengl feature for pdf only

Message ID 20251126135830.3363238-1-chris.laplante@agilent.com
State New
Headers show
Series [meta-oe,scarthgap] fbida: Require opengl feature for pdf only | expand

Commit Message

chris.laplante@agilent.com Nov. 26, 2025, 1:58 p.m. UTC
From: Pavel Zhukov <pavel@zhukoff.net>

Don't require it for entire distro if pdf package config disabled.

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f22451b51bf668fbbf27b50744786c64316ef700)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
---
 meta-oe/recipes-graphics/fbida/fbida_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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"