diff options
author | Pavel Zhukov <pavel@zhukoff.net> | 2024-06-10 18:11:50 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-06-10 23:08:41 -0700 |
commit | f22451b51bf668fbbf27b50744786c64316ef700 (patch) | |
tree | 01a9cf6f597124dfeb747903a093bc141ed93fc0 | |
parent | b235b47cb6b00ea142310b83829ad7255a91a708 (diff) | |
download | meta-openembedded-f22451b51bf668fbbf27b50744786c64316ef700.tar.gz |
fbida: Require opengl feature for pdf only
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>
-rw-r--r-- | meta-oe/recipes-graphics/fbida/fbida_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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" | |||
26 | inherit meson pkgconfig features_check | 26 | inherit meson pkgconfig features_check |
27 | 27 | ||
28 | # Depends on libepoxy | 28 | # Depends on libepoxy |
29 | REQUIRED_DISTRO_FEATURES = "opengl" | 29 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'pdf', 'opengl', '', d)}" |
30 | 30 | ||
31 | PACKAGECONFIG ??= "gif png pdf" | 31 | PACKAGECONFIG ??= "gif png pdf" |
32 | PACKAGECONFIG[gif] = "-Dgif=enabled,-Dgif=disabled,giflib" | 32 | PACKAGECONFIG[gif] = "-Dgif=enabled,-Dgif=disabled,giflib" |