Merge pull request #1271 from thypon/pulseaudiofix

pulseaudio: add systemwide service.
This commit is contained in:
Juan RP 2015-04-10 12:11:11 +02:00
commit 2d7c91283d
2 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec pulseaudio --system

View file

@ -1,7 +1,7 @@
# Template file for 'pulseaudio'
pkgname=pulseaudio
version=6.0
revision=3
revision=4
# Package build options
build_options="systemd"
build_style=gnu-configure
@ -28,6 +28,10 @@ short_desc="A featureful, general-purpose sound server"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.freedesktop.org/wiki/Software/PulseAudio"
license="LGPL-2"
system_groups="pulse-access"
system_accounts="pulse"
pulse_groups="audio"
pulse_homedir="/var/run/pulse"
distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.xz"
checksum=b50640e0b80b1607600accfad2e45aabb79d379bf6354c9671efa2065477f6f6
@ -41,7 +45,7 @@ post_install() {
vmkdir usr/share/bash-completion/completions
mv ${DESTDIR}/etc/bash_completion.d/* \
${DESTDIR}/usr/share/bash-completion/completions
vsv pulseaudio
}
libpulseaudio_package() {