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>
This commit is contained in:
Bernd Kuhls 2014-12-23 18:46:39 +01:00 committed by Thomas Petazzoni
parent f9f3feb5c6
commit c9338f16a4
3 changed files with 24 additions and 0 deletions

View File

@ -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

View File

@ -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))

View File

@ -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