From 5ba84234e831cf8c1c78d5073be5cda474c5f299 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 18 Jan 2011 13:54:35 -0300 Subject: libsamplerate: new package Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/multimedia/Config.in | 1 + package/multimedia/libsamplerate/Config.in | 9 +++++++++ package/multimedia/libsamplerate/libsamplerate.mk | 17 +++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 package/multimedia/libsamplerate/Config.in create mode 100644 package/multimedia/libsamplerate/libsamplerate.mk (limited to 'package/multimedia') diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in index 6d2cbc703..22c2d0365 100644 --- a/package/multimedia/Config.in +++ b/package/multimedia/Config.in @@ -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" diff --git a/package/multimedia/libsamplerate/Config.in b/package/multimedia/libsamplerate/Config.in new file mode 100644 index 000000000..b394fdb0a --- /dev/null +++ b/package/multimedia/libsamplerate/Config.in @@ -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/ diff --git a/package/multimedia/libsamplerate/libsamplerate.mk b/package/multimedia/libsamplerate/libsamplerate.mk new file mode 100644 index 000000000..94b07a40f --- /dev/null +++ b/package/multimedia/libsamplerate/libsamplerate.mk @@ -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)) -- cgit v1.2.3