package/asterisk: add optional portaudio dependency

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Yann E. MORIN 2017-09-09 23:39:21 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent c5a4355c73
commit 9b12a77ff8

View File

@ -84,7 +84,6 @@ ASTERISK_CONF_OPTS = \
--without-postgres \
--without-pjproject \
--without-popt \
--without-portaudio \
--without-pri \
--without-pwlib \
--without-radius \
@ -173,6 +172,13 @@ else
ASTERISK_CONF_OPTS += --without-opus
endif
ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
ASTERISK_DEPENDENCIES += portaudio
ASTERISK_CONF_OPTS += --with-portaudio
else
ASTERISK_CONF_OPTS += --without-portaudio
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
ASTERISK_DEPENDENCIES += openssl
ASTERISK_CONF_OPTS += --with-ssl