pulseaudio: add systemwide service

This commit is contained in:
Andrea Brancaleoni 2015-04-05 01:45:29 +02:00
parent 6c03915838
commit dfa45bc22f
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@gmail.com>"
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() {