From 9b12a77ff81728ab914cf21d963aacc697f868c7 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 9 Sep 2017 23:39:21 +0200 Subject: [PATCH] package/asterisk: add optional portaudio dependency Signed-off-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index 82ca2ba739..de3a0d5291 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -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 -- 2.30.2