summaryrefslogtreecommitdiff
path: root/package/libsndfile
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-04-30 03:48:16 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-05 23:41:11 +0200
commit5d6f32878f707f4c28fe09d02e960d851c76e3c3 (patch)
treefd1da7d454eb2c305e4e84ab55e2a1451f0857c4 /package/libsndfile
parent84d589a963d902849b7022091e97ec71c38ed82e (diff)
package/multimedia: move audio libraries out
Move audio libraries out of the Audio and Video category into the Libraries/Audio one. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libsndfile')
-rw-r--r--package/libsndfile/Config.in8
-rw-r--r--package/libsndfile/libsndfile-srconly.patch17
-rw-r--r--package/libsndfile/libsndfile.mk11
3 files changed, 36 insertions, 0 deletions
diff --git a/package/libsndfile/Config.in b/package/libsndfile/Config.in
new file mode 100644
index 000000000..9afe4966c
--- /dev/null
+++ b/package/libsndfile/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBSNDFILE
+ bool "libsndfile"
+ help
+ Libsndfile is a C library for reading and writing files containing
+ sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format)
+ through one standard library interface.
+
+ http://www.mega-nerd.com/libsndfile/
diff --git a/package/libsndfile/libsndfile-srconly.patch b/package/libsndfile/libsndfile-srconly.patch
new file mode 100644
index 000000000..417e34072
--- /dev/null
+++ b/package/libsndfile/libsndfile-srconly.patch
@@ -0,0 +1,17 @@
+---
+ Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: libsndfile-1.0.18/Makefile.in
+===================================================================
+--- libsndfile-1.0.18.orig/Makefile.in
++++ libsndfile-1.0.18/Makefile.in
+@@ -260,7 +260,7 @@
+ top_srcdir = @top_srcdir@
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror
+ @BUILD_OCTAVE_MOD_TRUE@octave_dir = Octave
+-SUBDIRS = M4 man doc Win32 src $(octave_dir) examples regtest tests programs
++SUBDIRS = src
+ DIST_SUBDIRS = M4 man doc Win32 src Octave examples regtest tests programs
+ EXTRA_DIST = libsndfile.spec.in sndfile.pc.in Mingw-make-dist.sh
+ pkgconfigdir = $(libdir)/pkgconfig
diff --git a/package/libsndfile/libsndfile.mk b/package/libsndfile/libsndfile.mk
new file mode 100644
index 000000000..548061887
--- /dev/null
+++ b/package/libsndfile/libsndfile.mk
@@ -0,0 +1,11 @@
+#############################################################
+#
+# libsndfile
+#
+#############################################################
+
+LIBSNDFILE_VERSION = 1.0.25
+LIBSNDFILE_SITE = http://www.mega-nerd.com/libsndfile/files
+LIBSNDFILE_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS))