libsamplerate: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Gustavo Zacarias 2011-01-18 13:54:35 -03:00 committed by Peter Korsgaard
parent 7e21e098db
commit 5ba84234e8
3 changed files with 27 additions and 0 deletions

View File

@ -20,6 +20,7 @@ source "package/multimedia/libmms/Config.in"
source "package/multimedia/libmpd/Config.in"
source "package/multimedia/libmpeg2/Config.in"
source "package/multimedia/libogg/Config.in"
source "package/multimedia/libsamplerate/Config.in"
source "package/multimedia/libsndfile/Config.in"
source "package/multimedia/libtheora/Config.in"
source "package/multimedia/libvorbis/Config.in"

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_LIBSAMPLERATE
bool "libsamplerate"
help
Secret Rabbit Code (aka libsamplerate) is a Sample Rate
Converter for audio. One example of where such a thing would
be useful is converting audio from the CD sample rate of
44.1kHz to the 48kHz sample rate used by DAT players.
http://www.mega-nerd.com/SRC/

View File

@ -0,0 +1,17 @@
################################################################################
#
# libsamplerate
#
################################################################################
LIBSAMPLERATE_VERSION = 0.1.7
LIBSAMPLERATE_SITE = http://www.mega-nerd.com/SRC
LIBSAMPLERATE_INSTALL_STAGING = YES
LIBSAMPLERATE_DEPENDENCIES = host-pkg-config
LIBSAMPLERATE_CONF_OPT = --disable-fftw --program-transform-name=''
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
LIBSAMPLERATE_DEPENDENCIES += libsndfile
endif
$(eval $(call AUTOTARGETS,package/multimedia,libsamplerate))