1 ################################################################################
5 ################################################################################
8 AUBIO_SITE
= https
://aubio.org
/pub
9 AUBIO_SOURCE
= aubio-
$(AUBIO_VERSION
).
tar.bz2
10 AUBIO_LICENSE
= GPLv3
+
11 AUBIO_LICENSE_FILES
= COPYING
12 AUBIO_INSTALL_STAGING
= YES
18 # Add --notests for each build step to avoid running unit tests on the
20 AUBIO_WAF_OPTS
= --notests
22 ifeq ($(BR2_PACKAGE_LIBSNDFILE
),y
)
23 AUBIO_DEPENDENCIES
+= libsndfile
24 AUBIO_CONF_OPTS
+= --enable-sndfile
26 AUBIO_CONF_OPTS
+= --disable-sndfile
29 ifeq ($(BR2_PACKAGE_LIBSAMPLERATE
),y
)
30 AUBIO_DEPENDENCIES
+= libsamplerate
31 AUBIO_CONF_OPTS
+= --enable-samplerate
33 AUBIO_CONF_OPTS
+= --disable-samplerate
36 ifeq ($(BR2_PACKAGE_JACK2
),y
)
37 AUBIO_DEPENDENCIES
+= jack2
38 AUBIO_CONF_OPTS
+= --enable-jack
40 AUBIO_CONF_OPTS
+= --disable-jack
43 ifeq ($(BR2_PACKAGE_FFTW
),y
)
44 AUBIO_DEPENDENCIES
+= fftw
45 # fftw3 require double otherwise it will look for fftw3f
46 ifeq ($(BR2_PACKAGE_FFTW_PRECISION_DOUBLE
),y
)
47 AUBIO_CONF_OPTS
+= --enable-fftw3
--enable-double
48 else ifeq ($(BR2_PACKAGE_FFTW_PRECISION_SINGLE
),y
)
49 AUBIO_CONF_OPTS
+= --enable-fftw3f
--disable-double
51 else # !BR2_PACKAGE_FFTW
52 AUBIO_CONF_OPTS
+= --disable-fftw3
55 ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE
),y
)
56 AUBIO_DEPENDENCIES
+= ffmpeg
57 AUBIO_CONF_OPTS
+= --enable-avcodec
59 AUBIO_CONF_OPTS
+= --disable-avcodec
62 $(eval
$(waf-package
))