From: Yann E. MORIN Date: Sat, 9 Sep 2017 21:39:17 +0000 (+0200) Subject: package/asterisk: add optional opus dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da2539d5efba94a68c7a84b2ff7d81f48436f476;p=buildroot.git package/asterisk: add optional opus dependency Signed-off-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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