summaryrefslogtreecommitdiffstats
path: root/package/libsndfile
diff options
context:
space:
mode:
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))