Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Flax <flatmax@flatmax.com>
To: buildroot@buildroot.org
Cc: "Wojciech M . Zabolotny" <wzab01@gmail.com>,
	Matt Flax <flatmax@flatmax.com>
Subject: [Buildroot] [PATCH 1/1] package/jack2: Add example tools build option
Date: Fri, 31 Mar 2023 14:04:55 +1100	[thread overview]
Message-ID: <20230331030455.1356986-1-flatmax@flatmax.com> (raw)

Signed-off-by: Matt Flax <flatmax@flatmax.com>
---
 package/jack2/Config.in | 7 +++++++
 package/jack2/jack2.mk  | 8 +++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/package/jack2/Config.in b/package/jack2/Config.in
index f5ac0399eb..d8717de426 100644
--- a/package/jack2/Config.in
+++ b/package/jack2/Config.in
@@ -23,6 +23,13 @@ config BR2_PACKAGE_JACK2

 if BR2_PACKAGE_JACK2

+config BR2_PACKAGE_JACK2_TOOLS
+	bool "example tools"
+	help
+	  Build jack's example tools like jack_connect, jack_lsp, etc.
+
+	  https://github.com/jackaudio/jack-example-tools/tree/main/tools
+
 config BR2_PACKAGE_JACK2_LEGACY
 	bool "classic jack2"
 	help
diff --git a/package/jack2/jack2.mk b/package/jack2/jack2.mk
index f7683304a6..5d6d9f6bc7 100644
--- a/package/jack2/jack2.mk
+++ b/package/jack2/jack2.mk
@@ -12,7 +12,13 @@ JACK2_CPE_ID_VENDOR = jackaudio
 JACK2_DEPENDENCIES = host-pkgconf alsa-lib
 JACK2_INSTALL_STAGING = YES

-JACK2_CONF_OPTS = --alsa --example-tools=no
+JACK2_CONF_OPTS = --alsa
+
+ifeq ($(BR2_PACKAGE_JACK2_TOOLS),y)
+JACK2_CONF_OPTS += --example-tools=yes
+else
+JACK2_CONF_OPTS += --example-tools=no
+endif

 ifeq ($(BR2_PACKAGE_LIBEXECINFO),y)
 JACK2_DEPENDENCIES += libexecinfo
--
2.37.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2023-03-31  3:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-31  3:04 Matt Flax [this message]
2024-01-10 21:44 ` [Buildroot] [PATCH 1/1] package/jack2: Add example tools build option Thomas Petazzoni via buildroot

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=20230331030455.1356986-1-flatmax@flatmax.com \
    --to=flatmax@flatmax.com \
    --cc=buildroot@buildroot.org \
    --cc=wzab01@gmail.com \
    /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