Merge pull request #1271 from thypon/pulseaudiofix
pulseaudio: add systemwide service.
This commit is contained in:
commit
2d7c91283d
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec pulseaudio --system
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'pulseaudio'
|
# Template file for 'pulseaudio'
|
||||||
pkgname=pulseaudio
|
pkgname=pulseaudio
|
||||||
version=6.0
|
version=6.0
|
||||||
revision=3
|
revision=4
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -28,6 +28,10 @@ short_desc="A featureful, general-purpose sound server"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.freedesktop.org/wiki/Software/PulseAudio"
|
homepage="http://www.freedesktop.org/wiki/Software/PulseAudio"
|
||||||
license="LGPL-2"
|
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"
|
distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.xz"
|
||||||
checksum=b50640e0b80b1607600accfad2e45aabb79d379bf6354c9671efa2065477f6f6
|
checksum=b50640e0b80b1607600accfad2e45aabb79d379bf6354c9671efa2065477f6f6
|
||||||
|
|
||||||
|
@ -41,7 +45,7 @@ post_install() {
|
||||||
vmkdir usr/share/bash-completion/completions
|
vmkdir usr/share/bash-completion/completions
|
||||||
mv ${DESTDIR}/etc/bash_completion.d/* \
|
mv ${DESTDIR}/etc/bash_completion.d/* \
|
||||||
${DESTDIR}/usr/share/bash-completion/completions
|
${DESTDIR}/usr/share/bash-completion/completions
|
||||||
|
vsv pulseaudio
|
||||||
}
|
}
|
||||||
|
|
||||||
libpulseaudio_package() {
|
libpulseaudio_package() {
|
||||||
|
|
Loading…
Reference in New Issue