audiofile: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Gustavo Zacarias 2012-04-23 03:31:36 +00:00 committed by Peter Korsgaard
parent 555c2585bf
commit a1c9bdd643
3 changed files with 31 additions and 0 deletions

View File

@ -1,6 +1,7 @@
menu "Audio and video libraries and applications"
source "package/multimedia/alsa-lib/Config.in"
source "package/multimedia/alsa-utils/Config.in"
source "package/multimedia/audiofile/Config.in"
source "package/multimedia/aumix/Config.in"
source "package/multimedia/faad2/Config.in"
source "package/multimedia/flac/Config.in"

View File

@ -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

View File

@ -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))