libpjsip: remove deprecated config options
PATCH 1/17 libpjsip: remove deprecated config options
disable-small-filter and disable-large-filter have been depricated as of 2.7, causing messages during compile time complaining about how they are deprecated and have no effect.
--- package/libpjsip/libpjsip.mk | 2 -- 1 file changed, 2 deletions(-)
package/libpjsip/libpjsip.mk +0 -2
@@ -38,8 +38,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-opus \ --disable-oss \ --disable-ext-sound \ - --disable-small-filter \ - --disable-large-filter \ --disable-g711-codec \ --disable-l16-codec \ --disable-g722-codec \
Signature · 1 line
2.13.6
PATCH 2/17 libpjsip: add enable sound option
This is the first patch in a series that will enable several features for libpjsip. This patch does the following:
- make libpjsip a menuconfig option
- add a option for "Enable sound"
--- package/libpjsip/Config.in | 11 ++++++++++- package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 14 insertions(+), 2 deletions(-)
package/libpjsip/Config.in +10 -1
@@ -1,4 +1,4 @@ -config BR2_PACKAGE_LIBPJSIP +menuconfig BR2_PACKAGE_LIBPJSIP bool "libpjsip" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS
@@ -10,5 +10,14 @@ config BR2_PACKAGE_LIBPJSIP http://www.pjsip.org +if BR2_PACKAGE_LIBPJSIP + +config BR2_PACKAGE_LIBPJSIP_SOUND + bool "Enable sound" + help + Use sound instead of a null device. + +endif # BR2_PACKAGE_LIBPJSIP + comment "libpjsip needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
package/libpjsip/libpjsip.mk +4 -1
@@ -25,7 +25,6 @@ LIBPJSIP_CONF_ENV = \ CFLAGS="$(LIBPJSIP_CFLAGS)" LIBPJSIP_CONF_OPTS = \ - --disable-sound \ --disable-gsm-codec \ --disable-speex-codec \ --disable-speex-aec \
@@ -68,4 +67,8 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) LIBPJSIP_DEPENDENCIES += util-linux endif +ifneq ($(BR2_PACKAGE_LIBPJSIP_SOUND),y) +LIBPJSIP_CONF_OPTS += --disable-sound +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 2/17 libpjsip: add enable sound option
Hi Adam,
Quoted 4 lines · Adam Duskett
This is the first patch in a series that will enable several features for libpjsip. This patch does the following:
- make libpjsip a menuconfig option
You could have done that in a separate patch, to make it easier to apply only
part of the series.
Quoted 19 lines
- add a option for "Enable sound"
Signed-off-by Adam Duskett <[email protected]>--- package/libpjsip/Config.in | 11 ++++++++++- package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 14 insertions(+), 2 deletions(-)package/libpjsip/Config.in +1
-1@@ -1,4 +1,4 @@ -config BR2_PACKAGE_LIBPJSIP +menuconfig BR2_PACKAGE_LIBPJSIP bool "libpjsip" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS
package/libpjsip/Config.in config BR2_PACKAGE_LIBPJSIP · line 18
Quoted 9 lines
package/libpjsip/Config.in +6
-0@@ -10,5 +10,14 @@ config BR2_PACKAGE_LIBPJSIP http://www.pjsip.org +if BR2_PACKAGE_LIBPJSIP + +config BR2_PACKAGE_LIBPJSIP_SOUND + bool "Enable sound" + help + Use sound instead of a null device.
Is it useful to make this optional? Does it have a significant impact on size?
Same goes for all the other options you add, e.g. v4l2 support: except if the
v4l2 support adds significantly to the size of libpjsip, you can just enable it when BR2_PACKAGE_LIBV4L is selected.
That said, you may have good reasons to choose this route. It helps to explain
that in the commit log.
Finally, specifically about sound: does this option make sense if no sound
backend is selected?
Quoted 18 lines
package/libpjsip/Config.in +3
-0+ +endif # BR2_PACKAGE_LIBPJSIP + comment "libpjsip needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADSpackage/libpjsip/libpjsip.mk +0
-1@@ -25,7 +25,6 @@ LIBPJSIP_CONF_ENV = \ CFLAGS="$(LIBPJSIP_CFLAGS)" LIBPJSIP_CONF_OPTS = \ - --disable-sound \ --disable-gsm-codec \ --disable-speex-codec \ --disable-speex-aec \
package/libpjsip/libpjsip.mk ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) · line 70
Quoted 4 lines
package/libpjsip/libpjsip.mk +1
-0@@ -68,4 +67,8 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) LIBPJSIP_DEPENDENCIES += util-linux endif +ifneq ($(BR2_PACKAGE_LIBPJSIP_SOUND),y)
We prefer to use ifeq ($(BR2_PACKAGE_LIBPJSIP_SOUND),)
However, why not do --enable-sound? You mention something for the codecs, does
that also apply here?
I'm going to mark the entire series as Changes Requested, even though you may
actually keep it mostly as it is after discussion. Still, there are probably small things to be fixed in some patches (like the typo in the first one) and it's easier to resubmit the series as a whole.
Regards,
Arnout
Quoted 5 lines
package/libpjsip/libpjsip.mk +3
-0+LIBPJSIP_CONF_OPTS += --disable-sound +endif + $(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 2/17 libpjsip: add enable sound option
Hello
Quoted 42 lines · Arnout Vandecappelle
Hi Adam,
Quoted 4 lines · Adam Duskett
This is the first patch in a series that will enable several features for libpjsip. This patch does the following:
- make libpjsip a menuconfig option
You could have done that in a separate patch, to make it easier to apply only
part of the series.Quoted 19 lines
- add a option for "Enable sound"
Signed-off-by Adam Duskett <[email protected]>--- package/libpjsip/Config.in | 11 ++++++++++- package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 14 insertions(+), 2 deletions(-)package/libpjsip/Config.in +1
-1@@ -1,4 +1,4 @@ -config BR2_PACKAGE_LIBPJSIP +menuconfig BR2_PACKAGE_LIBPJSIP bool "libpjsip" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADSpackage/libpjsip/Config.in config BR2_PACKAGE_LIBPJSIP · line 18
Quoted 9 lines
package/libpjsip/Config.in +6
-0@@ -10,5 +10,14 @@ config BR2_PACKAGE_LIBPJSIP http://www.pjsip.org +if BR2_PACKAGE_LIBPJSIP + +config BR2_PACKAGE_LIBPJSIP_SOUND + bool "Enable sound" + help + Use sound instead of a null device.Is it useful to make this optional? Does it have a significant impact on size?
Quoted 6 lines
Same goes for all the other options you add, e.g. v4l2 support: except if the
v4l2 support adds significantly to the size of libpjsip, you can just enable it whenBR2_PACKAGE_LIBV4Lis selected.That said, you may have good reasons to choose this route. It helps to explain
that in the commit log.
Yeah, forgot to send a cover letter, sorry about that!
I could have! However; Yann and I had a discussion right after I submitted the patch,
and I bring this argument:
As a person who is actively developing a project on libpjsip, I have a few arguments
as to why I wanted to go this route:
1) Unlike smaller packages, libpjsip is pretty big, with a ton of options, so having a bunch
of dependencies enabled if the user just so happens to have other options enabled would
be a bit awkward instead of going for just a small option that selects the dependency for you.
2) Fine grain control is easier for the codecs as I don't want to enable all the codecs and support
them. With the product I am developing, I really don't want L16/iLBC enabled, mainly because
no customer I know of want, have requested, or use them, and having them enabled by default would
be a hassle (although I could just create a patch for my build as well. :] )
Quoted 4 lines
Finally, specifically about sound: does this option make sense if no sound
backend is selected?
Well, it compiles. The reason I did this, was because I can allow this option to de-select "--disable-sound"
then the next options are for oss/alsa/portaudio. I am sure there are better ways, but I am not super great
at .mk files.
Quoted 21 lines
Quoted 21 lines
package/libpjsip/Config.in +3
-0+ +endif # BR2_PACKAGE_LIBPJSIP + comment "libpjsip needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADSpackage/libpjsip/libpjsip.mk +0
-1@@ -25,7 +25,6 @@ LIBPJSIP_CONF_ENV = \ CFLAGS="$(LIBPJSIP_CFLAGS)" LIBPJSIP_CONF_OPTS = \ - --disable-sound \ --disable-gsm-codec \ --disable-speex-codec \ --disable-speex-aec \@@ -68,4 +67,8 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) LIBPJSIP_DEPENDENCIES += util-linux endif
Quoted 7 lines
package/libpjsip/libpjsip.mk ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) · line 70
Quoted 1 line
package/libpjsip/libpjsip.mk +1
-0+ifneq ($(BR2_PACKAGE_LIBPJSIP_SOUND),y)We prefer to use ifeq ($(BR2_PACKAGE_LIBPJSIP_SOUND),)
However, why not do --enable-sound? You mention something for the codecs, does
that also apply here?
Yes, no --enable-sound, only --disable-sound.
Quoted 6 lines
I'm going to mark the entire series as Changes Requested, even though you may
actually keep it mostly as it is after discussion. Still, there are probably small things to be fixed in some patches (like the typo in the first one) and it's easier to resubmit the series as a whole.
Thanks!
Quoted 11 lines
Regards,
Arnoutpackage/libpjsip/libpjsip.mk ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) · line 74
Quoted 5 lines
package/libpjsip/libpjsip.mk +3
-0+LIBPJSIP_CONF_OPTS += --disable-sound +endif + $(eval $(autotools-package))--
Quoted 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Adam
PATCH 2/17 libpjsip: add enable sound option
Quoted 13 lines · Adam Duskett
Hello
Quoted 10 lines · Arnout Vandecappelle
Hi Adam,
Quoted 4 lines · Adam Duskett
This is the first patch in a series that will enable several features for libpjsip. This patch does the following:
- make libpjsip a menuconfig option
You could have done that in a separate patch, to make it easier to apply only
part of the series.
On second thought, that doesn't make sense since it would be an empty menu.
Quoted 48 lines
Quoted 32 lines
Quoted 20 lines
- add a option for "Enable sound"
Signed-off-by Adam Duskett <[email protected]>--- package/libpjsip/Config.in | 11 ++++++++++- package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 14 insertions(+), 2 deletions(-)package/libpjsip/Config.in +1
-1@@ -1,4 +1,4 @@ -config BR2_PACKAGE_LIBPJSIP +menuconfig BR2_PACKAGE_LIBPJSIP bool "libpjsip" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADSpackage/libpjsip/Config.in config BR2_PACKAGE_LIBPJSIP · line 18
Quoted 9 lines
package/libpjsip/Config.in +6
-0@@ -10,5 +10,14 @@ config BR2_PACKAGE_LIBPJSIP http://www.pjsip.org +if BR2_PACKAGE_LIBPJSIP + +config BR2_PACKAGE_LIBPJSIP_SOUND + bool "Enable sound" + help + Use sound instead of a null device.Is it useful to make this optional? Does it have a significant impact on size?
Quoted 6 lines
Same goes for all the other options you add, e.g. v4l2 support: except if the
v4l2 support adds significantly to the size of libpjsip, you can just enable it whenBR2_PACKAGE_LIBV4Lis selected.That said, you may have good reasons to choose this route. It helps to explain
that in the commit log.Yeah, forgot to send a cover letter, sorry about that!
I could have! However; Yann and I had a discussion right after I submitted the patch,
and I bring this argument:As a person who is actively developing a project on libpjsip, I have a few arguments
as to why I wanted to go this route:
Quoted 6 lines
1) Unlike smaller packages, libpjsip is pretty big, with a ton of options, so having a bunch
of dependencies enabled if the user just so happens to have other options enabled would
be a bit awkward instead of going for just a small option that selects the dependency for you.
This argument would be true for most packages so I don't think it's valid. And
by making it explicit options, you get the reverse effect: Buildroot users are used to selecting some libraries and then expect all other packages that can use those libraries to actually use them. Of course, that's a much smaller impact (usually when you enable a package you'll immediately see which suboptions you want to enable as well).
Quoted 7 lines
2) Fine grain control is easier for the codecs as I don't want to enable all the codecs and support
them. With the product I am developing, I really don't want L16/iLBC enabled, mainly because
no customer I know of want, have requested, or use them, and having them enabled by default would
be a hassle (although I could just create a patch for my build as well. :] )
On IRC you gave an even better reason: if you want to do runtime enumeration of
supported codecs (which you actually do want to do), more codecs means more runtime and also more application development time. So that's a very good reason to make it optional. Make sure you add that to the commit message.
Quoted 8 lines
Quoted 3 lines
Finally, specifically about sound: does this option make sense if no sound
backend is selected?Well, it compiles. The reason I did this, was because I can allow this option to de-select "--disable-sound"
then the next options are for oss/alsa/portaudio. I am sure there are better ways, but I am not super great
at .mk files.
Discussed on IRC, it's not simple :-)
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
package/libpjsip/Config.in +3
-0+ +endif # BR2_PACKAGE_LIBPJSIP + comment "libpjsip needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADSpackage/libpjsip/libpjsip.mk +0
-1@@ -25,7 +25,6 @@ LIBPJSIP_CONF_ENV = \ CFLAGS="$(LIBPJSIP_CFLAGS)" LIBPJSIP_CONF_OPTS = \ - --disable-sound \ --disable-gsm-codec \ --disable-speex-codec \ --disable-speex-aec \@@ -68,4 +67,8 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) LIBPJSIP_DEPENDENCIES += util-linux endif
Quoted 8 lines
Quoted 7 lines
package/libpjsip/libpjsip.mk ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) · line 70
Quoted 1 line
package/libpjsip/libpjsip.mk +1
-0+ifneq ($(BR2_PACKAGE_LIBPJSIP_SOUND),y)We prefer to use ifeq ($(BR2_PACKAGE_LIBPJSIP_SOUND),)
However, why not do --enable-sound? You mention something for the codecs, does
that also apply here?Yes, no --enable-sound, only --disable-sound.
Discussed on IRC: most --enable options actually disable it. Needs a comment in
the .mk file to explain that.
Regards,
Arnout
[snip]
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 3/17 libpjsip: add alsa option
In reply to Adam Duskett--- package/libpjsip/Config.in | 8 ++++++++ package/libpjsip/libpjsip.mk | 4 ++++ 2 files changed, 12 insertions(+)
package/libpjsip/Config.in +8 -0
@@ -17,6 +17,14 @@ config BR2_PACKAGE_LIBPJSIP_SOUND help Use sound instead of a null device. +if BR2_PACKAGE_LIBPJSIP_SOUND + +config BR2_PACKAGE_LIBPJSIP_ALSA + bool "alsa support" + select BR2_PACKAGE_ALSA_LIB + +endif # BR2_PACKAGE_LIBPJSIP_SOUND + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +4 -0
@@ -71,4 +71,8 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_SOUND),y) LIBPJSIP_CONF_OPTS += --disable-sound endif +ifeq ($(BR2_PACKAGE_LIBPJSIP_ALSA),y) +LIBPJSIP_DEPENDENCIES += alsa-lib +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 4/17 libpjsip: add oss option
In reply to Adam Duskett--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +3 -0
@@ -23,6 +23,9 @@ config BR2_PACKAGE_LIBPJSIP_ALSA bool "alsa support" select BR2_PACKAGE_ALSA_LIB +config BR2_PACKAGE_LIBPJSIP_OSS + bool "OSS support" + endif # BR2_PACKAGE_LIBPJSIP_SOUND endif # BR2_PACKAGE_LIBPJSIP
package/libpjsip/libpjsip.mk +4 -1
@@ -35,7 +35,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-ilbc-codec \ --disable-libwebrtc \ --disable-opus \ - --disable-oss \ --disable-ext-sound \ --disable-g711-codec \ --disable-l16-codec \
@@ -75,4 +74,8 @@ ifeq ($(BR2_PACKAGE_LIBPJSIP_ALSA),y) LIBPJSIP_DEPENDENCIES += alsa-lib endif +ifneq ($(BR2_PACKAGE_LIBPJSIP_OSS),y) +LIBPJSIP_CONF_OPTS += --disable-oss +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 4/17 libpjsip: add oss option
Quoted 11 lines · Adam Duskett
Signed-off-by Adam Duskett <[email protected]>--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)package/libpjsip/Config.in +0
-0
package/libpjsip/Config.in config BR2_PACKAGE_LIBPJSIP_ALSA · line 27
Quoted 5 lines
package/libpjsip/Config.in +2
-0@@ -23,6 +23,9 @@ config BR2_PACKAGE_LIBPJSIP_ALSA bool "alsa support" select BR2_PACKAGE_ALSA_LIB +config BR2_PACKAGE_LIBPJSIP_OSS + bool "OSS support"
I don't think adding support for OSS is useful. OSS has been deprecated for,
what, 10 years now?
Regards,
Arnout
Quoted 26 lines
package/libpjsip/Config.in +1
-0+ endif # BR2_PACKAGE_LIBPJSIP_SOUND endif # BR2_PACKAGE_LIBPJSIPpackage/libpjsip/libpjsip.mk +4
-1@@ -35,7 +35,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-ilbc-codec \ --disable-libwebrtc \ --disable-opus \ - --disable-oss \ --disable-ext-sound \ --disable-g711-codec \ --disable-l16-codec \@@ -75,4 +74,8 @@ ifeq ($(BR2_PACKAGE_LIBPJSIP_ALSA),y) LIBPJSIP_DEPENDENCIES += alsa-lib endif +ifneq ($(BR2_PACKAGE_LIBPJSIP_OSS),y) +LIBPJSIP_CONF_OPTS += --disable-oss +endif + $(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 4/17 libpjsip: add oss option
Quoted 17 lines · Arnout Vandecappelle
Quoted 14 lines · Adam Duskett
Signed-off-by Adam Duskett <[email protected]>--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)package/libpjsip/Config.in +0
-0@@ -23,6 +23,9 @@ config BR2_PACKAGE_LIBPJSIP_ALSA bool "alsa support" select BR2_PACKAGE_ALSA_LIB
Quoted 6 lines
package/libpjsip/Config.in config BR2_PACKAGE_LIBPJSIP_ALSA · line 27
Quoted 2 lines
package/libpjsip/Config.in +2
-0+config BR2_PACKAGE_LIBPJSIP_OSS + bool "OSS support"I don't think adding support for OSS is useful. OSS has been deprecated for,
what, 10 years now?
You would be surprised how often it's used in embedded environments. :(
Quoted 37 lines
Regards,
ArnoutQuoted 18 lines
package/libpjsip/Config.in +1
-0+ endif # BR2_PACKAGE_LIBPJSIP_SOUND endif # BR2_PACKAGE_LIBPJSIPpackage/libpjsip/libpjsip.mk +0
-1@@ -35,7 +35,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-ilbc-codec \ --disable-libwebrtc \ --disable-opus \ - --disable-oss \ --disable-ext-sound \ --disable-g711-codec \ --disable-l16-codec \package/libpjsip/libpjsip.mk ifeq ($(BR2_PACKAGE_LIBPJSIP_ALSA),y) · line 81
Quoted 8 lines
package/libpjsip/libpjsip.mk +4
-0@@ -75,4 +74,8 @@ ifeq ($(BR2_PACKAGE_LIBPJSIP_ALSA),y) LIBPJSIP_DEPENDENCIES += alsa-lib endif +ifneq ($(BR2_PACKAGE_LIBPJSIP_OSS),y) +LIBPJSIP_CONF_OPTS += --disable-oss +endif + $(eval $(autotools-package))--
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 5/17 libpjsip: add portaudio option
In reply to Adam Duskett--- package/libpjsip/Config.in | 4 ++++ package/libpjsip/libpjsip.mk | 5 +++++ 2 files changed, 9 insertions(+)
package/libpjsip/Config.in +4 -0
@@ -26,6 +26,10 @@ config BR2_PACKAGE_LIBPJSIP_ALSA config BR2_PACKAGE_LIBPJSIP_OSS bool "OSS support" +config BR2_PACKAGE_LIBPJSIP_PORTAUDIO + bool "portaudio support" + select BR2_PACKAGE_PORTAUDIO + endif # BR2_PACKAGE_LIBPJSIP_SOUND endif # BR2_PACKAGE_LIBPJSIP
package/libpjsip/libpjsip.mk +5 -0
@@ -78,4 +78,9 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_OSS),y) LIBPJSIP_CONF_OPTS += --disable-oss endif +ifeq ($(BR2_PACKAGE_LIBPJSIP_PORTAUDIO),y) +LIBPJSIP_DEPENDENCIES += portaudio +LIBPJSIP_CONF_OPTS += --with-external-pa +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 5/17 libpjsip: add portaudio option
Quoted 26 lines · Adam Duskett
Signed-off-by Adam Duskett <[email protected]>--- package/libpjsip/Config.in | 4 ++++ package/libpjsip/libpjsip.mk | 5 +++++ 2 files changed, 9 insertions(+)package/libpjsip/Config.in +4
-0@@ -26,6 +26,10 @@ config BR2_PACKAGE_LIBPJSIP_ALSA config BR2_PACKAGE_LIBPJSIP_OSS bool "OSS support" +config BR2_PACKAGE_LIBPJSIP_PORTAUDIO + bool "portaudio support" + select BR2_PACKAGE_PORTAUDIO + endif # BR2_PACKAGE_LIBPJSIP_SOUND endif # BR2_PACKAGE_LIBPJSIPpackage/libpjsip/libpjsip.mk +0
-0
package/libpjsip/libpjsip.mk ifneq ($(BR2_PACKAGE_LIBPJSIP_OSS),y) · line 83
Quoted 6 lines
package/libpjsip/libpjsip.mk +3
-0@@ -78,4 +78,9 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_OSS),y) LIBPJSIP_CONF_OPTS += --disable-oss endif +ifeq ($(BR2_PACKAGE_LIBPJSIP_PORTAUDIO),y) +LIBPJSIP_DEPENDENCIES += portaudio +LIBPJSIP_CONF_OPTS += --with-external-pa
It his option is not selected, will it use an internal copy of portaudio? Do we
really want that?
Regards,
Arnout
Quoted 4 lines
package/libpjsip/libpjsip.mk +2
-0+endif + $(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 6/17 libpjsip: enable video option
In reply to Adam Duskett--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +3 -0
@@ -32,6 +32,9 @@ config BR2_PACKAGE_LIBPJSIP_PORTAUDIO endif # BR2_PACKAGE_LIBPJSIP_SOUND +config BR2_PACKAGE_LIBPJSIP_VIDEO + bool "Enable video" + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +4 -1
@@ -29,7 +29,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-speex-codec \ --disable-speex-aec \ --disable-resample \ - --disable-video \ --disable-opencore-amr \ --disable-g7221-codec \ --disable-ilbc-codec \
@@ -83,4 +82,8 @@ LIBPJSIP_DEPENDENCIES += portaudio LIBPJSIP_CONF_OPTS += --with-external-pa endif +ifneq ($(BR2_PACKAGE_LIBPJSIP_VIDEO),y) +LIBPJSIP_CONF_OPTS += --disable-video +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 7/17 libpjsip: add ffmpeg option
In reply to Adam Duskett--- package/libpjsip/Config.in | 11 +++++++++++ package/libpjsip/libpjsip.mk | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +11 -0
@@ -35,6 +35,17 @@ endif # BR2_PACKAGE_LIBPJSIP_SOUND config BR2_PACKAGE_LIBPJSIP_VIDEO bool "Enable video" +if BR2_PACKAGE_LIBPJSIP_VIDEO + +config BR2_PACKAGE_LIBPJSIP_FFMPEG + bool "ffmpeg support" + depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS + select BR2_PACKAGE_FFMPEG + help + Enable ffmpeg support + +endif # BR2_PACKAGE_LIBPJSIP_VIDEO + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +7 -1
@@ -40,7 +40,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-g722-codec \ --disable-libsamplerate \ --disable-sdl \ - --disable-ffmpeg \ --disable-v4l2 \ --disable-openh264 \ --disable-libyuv \
@@ -86,4 +85,11 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_VIDEO),y) LIBPJSIP_CONF_OPTS += --disable-video endif +ifeq ($(BR2_PACKAGE_LIBPJSIP_FFMPEG),y) +LIBPJSIP_DEPENDENCIES += ffmpeg +LIBPJSIP_CONF_OPTS += --with-ffmpeg=$(STAGING_DIR)/usr/lib +else +LIBPJSIP_CONF_OPTS += --disable-ffmpeg +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 7/17 libpjsip: add ffmpeg option
Quoted 41 lines · Adam Duskett
Signed-off-by Adam Duskett <[email protected]>--- package/libpjsip/Config.in | 11 +++++++++++ package/libpjsip/libpjsip.mk | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-)package/libpjsip/Config.in +11
-0@@ -35,6 +35,17 @@ endif # BR2_PACKAGE_LIBPJSIP_SOUND config BR2_PACKAGE_LIBPJSIP_VIDEO bool "Enable video" +if BR2_PACKAGE_LIBPJSIP_VIDEO + +config BR2_PACKAGE_LIBPJSIP_FFMPEG + bool "ffmpeg support" + depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS + select BR2_PACKAGE_FFMPEG + help + Enable ffmpeg support + +endif # BR2_PACKAGE_LIBPJSIP_VIDEO + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"package/libpjsip/libpjsip.mk +0
-1@@ -40,7 +40,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-g722-codec \ --disable-libsamplerate \ --disable-sdl \ - --disable-ffmpeg \ --disable-v4l2 \ --disable-openh264 \ --disable-libyuv \
package/libpjsip/libpjsip.mk ifneq ($(BR2_PACKAGE_LIBPJSIP_VIDEO),y) · line 90
Quoted 6 lines
package/libpjsip/libpjsip.mk +3
-0@@ -86,4 +85,11 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_VIDEO),y) LIBPJSIP_CONF_OPTS += --disable-video endif +ifeq ($(BR2_PACKAGE_LIBPJSIP_FFMPEG),y) +LIBPJSIP_DEPENDENCIES += ffmpeg +LIBPJSIP_CONF_OPTS += --with-ffmpeg=$(STAGING_DIR)/usr/lib
Why is this needed? This is the standard library search path so shouldn't be
needed. Also, normally it would be --with-ffmpeg=$(STAGING_DIR)/usr and configure uses .../include for -I and .../lib for -L. Please add an explanation in the commit log.
Regards,
Arnout
Quoted 6 lines
package/libpjsip/libpjsip.mk +4
-0+else +LIBPJSIP_CONF_OPTS += --disable-ffmpeg +endif + $(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 8/17 libpjsip: add v4l2 option
In reply to Adam Duskett--- package/libpjsip/Config.in | 10 ++++++++++ package/libpjsip/libpjsip.mk | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +10 -0
@@ -44,6 +44,16 @@ config BR2_PACKAGE_LIBPJSIP_FFMPEG help Enable ffmpeg support +config BR2_PACKAGE_LIBPJSIP_V4L2 + bool "V4L2 support" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libv4l -> media headers + select BR2_PACKAGE_LIBV4L + help + Enable Video4Linux2 support + +comment "v4l2 support needs headers >= 3.0" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + endif # BR2_PACKAGE_LIBPJSIP_VIDEO endif # BR2_PACKAGE_LIBPJSIP
package/libpjsip/libpjsip.mk +6 -1
@@ -40,7 +40,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-g722-codec \ --disable-libsamplerate \ --disable-sdl \ - --disable-v4l2 \ --disable-openh264 \ --disable-libyuv \ --disable-ipp \
@@ -92,4 +91,10 @@ else LIBPJSIP_CONF_OPTS += --disable-ffmpeg endif +ifeq ($(BR2_PACKAGE_LIBPJSIP_V4L2),y) +LIBPJSIP_DEPENDENCIES += libv4l +else +LIBPJSIP_CONF_OPTS += --disable-v4l2 +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 9/17 libpjsip: add G.711 codec
In reply to Adam DuskettThere is no enable-codecs in configure, so instead, disable them if they aren't selected instead of enabling them if they are.
Add the internal codecs first, start with G.711.
--- package/libpjsip/Config.in | 5 +++++ package/libpjsip/libpjsip.mk | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +5 -0
@@ -56,6 +56,11 @@ comment "v4l2 support needs headers >= 3.0" endif # BR2_PACKAGE_LIBPJSIP_VIDEO +comment "dependency-less codecs" + +config BR2_PACKAGE_LIBPJSIP_CODEC_G711 + bool "G.711" + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +9 -1
@@ -35,7 +35,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-libwebrtc \ --disable-opus \ --disable-ext-sound \ - --disable-g711-codec \ --disable-l16-codec \ --disable-g722-codec \ --disable-libsamplerate \
@@ -97,4 +96,13 @@ else LIBPJSIP_CONF_OPTS += --disable-v4l2 endif +# Codecs can only be disabled. If explictly enabled, the check is +# omitted (but successful), and there is no configure trace "Checking +# if [codec] codec is disabled...no". So we only explicitly disable it +# and we do not explictly enable it, so we get the configure log in +# both cases. +ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G711),y) +LIBPJSIP_CONF_OPTS += --disable-g711-codec +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 10/17 libpjsip: add G.722 codec
In reply to Adam Duskett--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +3 -0
@@ -61,6 +61,9 @@ comment "dependency-less codecs" config BR2_PACKAGE_LIBPJSIP_CODEC_G711 bool "G.711" +config BR2_PACKAGE_LIBPJSIP_CODEC_G722 + bool "G.722" + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +4 -1
@@ -36,7 +36,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-opus \ --disable-ext-sound \ --disable-l16-codec \ - --disable-g722-codec \ --disable-libsamplerate \ --disable-sdl \ --disable-openh264 \
@@ -105,4 +104,8 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G711),y) LIBPJSIP_CONF_OPTS += --disable-g711-codec endif +ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G722),y) +LIBPJSIP_CONF_OPTS += --disable-g722-codec +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 11/17 libpjsip: add G.722.1 codec
In reply to Adam Duskett--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +3 -0
@@ -64,6 +64,9 @@ config BR2_PACKAGE_LIBPJSIP_CODEC_G711 config BR2_PACKAGE_LIBPJSIP_CODEC_G722 bool "G.722" +config BR2_PACKAGE_LIBPJSIP_CODEC_G7221 + bool "G.722.1" + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +5 -1
@@ -30,7 +30,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-speex-aec \ --disable-resample \ --disable-opencore-amr \ - --disable-g7221-codec \ --disable-ilbc-codec \ --disable-libwebrtc \ --disable-opus \
@@ -108,4 +107,9 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G722),y) LIBPJSIP_CONF_OPTS += --disable-g722-codec endif +# libpjsip can only use a bundled version of libg7221 +ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G7221),y) +LIBPJSIP_CONF_OPTS += --disable-g7221-codec +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 12/17 libpjsip: add ilbc codec
In reply to Adam Duskett--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +3 -0
@@ -67,6 +67,9 @@ config BR2_PACKAGE_LIBPJSIP_CODEC_G722 config BR2_PACKAGE_LIBPJSIP_CODEC_G7221 bool "G.722.1" +config BR2_PACKAGE_LIBPJSIP_CODEC_ILBC + bool "iLBC" + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +5 -1
@@ -30,7 +30,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-speex-aec \ --disable-resample \ --disable-opencore-amr \ - --disable-ilbc-codec \ --disable-libwebrtc \ --disable-opus \ --disable-ext-sound \
@@ -112,4 +111,9 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G7221),y) LIBPJSIP_CONF_OPTS += --disable-g7221-codec endif +# libpjsip can only use a bundled version of libilbc +ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_ILBC),y) +LIBPJSIP_CONF_OPTS += --disable-ilbc-codec +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 13/17 libpjsip: add L16 codec
In reply to Adam Duskett--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +3 -0
@@ -70,6 +70,9 @@ config BR2_PACKAGE_LIBPJSIP_CODEC_G7221 config BR2_PACKAGE_LIBPJSIP_CODEC_ILBC bool "iLBC" +config BR2_PACKAGE_LIBPJSIP_CODEC_L16 + bool "L16" + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +4 -1
@@ -33,7 +33,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-libwebrtc \ --disable-opus \ --disable-ext-sound \ - --disable-l16-codec \ --disable-libsamplerate \ --disable-sdl \ --disable-openh264 \
@@ -116,4 +115,8 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_ILBC),y) LIBPJSIP_CONF_OPTS += --disable-ilbc-codec endif +ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_L16),y) +LIBPJSIP_CONF_OPTS += --disable-l16-codec +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 14/17 libpjsip: add bcg729 codec
In reply to Adam DuskettNow add codecs with external dependencies.
--- package/libpjsip/Config.in | 5 +++++ package/libpjsip/libpjsip.mk | 8 ++++++++ 2 files changed, 13 insertions(+)
package/libpjsip/Config.in +5 -0
@@ -73,6 +73,11 @@ config BR2_PACKAGE_LIBPJSIP_CODEC_ILBC config BR2_PACKAGE_LIBPJSIP_CODEC_L16 bool "L16" +comment "Codecs with external dependencies" + +config BR2_PACKAGE_LIBPJSIP_CODEC_BCG729 + bool "BCG729" + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +8 -0
@@ -119,4 +119,12 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_L16),y) LIBPJSIP_CONF_OPTS += --disable-l16-codec endif +# Codecs with external dependencies +ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_BCG729),y) +LIBPJSIP_DEPENDENCIES += bcg729 +LIBPJSIP_CONF_OPTS += --with-bcg729=$(STAGING_DIR)/usr/lib +else +LIBPJSIP_CONF_OPTS += --disable-bcg729 +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 15/17 libpjsip: add gsm codec
In reply to Adam Duskett--- package/libpjsip/Config.in | 8 ++++++++ package/libpjsip/libpjsip.mk | 8 +++++++- 2 files changed, 15 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +8 -0
@@ -78,6 +78,14 @@ comment "Codecs with external dependencies" config BR2_PACKAGE_LIBPJSIP_CODEC_BCG729 bool "BCG729" +config BR2_PACKAGE_LIBPJSIP_CODEC_GSM + bool "GSM" + depends on !BR2_STATIC_LIBS # libgsm + select BR2_PACKAGE_LIBGSM + +comment "GSM codec needs a toolchain w/ shared libraries" + depends on BR2_STATIC_LIBS + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +7 -1
@@ -25,7 +25,6 @@ LIBPJSIP_CONF_ENV = \ CFLAGS="$(LIBPJSIP_CFLAGS)" LIBPJSIP_CONF_OPTS = \ - --disable-gsm-codec \ --disable-speex-codec \ --disable-speex-aec \ --disable-resample \
@@ -127,4 +126,11 @@ else LIBPJSIP_CONF_OPTS += --disable-bcg729 endif +ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_GSM),y) +LIBPJSIP_DEPENDENCIES += libgsm +LIBPJSIP_CONF_OPTS += --with-external-gsm +else +LIBPJSIP_CONF_OPTS += --disable-gsm-codec +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 16/17 libpjsip: add opus codec
In reply to Adam Duskett--- package/libpjsip/Config.in | 4 ++++ package/libpjsip/libpjsip.mk | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +4 -0
@@ -86,6 +86,10 @@ config BR2_PACKAGE_LIBPJSIP_CODEC_GSM comment "GSM codec needs a toolchain w/ shared libraries" depends on BR2_STATIC_LIBS +config BR2_PACKAGE_LIBPJSIP_CODEC_OPUS + bool "Opus" + select BR2_PACKAGE_OPUS + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +6 -1
@@ -30,7 +30,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-resample \ --disable-opencore-amr \ --disable-libwebrtc \ - --disable-opus \ --disable-ext-sound \ --disable-libsamplerate \ --disable-sdl \
@@ -133,4 +132,10 @@ else LIBPJSIP_CONF_OPTS += --disable-gsm-codec endif +ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_OPUS),y) +LIBPJSIP_DEPENDENCIES += opus +else +LIBPJSIP_CONF_OPTS += --disable-opus +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 17/17 libpjsip: add speex codec
In reply to Adam Duskett--- package/libpjsip/Config.in | 4 ++++ package/libpjsip/libpjsip.mk | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-)
package/libpjsip/Config.in +4 -0
@@ -90,6 +90,10 @@ config BR2_PACKAGE_LIBPJSIP_CODEC_OPUS bool "Opus" select BR2_PACKAGE_OPUS +config BR2_PACKAGE_LIBPJSIP_CODEC_SPEEX + bool "Speex" + select BR2_PACKAGE_SPEEX + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +7 -2
@@ -25,8 +25,6 @@ LIBPJSIP_CONF_ENV = \ CFLAGS="$(LIBPJSIP_CFLAGS)" LIBPJSIP_CONF_OPTS = \ - --disable-speex-codec \ - --disable-speex-aec \ --disable-resample \ --disable-opencore-amr \ --disable-libwebrtc \
@@ -138,4 +136,11 @@ else LIBPJSIP_CONF_OPTS += --disable-opus endif +ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_SPEEX),y) +LIBPJSIP_DEPENDENCIES += speex +LIBPJSIP_CONF_OPTS += --with-external-speex +else +LIBPJSIP_CONF_OPTS += --disable-speex-codec --disable-speex-aec +endif + $(eval $(autotools-package))
Signature · 1 line
2.13.6
PATCH 1/17 libpjsip: remove deprecated config options
In reply to Adam DuskettHi,
Quoted 1 line · Adam Duskett
disable-small-filter and disable-large-filter have been depricated as
deprecated
Quoted 4 lines
of 2.7, causing messages during compile time complaining about how they are deprecated and have no effect.
Signed-off-by Adam Duskett <[email protected]>
With the typo fixed:
Signature · 1 line
Luca