void-packages/srcpkgs/bluez-alsa/template
amak 0a44fee912 bluez-alsa: disable debug
Prints messages while playing media and can screw up terminal applications.
2021-05-12 09:50:27 -03:00

41 lines
1.1 KiB
Bash

# Template file for 'bluez-alsa'
pkgname=bluez-alsa
version=3.0.0
revision=3
build_style=gnu-configure
configure_args="--enable-aac --disable-hcitop --disable-debug
$(vopt_if man --enable-manpages)"
hostmakedepends="pkg-config automake libtool $(vopt_if man pandoc)"
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=8b9bc36be922c10c6628ddf84b13dfadfeb3ab0bcf72bad842c66f3120abc6b2
system_accounts="_bluez_alsa"
_bluez_alsa_groups="audio"
CFLAGS="-fcommon"
build_options="man"
desc_option_man="Use pandoc to build manpages"
case "$XBPS_MACHINE" in
x86_64*|i686|ppc64le*) build_options_default="man";;
*) ;;
esac
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
}