void-packages/srcpkgs/bluez-alsa/template

29 lines
820 B
Bash

# Template file for 'bluez-alsa'
pkgname=bluez-alsa
version=1.4.0
revision=1
build_style=gnu-configure
configure_args="--enable-aac --disable-hcitop --enable-debug"
hostmakedepends="pkg-config automake libtool"
makedepends="alsa-lib-devel fdk-aac-devel libbluetooth-devel libglib-devel
ortp-devel sbc-devel"
short_desc="Bluetooth Audio ALSA Backend"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="MIT"
homepage="https://github.com/Arkq/bluez-alsa"
distfiles="https://github.com/Arkq/bluez-alsa/archive/v${version}.tar.gz"
checksum=6287ae6135795a78470068ef9d9ea660d556cefc409905bd9211fda04d1e1f8e
system_accounts="_bluez_alsa"
_bluez_alsa_groups="audio"
pre_configure() {
autoreconf -fi
}
post_install() {
vinstall ${FILESDIR}/bluez_alsa.conf 644 etc/dbus-1/system.d/
vlicense LICENSE
vsv bluez-alsa
}