diff mbox series

[NEXT,v2,3/7] libpjsip: enable portaudio support

Message ID 20171114160712.20086-3-aduskett@gmail.com
State Superseded, archived
Headers show
Series [NEXT,v2,1/7] libpjsip: remove disable-ext-sound option | expand

Commit Message

Adam Duskett Nov. 14, 2017, 4:07 p.m. UTC
If portaudio is selected, libpjsip should depend on it.
Specifying --with-external-pa was originally used to prevent libpjsip
from building the portaudio library in the third_party directory, however,
portaudio no longer exists in the third_party directory.  This option now
is used to force libpjsip to check for external portaudio headers. 

Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
Changes v1 -> v2:
  - Remove the option to enable or disable portaudio support in favor of
    just depending on portaudio if it's selected by the user.

 package/libpjsip/libpjsip.mk | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk
index 14dbb8e..3c9d789 100644
--- a/package/libpjsip/libpjsip.mk
+++ b/package/libpjsip/libpjsip.mk
@@ -70,4 +70,9 @@  ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
 LIBPJSIP_DEPENDENCIES += alsa-lib
 endif
 
+ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
+LIBPJSIP_DEPENDENCIES += portaudio
+LIBPJSIP_CONF_OPTS += --with-external-pa
+endif
+
 $(eval $(autotools-package))