diff --git a/package/kodi-audioencoder-vorbis/Config.in b/package/kodi-audioencoder-vorbis/Config.in new file mode 100644 index 0000000000..ab8b4b3b24 --- /dev/null +++ b/package/kodi-audioencoder-vorbis/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_KODI_AUDIOENCODER_VORBIS + bool "kodi-audioencoder-vorbis" + select BR2_PACKAGE_LIBOGG + select BR2_PACKAGE_LIBVORBIS + help + An audioencoder addon for Kodi + + https://github.com/xbmc/audioencoder.vorbis diff --git a/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk b/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk new file mode 100644 index 0000000000..901a7a1699 --- /dev/null +++ b/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# kodi-audioencoder-vorbis +# +################################################################################ + +KODI_AUDIOENCODER_VORBIS_VERSION = fa0de1562504253acf64ad39fbcb1e5d85676ae4 +KODI_AUDIOENCODER_VORBIS_SITE = $(call github,xbmc,audioencoder.vorbis,$(KODI_AUDIOENCODER_VORBIS_VERSION)) +KODI_AUDIOENCODER_VORBIS_LICENSE = GPLv2+ +KODI_AUDIOENCODER_VORBIS_LICENSE_FILES = src/EncoderVorbis.cpp +KODI_AUDIOENCODER_VORBIS_DEPENDENCIES = kodi libogg libvorbis +KODI_AUDIOENCODER_VORBIS_CONF_OPTS += \ + -DCMAKE_MODULE_PATH=$(STAGING_DIR)/usr/lib/kodi \ + -DOGG_INCLUDE_DIRS=$(STAGING_DIR)/usr/include \ + -DVORBIS_INCLUDE_DIRS=$(STAGING_DIR)/usr/include \ + -DVORBISENC_INCLUDE_DIRS=$(STAGING_DIR)/usr/include + +$(eval $(cmake-package)) diff --git a/package/kodi/Config.in b/package/kodi/Config.in index 7f33642122..486dfda0d7 100644 --- a/package/kodi/Config.in +++ b/package/kodi/Config.in @@ -246,6 +246,7 @@ comment "Kodi audioencoder addons" source "package/kodi-audioencoder-flac/Config.in" source "package/kodi-audioencoder-lame/Config.in" +source "package/kodi-audioencoder-vorbis/Config.in" endif # BR2_PACKAGE_KODI_OPTICALDRIVE