1config BR2_PACKAGE_KODI_IMAGEDECODER_HEIF
2	bool "kodi-imagedecoder-heif"
3	depends on BR2_INSTALL_LIBSTDCPP # libde265, libheif, tinyxml2
4	depends on BR2_TOOLCHAIN_HAS_THREADS # libde265
5	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730 # libheif
6	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libheif
7	select BR2_PACKAGE_LIBDE265
8	select BR2_PACKAGE_LIBHEIF
9	select BR2_PACKAGE_TINYXML2
10	help
11	  HEIF image decoder add-on for Kodi
12
13	  https://github.com/xbmc/imagedecoder.heif
14
15comment "kodi-imagedecoder-heif needs a toolchain w/ C++, threads, gcc >= 4.8"
16	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730 # libheif
17	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
18		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
19