Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Duskett <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 3/7] libpjsip: enable bcg729 codec
Date: Mon, 12 Mar 2018 05:29:49 -0400	[thread overview]
Message-ID: <20180312092953.24258-3-aduskett@gmail.com> (raw)
In-Reply-To: <20180312092953.24258-1-aduskett@gmail.com>

Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
Changes v1 -> v4:
  - Add each codec with a dependency as a seperate patch.

 package/libpjsip/Config.in   | 6 ++++++
 package/libpjsip/libpjsip.mk | 8 ++++++++
 2 files changed, 14 insertions(+)

diff --git a/package/libpjsip/Config.in b/package/libpjsip/Config.in
index 829ed1ede7..123eceae06 100644
--- a/package/libpjsip/Config.in
+++ b/package/libpjsip/Config.in
@@ -35,6 +35,12 @@ 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"
+	select BR2_PACKAGE_BCG729
+
 endif #BR2_PACKAGE_LIBPJSIP
 
 comment "libpjsip needs a toolchain w/ C++, threads"
diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk
index 7b643f5fa5..67c8ad0dfd 100644
--- a/package/libpjsip/libpjsip.mk
+++ b/package/libpjsip/libpjsip.mk
@@ -95,4 +95,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
+else
+LIBPJSIP_CONF_OPTS += --disable-bcg729
+endif
+
 $(eval $(autotools-package))
-- 
2.14.3

  parent reply	other threads:[~2018-03-12  9:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-12  9:29 [Buildroot] [PATCH v4 1/7] libpjsip: Add Alsa option Adam Duskett
2018-03-12  9:29 ` [Buildroot] [PATCH v4 2/7] libpjsip: add codecs without dependencies Adam Duskett
2018-03-12  9:29 ` Adam Duskett [this message]
2018-03-12  9:29 ` [Buildroot] [PATCH v4 4/7] libpjsip: enable gsm codec Adam Duskett
2018-03-12  9:29 ` [Buildroot] [PATCH v4 5/7] libpjsip: enable opencore-amr codec Adam Duskett
2018-03-12  9:29 ` [Buildroot] [PATCH v4 6/7] libpjsip: enable opus codec Adam Duskett
2018-03-12  9:29 ` [Buildroot] [PATCH v4 7/7] libpjsip: enable speex codec Adam Duskett
2018-03-26 19:46 ` [Buildroot] [PATCH v4 1/7] libpjsip: Add Alsa option Thomas Petazzoni
2018-03-26 19:48   ` Thomas Petazzoni

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=20180312092953.24258-3-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