bluez-alsa: only depend on ldacBT on little endian

This commit is contained in:
q66 2021-06-24 20:52:52 +02:00
parent 5f87475217
commit 5b97344522

View file

@ -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 <Vaelatern@voidlinux.org>"
@ -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
}