diff options
author | Romain Naour <romain.naour@gmail.com> | 2016-12-03 13:17:39 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-12-04 16:22:13 +0100 |
commit | 2d5bc8b0a711cb80ba5d9a8dd45c15f646932f84 (patch) | |
tree | 4ad1490c201c97f694cf5bd790912b7e7ccb955a | |
parent | 5812e3989336fb8fbfb114096e36da43730ccfcd (diff) | |
download | buildroot-2d5bc8b0a711cb80ba5d9a8dd45c15f646932f84.tar.gz buildroot-2d5bc8b0a711cb80ba5d9a8dd45c15f646932f84.zip |
package/aubio: add ffmpeg libav optional dependency
Aubio libav support require libavcodec, libavformat, libavutil and
libavresample. Enable libav support only when
BR2_PACKAGE_FFMPEG_AVRESAMPLE is set.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/aubio/aubio.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk index 9339f44957..cfa233f989 100644 --- a/package/aubio/aubio.mk +++ b/package/aubio/aubio.mk @@ -13,8 +13,7 @@ AUBIO_INSTALL_STAGING = YES AUBIO_CONF_OPTS = \ --disable-docs \ - --disable-atlas \ - --disable-avcodec + --disable-atlas ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) AUBIO_DEPENDENCIES += libsndfile @@ -49,4 +48,11 @@ else # !BR2_PACKAGE_FFTW AUBIO_CONF_OPTS += --disable-fftw3 endif +ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y) +AUBIO_DEPENDENCIES += ffmpeg +AUBIO_CONF_OPTS += --enable-avcodec +else +AUBIO_CONF_OPTS += --disable-avcodec +endif + $(eval $(waf-package)) |