bluez-alsa: add support for conf files

resolves void-linux/void-packages#4196
This commit is contained in:
maxice8 2018-10-27 09:29:10 -03:00 committed by maxice8
parent 4cd0942ece
commit 55df69d1b2
2 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,10 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
dir=/var/run/bluealsa
user=_bluez_alsa
group=audio
[ ! -d "${dir}" ] && mkdir "${dir}" && chown $user:$group ${dir}
exec chpst -u $user:$group bluealsa
exec chpst -u $user:$group bluealsa $OPTS

View File

@ -1,7 +1,7 @@
# Template file for 'bluez-alsa'
pkgname=bluez-alsa
version=1.3.1
revision=2
revision=3
build_style=gnu-configure
configure_args="--enable--aac --disable-hcitop --enable-debug"
hostmakedepends="pkg-config automake libtool"