audiofile: bump to version 0.3.6
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 19 Mar 2013 03:05:11 +0000 (03:05 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 19 Mar 2013 16:05:36 +0000 (17:05 +0100)
Now with FLAC support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/audiofile/audiofile.mk

index 9886c4d1e4f48584046af9625bea599d4126171c..51173e60663ee0e91771a3bab785695bd8c756d9 100644 (file)
@@ -4,18 +4,20 @@
 #
 #############################################################
 
-AUDIOFILE_VERSION = 0.3.4
+AUDIOFILE_VERSION = 0.3.6
 AUDIOFILE_SITE = http://audiofile.68k.org
 AUDIOFILE_INSTALL_STAGING = YES
 AUDIOFILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
-AUDIOFILE_LICENSE = GPLv2+ LGPLv2+
+AUDIOFILE_CONF_OPT = --disable-examples --disable-docs
+AUDIOFILE_DEPENDENCIES = host-pkgconf
+AUDIOFILE_LICENSE = GPLv2+ LGPLv2.1+
 AUDIOFILE_LICENSE_FILES = COPYING COPYING.GPL
 
-# Useless and needs alsa-lib
-define AUDIOFILE_DISABLE_EXAMPLES
-       $(SED) 's/examples//' $(@D)/Makefile.in
-endef
-
-AUDIOFILE_POST_PATCH_HOOKS += AUDIOFILE_DISABLE_EXAMPLES
+ifeq ($(BR2_PACKAGE_FLAC),y)
+AUDIOFILE_DEPENDENCIES += flac
+AUDIOFILE_CONF_OPT += --enable-flac
+else
+AUDIOFILE_CONF_OPT += --disable-flac
+endif
 
 $(eval $(autotools-package))