summaryrefslogtreecommitdiff
path: root/package/asterisk
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-09-09 23:39:17 +0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-23 19:20:18 +0200
commitda2539d5efba94a68c7a84b2ff7d81f48436f476 (patch)
treee911ed35d38e326e786e32165e44632176303c5b /package/asterisk
parent94ae9f15006714ff6bb181063e428988b1d7c3d6 (diff)
package/asterisk: add optional opus dependency
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/asterisk')
-rw-r--r--package/asterisk/asterisk.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
index 74e45e241c..2278d04d2c 100644
--- a/package/asterisk/asterisk.mk
+++ b/package/asterisk/asterisk.mk
@@ -79,7 +79,6 @@ ASTERISK_CONF_OPTS = \
--without-netsnmp \
--without-newt \
--without-openr2 \
- --without-opus \
--without-osptk \
--without-oss \
--without-postgres \
@@ -170,6 +169,13 @@ else
ASTERISK_CONF_OPTS += --without-ogg
endif
+ifeq ($(BR2_PACKAGE_OPUS),y)
+ASTERISK_DEPENDENCIES += opus
+ASTERISK_CONF_OPTS += --with-opus
+else
+ASTERISK_CONF_OPTS += --without-opus
+endif
+
ifeq ($(BR2_PACKAGE_OPENSSL),y)
ASTERISK_DEPENDENCIES += openssl
ASTERISK_CONF_OPTS += --with-ssl