pulseaudio: move system services to /usr/share/examples/PKGNAME/sv/
also fix a couple things in the template
This commit is contained in:
parent
b6fffbbb7d
commit
07e06c7f8b
|
@ -1,6 +1,6 @@
|
|||
The system service `/etc/sv/pulseaudio` provided by the pulseaudio package is
|
||||
only needed in rare cases and should be avoided in most setups for performance
|
||||
and security reasons.
|
||||
The example system service `/usr/share/examples/pulseaudio/sv/pulseaudio`
|
||||
provided by the pulseaudio package is only needed in rare cases and should be
|
||||
avoided in most setups for performance and security reasons.
|
||||
|
||||
Optional dependencies:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'pulseaudio'
|
||||
pkgname=pulseaudio
|
||||
version=15.0
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=meson
|
||||
configure_args="-Djack=enabled -Dlirc=disabled -Dhal-compat=false -Dorc=enabled
|
||||
-Dgtk=disabled -Dsystemd=disabled -Dwebrtc-aec=enabled
|
||||
|
@ -26,7 +26,7 @@ distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.xz"
|
|||
checksum=a40b887a3ba98cc26976eb11bdb6613988f145b19024d1b6555c6a03c9cba1a0
|
||||
python_version=3
|
||||
# FIXME: core-util-test fails
|
||||
make_check=yes
|
||||
make_check=no
|
||||
|
||||
system_groups="pulse-access"
|
||||
system_accounts="pulse"
|
||||
|
@ -44,16 +44,10 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
arm*) configure_args+=" -Db_lto=false"
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
# Disable neon optimizations for the arm* architectures
|
||||
arm*) vsed -e '/ neon/d' -i src/pulsecore/meson.build ;;
|
||||
esac
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm ${DESTDIR}/etc/dbus-1/system.d/pulseaudio-system.conf
|
||||
vsv pulseaudio
|
||||
vmkdir usr/share/examples/pulseaudio/sv/
|
||||
vcopy ${FILESDIR}/pulseaudio usr/share/examples/pulseaudio/sv/
|
||||
vdoc $FILESDIR/README.voidlinux
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue