bluez-alsa: add support for conf files
resolves void-linux/void-packages#4196
This commit is contained in:
parent
4cd0942ece
commit
55df69d1b2
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
[ -r ./conf ] && . ./conf
|
||||||
|
|
||||||
dir=/var/run/bluealsa
|
dir=/var/run/bluealsa
|
||||||
user=_bluez_alsa
|
user=_bluez_alsa
|
||||||
group=audio
|
group=audio
|
||||||
|
|
||||||
[ ! -d "${dir}" ] && mkdir "${dir}" && chown $user:$group ${dir}
|
[ ! -d "${dir}" ] && mkdir "${dir}" && chown $user:$group ${dir}
|
||||||
exec chpst -u $user:$group bluealsa
|
exec chpst -u $user:$group bluealsa $OPTS
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'bluez-alsa'
|
# Template file for 'bluez-alsa'
|
||||||
pkgname=bluez-alsa
|
pkgname=bluez-alsa
|
||||||
version=1.3.1
|
version=1.3.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable--aac --disable-hcitop --enable-debug"
|
configure_args="--enable--aac --disable-hcitop --enable-debug"
|
||||||
hostmakedepends="pkg-config automake libtool"
|
hostmakedepends="pkg-config automake libtool"
|
||||||
|
|
Loading…
Reference in New Issue