From 7eb130cce3b6858711242884a1138e09d4996cee Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 3 Feb 2020 23:07:17 +0100 Subject: [PATCH] package/libpjsip: add portaudio optional dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/libpjsip/libpjsip.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk index e1c3b511e8..447f76be7f 100644 --- a/package/libpjsip/libpjsip.mk +++ b/package/libpjsip/libpjsip.mk @@ -127,6 +127,13 @@ else LIBPJSIP_CONF_OPTS += --disable-opus endif +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +LIBPJSIP_DEPENDENCIES += portaudio +LIBPJSIP_CONF_OPTS += --with-external-pa +else +LIBPJSIP_CONF_OPTS += --without-external-pa +endif + ifeq ($(BR2_PACKAGE_SDL2),y) LIBPJSIP_DEPENDENCIES += sdl2 LIBPJSIP_CONF_OPTS += --with-sdl=$(STAGING_DIR)/usr -- 2.30.2