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 <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:40 +01:00 committed by Thomas Petazzoni
parent c9338f16a4
commit 01d1c33148
3 changed files with 27 additions and 0 deletions

View file

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

View file

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

View file

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