From: Pavel Zhukov <[email protected]>

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

Signed-off-by: Pavel Zhukov <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit f22451b51bf668fbbf27b50744786c64316ef700)
Signed-off-by: Chris Laplante <[email protected]>
---
 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"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122079): 
https://lists.openembedded.org/g/openembedded-devel/message/122079
Mute This Topic: https://lists.openembedded.org/mt/116485201/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to