39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'bluez-alsa'
|
|
pkgname=bluez-alsa
|
|
version=3.1.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
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 libbluetooth-devel
|
|
libglib-devel libopenaptx-devel sbc-devel"
|
|
short_desc="Bluetooth Audio ALSA Backend"
|
|
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/Arkq/bluez-alsa"
|
|
changelog="https://raw.githubusercontent.com/Arkq/bluez-alsa/master/NEWS"
|
|
distfiles="https://github.com/Arkq/bluez-alsa/archive/v${version}.tar.gz"
|
|
checksum=d9a878d9fd7f18842c9c8ed83bc96cab684753c90f2751d575a3cdd776ec78a5
|
|
system_accounts="_bluez_alsa"
|
|
_bluez_alsa_groups="audio"
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
|
|
makedepends+=" ldacBT-devel"
|
|
configure_args+=" --enable-ldac"
|
|
fi
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vsed -i ${DESTDIR}/etc/dbus-1/system.d/bluealsa.conf \
|
|
-e 's:user="root":user="_bluez_alsa":'
|
|
|
|
vlicense LICENSE
|
|
vsv bluez-alsa
|
|
}
|