From: Adam Duskett <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [NEXT 02/17] libpjsip: add enable sound option
Date: Fri, 10 Nov 2017 15:20:54 -0500 [thread overview]
Message-ID: <20171110202109.25215-2-aduskett@gmail.com> (raw)
In-Reply-To: <20171110202109.25215-1-aduskett@gmail.com>
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"
Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
package/libpjsip/Config.in | 11 ++++++++++-
package/libpjsip/libpjsip.mk | 5 ++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/package/libpjsip/Config.in b/package/libpjsip/Config.in
index 727d2ec3d0..a39d053e03 100644
--- a/package/libpjsip/Config.in
+++ b/package/libpjsip/Config.in
@@ -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
diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk
index c772d4117a..a9d4ed4ed0 100644
--- a/package/libpjsip/libpjsip.mk
+++ b/package/libpjsip/libpjsip.mk
@@ -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))
--
2.13.6
next prev parent reply other threads:[~2017-11-10 20:20 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-10 20:20 [Buildroot] [NEXT 01/17] libpjsip: remove deprecated config options Adam Duskett
2017-11-10 20:20 ` Adam Duskett [this message]
2017-11-11 9:29 ` [Buildroot] [NEXT 02/17] libpjsip: add enable sound option Arnout Vandecappelle
2017-11-13 14:36 ` Adam Duskett
2017-11-13 16:02 ` Arnout Vandecappelle
2017-11-10 20:20 ` [Buildroot] [NEXT 03/17] libpjsip: add alsa option Adam Duskett
2017-11-10 20:20 ` [Buildroot] [NEXT 04/17] libpjsip: add oss option Adam Duskett
2017-11-11 9:38 ` Arnout Vandecappelle
2017-11-13 15:04 ` Adam Duskett
2017-11-10 20:20 ` [Buildroot] [NEXT 05/17] libpjsip: add portaudio option Adam Duskett
2017-11-11 9:31 ` Arnout Vandecappelle
2017-11-10 20:20 ` [Buildroot] [NEXT 06/17] libpjsip: enable video option Adam Duskett
2017-11-10 20:20 ` [Buildroot] [NEXT 07/17] libpjsip: add ffmpeg option Adam Duskett
2017-11-11 9:33 ` Arnout Vandecappelle
2017-11-10 20:21 ` [Buildroot] [NEXT 08/17] libpjsip: add v4l2 option Adam Duskett
2017-11-10 20:21 ` [Buildroot] [NEXT 09/17] libpjsip: add G.711 codec Adam Duskett
2017-11-10 20:21 ` [Buildroot] [NEXT 10/17] libpjsip: add G.722 codec Adam Duskett
2017-11-10 20:21 ` [Buildroot] [NEXT 11/17] libpjsip: add G.722.1 codec Adam Duskett
2017-11-10 20:21 ` [Buildroot] [NEXT 12/17] libpjsip: add ilbc codec Adam Duskett
2017-11-10 20:21 ` [Buildroot] [NEXT 13/17] libpjsip: add L16 codec Adam Duskett
2017-11-10 20:21 ` [Buildroot] [NEXT 14/17] libpjsip: add bcg729 codec Adam Duskett
2017-11-10 20:21 ` [Buildroot] [NEXT 15/17] libpjsip: add gsm codec Adam Duskett
2017-11-10 20:21 ` [Buildroot] [NEXT 16/17] libpjsip: add opus codec Adam Duskett
2017-11-10 20:21 ` [Buildroot] [NEXT 17/17] libpjsip: add speex codec Adam Duskett
2017-11-10 22:25 ` [Buildroot] [NEXT 01/17] libpjsip: remove deprecated config options Luca Ceresoli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171110202109.25215-2-aduskett@gmail.com \
--to=aduskett@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox