diff --git a/package/kodi-imagedecoder-heif/Config.in b/package/kodi-imagedecoder-heif/Config.in new file mode 100644 index 0000000000..32f375be3e --- /dev/null +++ b/package/kodi-imagedecoder-heif/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_KODI_IMAGEDECODER_HEIF + bool "kodi-imagedecoder-heif" + depends on BR2_INSTALL_LIBSTDCPP # libde265, libheif, tinyxml2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libde265 + depends on !BR2_m68k_cf # libheif + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libheif + select BR2_PACKAGE_LIBDE265 + select BR2_PACKAGE_LIBHEIF + select BR2_PACKAGE_TINYXML2 + help + HEIF image decoder add-on for Kodi + + https://github.com/xbmc/imagedecoder.heif + +comment "kodi-imagedecoder-heif needs a toolchain w/ C++, threads, gcc >= 4.8" + depends on !BR2_m68k_cf # libheif + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \\ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 diff --git a/package/kodi-imagedecoder-heif/kodi-imagedecoder-heif.hash b/package/kodi-imagedecoder-heif/kodi-imagedecoder-heif.hash new file mode 100644 index 0000000000..4c7dec7df1 --- /dev/null +++ b/package/kodi-imagedecoder-heif/kodi-imagedecoder-heif.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 17f50aada11528c02db2ff3871a355c89709ab7e2a5e6b5e33957b790cf207ff kodi-imagedecoder-heif-20.1.0-Nexus.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/package/kodi-imagedecoder-heif/kodi-imagedecoder-heif.mk b/package/kodi-imagedecoder-heif/kodi-imagedecoder-heif.mk new file mode 100644 index 0000000000..40b091d8b4 --- /dev/null +++ b/package/kodi-imagedecoder-heif/kodi-imagedecoder-heif.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-imagedecoder-heif +# +################################################################################ + +KODI_IMAGEDECODER_HEIF_VERSION = 20.1.0-Nexus +KODI_IMAGEDECODER_HEIF_SITE = $(call github,xbmc,imagedecoder.heif,$(KODI_IMAGEDECODER_HEIF_VERSION)) +KODI_IMAGEDECODER_HEIF_LICENSE = GPL-2.0+ +KODI_IMAGEDECODER_HEIF_LICENSE_FILES = LICENSE.md +KODI_IMAGEDECODER_HEIF_DEPENDENCIES = kodi libde265 libheif tinyxml2 + +$(eval $(cmake-package)) diff --git a/package/kodi/Config.in b/package/kodi/Config.in index 0bdb8c50ee..3926c26ff2 100644 --- a/package/kodi/Config.in +++ b/package/kodi/Config.in @@ -291,6 +291,10 @@ menu "Audio encoder addons" source "package/kodi-audioencoder-wav/Config.in" endmenu +menu "Image decoder addons" + source "package/kodi-imagedecoder-heif/Config.in" +endmenu + menu "Peripheral addons" source "package/kodi-peripheral-joystick/Config.in" source "package/kodi-peripheral-xarcade/Config.in"