2022-11-24 23:05:52 +01:00
|
|
|
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
|
2023-06-05 11:56:07 +02:00
|
|
|
select BR2_HOST_CMAKE_AT_LEAST_3_19
|
2022-11-24 23:05:52 +01:00
|
|
|
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
|