Message ID | 20240610161149.226983-2-pavel@zhukoff.net |
---|---|
State | Accepted |
Headers | show |
Series | [meta-oe] fbida: Require opengl feature for pdf only | expand |
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"
Don't require it for entire distro if pdf package config disabled. Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> --- meta-oe/recipes-graphics/fbida/fbida_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)