bluez-alsa: fix d-bus config file

This commit is contained in:
amak 2019-10-27 13:02:44 +11:00 committed by Juan RP
parent 150b8dcbb0
commit 351f6b9bb3
2 changed files with 3 additions and 9 deletions

View file

@ -1,7 +0,0 @@
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="_bluez_alsa">
<allow send_destination="org.bluez"/>
</policy>
</busconfig>

View file

@ -1,7 +1,7 @@
# Template file for 'bluez-alsa'
pkgname=bluez-alsa
version=2.0.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-aac --disable-hcitop --enable-debug"
hostmakedepends="pkg-config automake libtool"
@ -21,7 +21,8 @@ pre_configure() {
}
post_install() {
vinstall ${FILESDIR}/bluez_alsa.conf 644 etc/dbus-1/system.d/
vsed -i ${DESTDIR}/etc/dbus-1/system.d/bluealsa.conf \
-e 's:user="root":user="_bluez_alsa":'
vlicense LICENSE
vsv bluez-alsa