summaryrefslogtreecommitdiffstats
path: root/package/audiofile
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/audiofile
parent84d589a963d902849b7022091e97ec71c38ed82e (diff)
downloadbuildroot-novena-5d6f32878f707f4c28fe09d02e960d851c76e3c3.tar.gz
buildroot-novena-5d6f32878f707f4c28fe09d02e960d851c76e3c3.zip
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/audiofile')
-rw-r--r--package/audiofile/Config.in11
-rw-r--r--package/audiofile/audiofile.mk19
2 files changed, 30 insertions, 0 deletions
diff --git a/package/audiofile/Config.in b/package/audiofile/Config.in
new file mode 100644
index 000000000..4f9952c31
--- /dev/null
+++ b/package/audiofile/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_AUDIOFILE
+ bool "audiofile"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ The Audio File Library handles reading and writing audio files
+ in many common formats.
+
+ http://www.68k.org/~michael/audiofile/
+
+comment "audiofile requires a toolchain with C++ support enabled"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/audiofile/audiofile.mk b/package/audiofile/audiofile.mk
new file mode 100644
index 000000000..a49cc3e64
--- /dev/null
+++ b/package/audiofile/audiofile.mk
@@ -0,0 +1,19 @@
+#############################################################
+#
+# audiofile
+#
+#############################################################
+
+AUDIOFILE_VERSION = 0.3.3
+AUDIOFILE_SITE = http://audiofile.68k.org
+AUDIOFILE_INSTALL_STAGING = YES
+AUDIOFILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
+
+# Useless and needs alsa-lib
+define AUDIOFILE_DISABLE_EXAMPLES
+ $(SED) 's/examples//' $(@D)/Makefile.in
+endef
+
+AUDIOFILE_POST_PATCH_HOOKS += AUDIOFILE_DISABLE_EXAMPLES
+
+$(eval $(call AUTOTARGETS))