blob: 923560298fce4a6325d9f1b2f50066bd1845f2f5 [file] [log] [blame]
config BR2_PACKAGE_LIBJXL
bool "libjxl"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # highway
depends on BR2_TOOLCHAIN_HAS_ATOMIC # highway
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP # highway
# libjxl fail to link statically due to libatomic issue
depends on !BR2_STATIC_LIBS
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_81426
select BR2_HOST_CMAKE_AT_LEAST_3_19
select BR2_PACKAGE_BROTLI
select BR2_PACKAGE_HIGHWAY
select BR2_PACKAGE_LCMS2
help
libjxl is the reference implementation of JPEG XL (encoder
and decoder).
https://github.com/libjxl/libjxl
comment "libjxl needs a toolchain with C++, threads, gcc >= 7, dynamic library"
depends on BR2_TOOLCHAIN_HAS_ATOMIC
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_81426
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS