python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / aubio / aubio.mk
blobf3330c2b89188e5fbe94f7bfd093796c398d7006
1 ################################################################################
3 # aubio
5 ################################################################################
7 AUBIO_VERSION = 0.4.3
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
14 AUBIO_CONF_OPTS = \
15 --disable-docs \
16 --disable-atlas
18 # Add --notests for each build step to avoid running unit tests on the
19 # build machine.
20 AUBIO_WAF_OPTS = --notests
22 ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
23 AUBIO_DEPENDENCIES += libsndfile
24 AUBIO_CONF_OPTS += --enable-sndfile
25 else
26 AUBIO_CONF_OPTS += --disable-sndfile
27 endif
29 ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
30 AUBIO_DEPENDENCIES += libsamplerate
31 AUBIO_CONF_OPTS += --enable-samplerate
32 else
33 AUBIO_CONF_OPTS += --disable-samplerate
34 endif
36 ifeq ($(BR2_PACKAGE_JACK2),y)
37 AUBIO_DEPENDENCIES += jack2
38 AUBIO_CONF_OPTS += --enable-jack
39 else
40 AUBIO_CONF_OPTS += --disable-jack
41 endif
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
50 endif
51 else # !BR2_PACKAGE_FFTW
52 AUBIO_CONF_OPTS += --disable-fftw3
53 endif
55 ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y)
56 AUBIO_DEPENDENCIES += ffmpeg
57 AUBIO_CONF_OPTS += --enable-avcodec
58 else
59 AUBIO_CONF_OPTS += --disable-avcodec
60 endif
62 $(eval $(waf-package))