package/libpjsip: use system portaudio instead of bundled one
PATCH 1/1 package/libpjsip: use system portaudio instead of bundled one
--- package/libpjsip/Config.in | 1 + package/libpjsip/libpjsip.mk | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +1 -0
@@ -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
package/libpjsip/libpjsip.mk +2 -1
@@ -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
Signature · 1 line
2.24.1
PATCH 1/1 package/libpjsip: use system portaudio instead of bundled one
Quoted 1 line · On Mon, 3 Feb 2020 22:15:59 +0100 Fabrice Fontaine…
Signed-off-by Fabrice Fontaine <[email protected]>
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
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/libpjsip: use system portaudio instead of bundled one
Hi Thomas,
Le lun. 3 f?vr. 2020 ? 22:39, Thomas Petazzoni
<[email protected]> a ?crit :
Quoted 9 lines
Quoted 1 line · On Mon, 3 Feb 2020 22:15:59 +0100 Fabrice Fontaine…
Signed-off-by Fabrice Fontaine <[email protected]>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.
Quoted 5 lines
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.
Quoted 7 lines
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Best Regards,
Fabrice