pipewire: move system service to /usr/share/examples/PKGNAME/sv/
remove pipewire-pulse service. this should be launched by pipewire config if desired
This commit is contained in:
parent
5655844ff5
commit
abc072b678
|
@ -8,6 +8,9 @@ Optional dependencies:
|
|||
* `libspa-v4l2` for video camera support
|
||||
* `rtkit` for realtime priority acquisition
|
||||
|
||||
The system services /etc/sv/pipewire and /etc/sv/pipewire-pulse are
|
||||
experimental and only needed in rare cases so using them should be
|
||||
avoided in most setups.
|
||||
The example system service /usr/share/examples/pipewire/sv/pipewire is
|
||||
experimental and only needed in rare cases, so using it should be avoided
|
||||
in most setups. To use it, pipewire needs to be configured to launch
|
||||
pipewire-pulse and wireplumber as documented at
|
||||
|
||||
https://docs.voidlinux.org/config/media/pipewire.html
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
# this service is experimental and most setups should start pipewire as a user,
|
||||
# for further information, please refer to the handbook
|
||||
! [ -d /run/pulse ] && install -m 755 -g _pipewire -o _pipewire -d /run/pulse
|
||||
umask 002
|
||||
export PULSE_RUNTIME_PATH=/run/pulse
|
||||
exec chpst -u _pipewire:_pipewire pipewire-pulse
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
[ -r supervise/pid ] && kill -TERM -$(cat supervise/pid)
|
|
@ -6,4 +6,4 @@ exec 2>&1
|
|||
umask 002
|
||||
export PIPEWIRE_RUNTIME_DIR=/run/pipewire
|
||||
export XDG_STATE_HOME=/var/lib
|
||||
exec chpst -u _pipewire:_pipewire:audio:video pipewire
|
||||
exec chpst -P -u _pipewire:_pipewire:audio:video dbus-run-session pipewire
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'pipewire'
|
||||
pkgname=pipewire
|
||||
version=0.3.71
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=meson
|
||||
configure_args="
|
||||
--auto-features=enabled
|
||||
|
@ -56,8 +56,8 @@ fi
|
|||
post_install() {
|
||||
vlicense LICENSE
|
||||
vdoc "${FILESDIR}/README.voidlinux"
|
||||
vsv pipewire
|
||||
vsv pipewire-pulse
|
||||
vmkdir usr/share/examples/sv
|
||||
vcopy ${FILESDIR}/pipewire usr/share/examples/sv/
|
||||
vinstall "${FILESDIR}/pipewire.desktop" 644 usr/share/applications
|
||||
vinstall "${FILESDIR}/pipewire-pulse.desktop" 644 usr/share/applications
|
||||
vsconf "${FILESDIR}/20-pipewire-pulse.conf"
|
||||
|
|
Loading…
Reference in New Issue