From: Yann E. MORIN Date: Sat, 9 Sep 2017 21:39:19 +0000 (+0200) Subject: package/asterisk: add optional libvorbis dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5a4355c739a4d38547329eeb6e36c10f1a85795;p=buildroot.git package/asterisk: add optional libvorbis 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 1ac1f49c05..82ca2ba739 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -103,7 +103,6 @@ ASTERISK_CONF_OPTS = \ --without-tonezone \ --without-unbound \ --without-unixodbc \ - --without-vorbis \ --without-vpb \ --without-x11 \ --with-crypt \ @@ -188,6 +187,13 @@ else ASTERISK_CONF_OPTS += --without-speex --without-speexdsp endif +ifeq ($(BR2_PACKAGE_LIBVORBIS),y) +ASTERISK_DEPENDENCIES += libvorbis +ASTERISK_CONF_OPTS += --with-vorbis +else +ASTERISK_CONF_OPTS += --without-vorbis +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) ASTERISK_DEPENDENCIES += zlib ASTERISK_CONF_OPTS += --with-z