[Buildroot] [git commit] package/bluez-alsa: add support for aptX / aptX HD

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Dec 18 09:38:20 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=3ba8e88e396f216ac8486580b8817aac92ae93b2
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This adds support for aptX (HD) decoder / encoder powered by the
libopenaptx library.

Signed-off-by: Yunhao Tian <t123yh.xyz at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/bluez-alsa/bluez-alsa.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/bluez-alsa/bluez-alsa.mk b/package/bluez-alsa/bluez-alsa.mk
index f81720f767..a1e550ab6c 100644
--- a/package/bluez-alsa/bluez-alsa.mk
+++ b/package/bluez-alsa/bluez-alsa.mk
@@ -69,4 +69,12 @@ else
 BLUEZ_ALSA_CONF_OPTS += --disable-rfcomm
 endif
 
+ifeq ($(BR2_PACKAGE_LIBOPENAPTX),y)
+BLUEZ_ALSA_DEPENDENCIES += libopenaptx
+BLUEZ_ALSA_CONF_OPTS += --with-libopenaptx --enable-aptx --enable-aptx-hd
+else
+BLUEZ_ALSA_CONF_OPTS += --without-libopenaptx --disable-aptx --disable-aptx-hd
+endif
+
+
 $(eval $(autotools-package))



More information about the buildroot mailing list