Files
buildroot/package/libheif/Config.in
Bernd Kuhls 49f668e31f package/libheif: needs threads since v1.20.1
Buildroot commit accb006d9b bumped libheif
to version 1.20.1 which includes several commits unconditionally depen-
ding on std::mutex which requires a toolchain with threads:

14f956726c
6bb8cdaa8a

Add dependency to BR2_TOOLCHAIN_HAS_THREADS to Config.in, remove configure
options handling non-threaded toolchains and adjust a Config.in comment of
the only dependee kodi-imagedecoder-heif.

Fixes:
https://autobuild.buildroot.net/results/28b/28bf68147382dada33cbf9b299396dfdee3fbbe6/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 02f5061eb0)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-11-15 17:36:47 +01:00

16 lines
547 B
Plaintext

config BR2_PACKAGE_LIBHEIF
bool "libheif"
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
depends on BR2_TOOLCHAIN_HAS_THREADS
help
libheif is an HEIF and AVIF file format decoder and encoder.
https://github.com/strukturag/libheif
comment "libheif needs a toolchain w/ C++, threads, gcc >= 4.8"
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
!BR2_TOOLCHAIN_HAS_THREADS