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

Signed-off-by: Pavel Zhukov <[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 247a1fcbb..6c0674849 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.44.1

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

Reply via email to