* [Buildroot] [PATCH v3 2/2] package/bluez-alsa: bump version to 4.3.1
2024-09-04 12:42 [Buildroot] [PATCH v3 1/2] DEVELOPERS: add bluez-alsa to myself Nicolas Cavallari
@ 2024-09-04 12:42 ` Nicolas Cavallari
2024-09-05 20:35 ` [Buildroot] [PATCH v3 1/2] DEVELOPERS: add bluez-alsa to myself Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Cavallari @ 2024-09-04 12:42 UTC (permalink / raw)
To: buildroot
Add new optional dependencies on bluez midi support, opus, systemd and
spandsp.
Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
---
v3: no changes
v2: add sob
package/bluez-alsa/bluez-alsa.hash | 2 +-
package/bluez-alsa/bluez-alsa.mk | 30 +++++++++++++++++++++++++++++-
2 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/package/bluez-alsa/bluez-alsa.hash b/package/bluez-alsa/bluez-alsa.hash
index 5513865603..fbcbabea28 100644
--- a/package/bluez-alsa/bluez-alsa.hash
+++ b/package/bluez-alsa/bluez-alsa.hash
@@ -1,3 +1,3 @@
# Locally calculated:
-sha256 b69a3e6dd69315194403ee930ac1553aed3fb9a3988e502ae5c24a8bfef70f9f bluez-alsa-4.1.1.tar.gz
+sha256 933fe898dfac21fdfeb5f4ffa685c2aa2db9c064d639170ac2652f156e956a2a bluez-alsa-4.3.1.tar.gz
sha256 956564dcf06ba65cd7a5eb6cdfd695e2ab0f09ea9684e4eaf079f5d533bd206d LICENSE
diff --git a/package/bluez-alsa/bluez-alsa.mk b/package/bluez-alsa/bluez-alsa.mk
index 38682c2755..8a5abe3f7f 100644
--- a/package/bluez-alsa/bluez-alsa.mk
+++ b/package/bluez-alsa/bluez-alsa.mk
@@ -4,7 +4,7 @@
#
################################################################################
-BLUEZ_ALSA_VERSION = 4.1.1
+BLUEZ_ALSA_VERSION = 4.3.1
BLUEZ_ALSA_SITE = $(call github,Arkq,bluez-alsa,v$(BLUEZ_ALSA_VERSION))
BLUEZ_ALSA_LICENSE = MIT
BLUEZ_ALSA_LICENSE_FILES = LICENSE
@@ -16,6 +16,7 @@ BLUEZ_ALSA_AUTORECONF = YES
BLUEZ_ALSA_CONF_OPTS = \
--enable-a2dpconf \
--enable-aplay \
+ --enable-cli \
--disable-debug-time \
--with-alsaplugindir=/usr/lib/alsa-lib \
--with-alsaconfdir=/etc/alsa/conf.d
@@ -73,6 +74,12 @@ else
BLUEZ_ALSA_CONF_OPTS += --disable-rfcomm
endif
+ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI),y)
+BLUEZ_ALSA_CONF_OPTS += --enable-midi
+else
+BLUEZ_ALSA_CONF_OPTS += --disable-midi
+endif
+
ifeq ($(BR2_PACKAGE_LIBOPENAPTX),y)
BLUEZ_ALSA_DEPENDENCIES += libopenaptx
BLUEZ_ALSA_CONF_OPTS += --with-libopenaptx --enable-aptx --enable-aptx-hd
@@ -80,4 +87,25 @@ else
BLUEZ_ALSA_CONF_OPTS += --without-libopenaptx --disable-aptx --disable-aptx-hd
endif
+ifeq ($(BR2_PACKAGE_OPUS),y)
+BLUEZ_ALSA_DEPENDENCIES += opus
+BLUEZ_ALSA_CONF_OPTS += --enable-opus
+else
+BLUEZ_ALSA_CONF_OPTS += --disable-opus
+endif
+
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+BLUEZ_ALSA_DEPENDENCIES += systemd
+BLUEZ_ALSA_CONF_OPTS += --enable-systemd
+else
+BLUEZ_ALSA_CONF_OPTS += --disable-systemd
+endif
+
+ifeq ($(BR2_PACKAGE_SPANDSP),y)
+BLUEZ_ALSA_DEPENDENCIES += spandsp
+BLUEZ_ALSA_CONF_OPTS += --enable-msbc
+else
+BLUEZ_ALSA_CONF_OPTS += --disable-msbc
+endif
+
$(eval $(autotools-package))
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread