package/bluez-alsa: bump version to 4.3.1

Add new optional dependencies on bluez midi support, opus, systemd and
spandsp.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Nicolas Cavallari
2024-09-04 14:42:46 +02:00
committed by Thomas Petazzoni
parent 32ceedbedc
commit 93dd24358e
2 changed files with 30 additions and 2 deletions

View File

@@ -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

View File

@@ -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))