Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libpjsip: use system portaudio instead of bundled one
@ 2020-02-03 21:15 Fabrice Fontaine
  2020-02-03 21:38 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Fontaine @ 2020-02-03 21:15 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libpjsip/Config.in   | 1 +
 package/libpjsip/libpjsip.mk | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/libpjsip/Config.in b/package/libpjsip/Config.in
index 727d2ec3d0..08594ff677 100644
--- a/package/libpjsip/Config.in
+++ b/package/libpjsip/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBPJSIP
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBSRTP
+	select BR2_PACKAGE_PORTAUDIO
 	help
 	  PJSIP is a free and open source multimedia communication
 	  library written in C language implementing standard based
diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk
index e1c3b511e8..ecb71b0335 100644
--- a/package/libpjsip/libpjsip.mk
+++ b/package/libpjsip/libpjsip.mk
@@ -7,7 +7,7 @@
 LIBPJSIP_VERSION = 2.9
 LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.bz2
 LIBPJSIP_SITE = https://www.pjsip.org/release/$(LIBPJSIP_VERSION)
-LIBPJSIP_DEPENDENCIES = libsrtp
+LIBPJSIP_DEPENDENCIES = libsrtp portaudio
 LIBPJSIP_LICENSE = GPL-2.0+
 LIBPJSIP_LICENSE_FILES = COPYING
 LIBPJSIP_INSTALL_STAGING = YES
@@ -35,6 +35,7 @@ LIBPJSIP_CONF_OPTS = \
 	--disable-g722-codec \
 	--disable-ipp \
 	--disable-silk \
+	--with-external-pa \
 	--with-external-srtp
 
 # Note: aconfigure.ac is broken: --enable-epoll or --disable-epoll will
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/libpjsip: use system portaudio instead of bundled one
  2020-02-03 21:15 [Buildroot] [PATCH 1/1] package/libpjsip: use system portaudio instead of bundled one Fabrice Fontaine
@ 2020-02-03 21:38 ` Thomas Petazzoni
  2020-02-03 21:51   ` Fabrice Fontaine
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2020-02-03 21:38 UTC (permalink / raw)
  To: buildroot

On Mon,  3 Feb 2020 22:15:59 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Are you sure there's a bundled one? I don't really see it, and the
aconfigure.ac logic is not very clear. How did you find this ? Could
you give some more details ?

It seems like libpjsip can use ALSA, in which case it doesn't need
PortAudio. So it would be nice to have more details from you about this
change.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/libpjsip: use system portaudio instead of bundled one
  2020-02-03 21:38 ` Thomas Petazzoni
@ 2020-02-03 21:51   ` Fabrice Fontaine
  0 siblings, 0 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2020-02-03 21:51 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

Le lun. 3 f?vr. 2020 ? 22:39, Thomas Petazzoni
<thomas.petazzoni@bootlin.com> a ?crit :
>
> On Mon,  3 Feb 2020 22:15:59 +0100
> Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
>
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>
> Are you sure there's a bundled one? I don't really see it, and the
> aconfigure.ac logic is not very clear. How did you find this ? Could
> you give some more details ?
You're right, bundled portaudio was removed from libpjsip 4 years ago
with https://trac.pjsip.org/repos/ticket/1906.
I'll send a v2 to make portaudio an optional dependency.
>
> It seems like libpjsip can use ALSA, in which case it doesn't need
> PortAudio. So it would be nice to have more details from you about this
> change.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
Best Regards,

Fabrice

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-03 21:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-03 21:15 [Buildroot] [PATCH 1/1] package/libpjsip: use system portaudio instead of bundled one Fabrice Fontaine
2020-02-03 21:38 ` Thomas Petazzoni
2020-02-03 21:51   ` Fabrice Fontaine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox