From 01d1c331489cbea59e39d9354908ffe228e62c08 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Tue, 23 Dec 2014 18:46:40 +0100 Subject: [PATCH] package/kodi-audioencoder-vorbis: New package [Thomas: removed dependency on BR2_PACKAGE_KODI_OPTICALDRIVE from the package Config.in, since it is already only included if BR2_PACKAGE_KODI_OPTICALDRIVE is enabled.] Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/kodi-audioencoder-vorbis/Config.in | 8 ++++++++ .../kodi-audioencoder-vorbis.mk | 18 ++++++++++++++++++ package/kodi/Config.in | 1 + 3 files changed, 27 insertions(+) create mode 100644 package/kodi-audioencoder-vorbis/Config.in create mode 100644 package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk 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 -- 2.30.2