All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/jack2: Add example tools build option
@ 2023-03-31  3:04 Matt Flax
  2024-01-10 21:44 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Flax @ 2023-03-31  3:04 UTC (permalink / raw)
  To: buildroot; +Cc: Wojciech M . Zabolotny, Matt Flax

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-10 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-31  3:04 [Buildroot] [PATCH 1/1] package/jack2: Add example tools build option Matt Flax
2024-01-10 21:44 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.