aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2014-12-23 18:46:39 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-27 19:58:29 +0100
commitc9338f16a4a9741775c4c5a492aa8961bbdf1e3e (patch)
tree382bbf01ea76b4aca3e5380e63bd790c680d24cc
parentf9f3feb5c6a0b19c662f0a993ef8e61282ead5a5 (diff)
downloadbuildroot-c9338f16a4a9741775c4c5a492aa8961bbdf1e3e.tar.gz
buildroot-c9338f16a4a9741775c4c5a492aa8961bbdf1e3e.tar.bz2
package/kodi-audioencoder-lame: 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 <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/kodi-audioencoder-lame/Config.in7
-rw-r--r--package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk16
-rw-r--r--package/kodi/Config.in1
3 files changed, 24 insertions, 0 deletions
diff --git a/package/kodi-audioencoder-lame/Config.in b/package/kodi-audioencoder-lame/Config.in
new file mode 100644
index 0000000000..be00296d22
--- /dev/null
+++ b/package/kodi-audioencoder-lame/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_KODI_AUDIOENCODER_LAME
+ bool "kodi-audioencoder-lame"
+ select BR2_PACKAGE_LAME
+ help
+ An audioencoder addon for Kodi
+
+ https://github.com/xbmc/audioencoder.lame
diff --git a/package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk b/package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk
new file mode 100644
index 0000000000..a890f6418d
--- /dev/null
+++ b/package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# kodi-audioencoder-lame
+#
+################################################################################
+
+KODI_AUDIOENCODER_LAME_VERSION = 6f8384f0d003faf7b91dcd38357ea0ecf9030cce
+KODI_AUDIOENCODER_LAME_SITE = $(call github,xbmc,audioencoder.lame,$(KODI_AUDIOENCODER_LAME_VERSION))
+KODI_AUDIOENCODER_LAME_LICENSE = GPLv2+
+KODI_AUDIOENCODER_LAME_LICENSE_FILES = src/EncoderLame.cpp
+KODI_AUDIOENCODER_LAME_DEPENDENCIES = kodi lame
+KODI_AUDIOENCODER_LAME_CONF_OPTS += \
+ -DCMAKE_MODULE_PATH=$(STAGING_DIR)/usr/lib/kodi \
+ -DLAME_INCLUDE_DIRS=$(STAGING_DIR)/usr/include
+
+$(eval $(cmake-package))
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index fa26f54542..7f33642122 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -245,6 +245,7 @@ if BR2_PACKAGE_KODI_OPTICALDRIVE
comment "Kodi audioencoder addons"
source "package/kodi-audioencoder-flac/Config.in"
+source "package/kodi-audioencoder-lame/Config.in"
endif # BR2_PACKAGE_KODI_OPTICALDRIVE