All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] package/jack2: libsamplerate is optional, not mandatoy
@ 2022-07-27 13:26 Fabrice Fontaine
  2022-07-27 13:26 ` [Buildroot] [PATCH 2/4] package/jack2: libsndfile is optional, not mandatory Fabrice Fontaine
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Fabrice Fontaine @ 2022-07-27 13:26 UTC (permalink / raw)
  To: buildroot; +Cc: Wojciech M . Zabolotny, Fabrice Fontaine

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/jack2/Config.in | 1 -
 package/jack2/jack2.mk  | 9 ++++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/package/jack2/Config.in b/package/jack2/Config.in
index 8abdda6376..e02449ba87 100644
--- a/package/jack2/Config.in
+++ b/package/jack2/Config.in
@@ -5,7 +5,6 @@ config BR2_PACKAGE_JACK2
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
-	select BR2_PACKAGE_LIBSAMPLERATE
 	select BR2_PACKAGE_LIBSNDFILE
 	select BR2_PACKAGE_ALSA_LIB
 	select BR2_PACKAGE_ALSA_LIB_HWDEP
diff --git a/package/jack2/jack2.mk b/package/jack2/jack2.mk
index 6939aac9a6..4059fa689c 100644
--- a/package/jack2/jack2.mk
+++ b/package/jack2/jack2.mk
@@ -9,7 +9,7 @@ JACK2_SITE = $(call github,jackaudio,jack2,v$(JACK2_VERSION))
 JACK2_LICENSE = GPL-2.0+ (jack server), LGPL-2.1+ (jack library)
 JACK2_LICENSE_FILES = COPYING
 JACK2_CPE_ID_VENDOR = jackaudio
-JACK2_DEPENDENCIES = libsamplerate libsndfile alsa-lib
+JACK2_DEPENDENCIES = libsndfile alsa-lib
 JACK2_INSTALL_STAGING = YES
 
 JACK2_CONF_OPTS = --alsa
@@ -19,6 +19,13 @@ JACK2_DEPENDENCIES += libexecinfo
 JACK2_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lexecinfo"
 endif
 
+ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
+JACK2_DEPENDENCIES += libsamplerate
+JACK2_CONF_OPTS += --samplerate=yes
+else
+JACK2_CONF_OPTS += --samplerate=no
+endif
+
 ifeq ($(BR2_PACKAGE_OPUS),y)
 JACK2_DEPENDENCIES += opus
 JACK2_CONF_OPTS += --opus=yes
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-08-30 16:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 13:26 [Buildroot] [PATCH 1/4] package/jack2: libsamplerate is optional, not mandatoy Fabrice Fontaine
2022-07-27 13:26 ` [Buildroot] [PATCH 2/4] package/jack2: libsndfile is optional, not mandatory Fabrice Fontaine
2022-08-30 16:09   ` Peter Korsgaard
2022-07-27 13:26 ` [Buildroot] [PATCH 3/4] package/jack2: add systemd optional dependency Fabrice Fontaine
2022-08-30 16:09   ` Peter Korsgaard
2022-07-27 13:26 ` [Buildroot] [PATCH 4/4] package/jack2: disable example tools Fabrice Fontaine
2022-08-30 16:10   ` Peter Korsgaard
2022-07-27 14:54 ` [Buildroot] [PATCH 1/4] package/jack2: libsamplerate is optional, not mandatoy Thomas Petazzoni via buildroot
2022-08-30 16:09 ` Peter Korsgaard

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.