From f22451b51bf668fbbf27b50744786c64316ef700 Mon Sep 17 00:00:00 2001 From: Pavel Zhukov Date: Mon, 10 Jun 2024 18:11:50 +0200 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 --- 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"