--- /dev/null
+config BR2_PACKAGE_KODI_AUDIOENCODER_FLAC
+ bool "kodi-audioencoder-flac"
+ select BR2_PACKAGE_FLAC
+ select BR2_PACKAGE_LIBOGG
+ help
+ An audioencoder addon for Kodi
+
+ https://github.com/xbmc/audioencoder.flac
--- /dev/null
+################################################################################
+#
+# kodi-audioencoder-flac
+#
+################################################################################
+
+KODI_AUDIOENCODER_FLAC_VERSION = a960ebae64f4b66f580e70318fe6da97771cacba
+KODI_AUDIOENCODER_FLAC_SITE = $(call github,xbmc,audioencoder.flac,$(KODI_AUDIOENCODER_FLAC_VERSION))
+KODI_AUDIOENCODER_FLAC_LICENSE = GPLv2+
+KODI_AUDIOENCODER_FLAC_LICENSE_FILES = src/EncoderFlac.cpp
+KODI_AUDIOENCODER_FLAC_DEPENDENCIES = flac kodi libogg
+KODI_AUDIOENCODER_FLAC_CONF_OPTS += \
+ -DCMAKE_MODULE_PATH=$(STAGING_DIR)/usr/lib/kodi \
+ -DFLAC_INCLUDE_DIRS=$(STAGING_DIR)/usr/include \
+ -DOGG_INCLUDE_DIRS=$(STAGING_DIR)/usr/include
+
+$(eval $(cmake-package))
help
Enable support for optical drives
-comment "Kodi addons"
+if BR2_PACKAGE_KODI_OPTICALDRIVE
+
+comment "Kodi audioencoder addons"
+
+source "package/kodi-audioencoder-flac/Config.in"
+
+endif # BR2_PACKAGE_KODI_OPTICALDRIVE
+
+comment "Kodi PVR addons"
source "package/kodi-addon-xvdr/Config.in"
source "package/kodi-pvr-addons/Config.in"