summaryrefslogtreecommitdiffstats
path: root/package/multimedia/libsamplerate
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-01-18 13:54:35 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-01-20 13:21:53 +0100
commit5ba84234e831cf8c1c78d5073be5cda474c5f299 (patch)
treefd334098cca2d1fc4e49aa2da2127a93f03a9160 /package/multimedia/libsamplerate
parent7e21e098db7e36344d076018c82cef866510c599 (diff)
downloadbuildroot-novena-5ba84234e831cf8c1c78d5073be5cda474c5f299.tar.gz
buildroot-novena-5ba84234e831cf8c1c78d5073be5cda474c5f299.zip
libsamplerate: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/libsamplerate')
-rw-r--r--package/multimedia/libsamplerate/Config.in9
-rw-r--r--package/multimedia/libsamplerate/libsamplerate.mk17
2 files changed, 26 insertions, 0 deletions
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))