From 5b973445226378b45052e039ef218868211cd467 Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 24 Jun 2021 20:52:52 +0200 Subject: [PATCH] bluez-alsa: only depend on ldacBT on little endian --- srcpkgs/bluez-alsa/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template index b01f8fe180d..dd88e535601 100644 --- a/srcpkgs/bluez-alsa/template +++ b/srcpkgs/bluez-alsa/template @@ -3,10 +3,10 @@ pkgname=bluez-alsa version=3.1.0 revision=1 build_style=gnu-configure -configure_args="--enable-aac --enable-aptx --with-libopenaptx --enable-ldac +configure_args="--enable-aac --enable-aptx --with-libopenaptx --enable-manpages --disable-debug --disable-hcitop" hostmakedepends="pkg-config automake libtool python3-docutils" -makedepends="alsa-lib-devel fdk-aac-devel ldacBT-devel libbluetooth-devel +makedepends="alsa-lib-devel fdk-aac-devel libbluetooth-devel libglib-devel libopenaptx-devel ortp-devel sbc-devel" short_desc="Bluetooth Audio ALSA Backend" maintainer="Toyam Cox " @@ -20,6 +20,11 @@ _bluez_alsa_groups="audio" CFLAGS="-fcommon" +if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then + makedepends+=" ldacBT-devel" + configure_args+=" --enable-ldac" +fi + pre_configure() { autoreconf -fi }