pipewire/src
Jarkko Sakkinen ec9dfe72ff systemd: Add systemd-user-unit-dir override
Add a new build option 'system-user-unit=dir', which can be used to
override the pkg-config default value.

By doing this, it becomes more practical to make a local unprivileged
build of the latest PipeWire:

$ meson --prefix=~/.local build
$ meson configure build -Dpipewire-alsa=false
$ meson configure build -Dsystemd-user-unit-dir=~/.config/systemd/user
$ meson configure build -Dudevrulesdir="`mktemp -d`"
$ ninja -C build install

For a local build enabling ALSA plugins is not plausible.

JACK needs a simple addition to the ~/.profile:

export LD_LIBRARY_PATH=$HOME/.local/lib/x86_64-linux-gnu/pipewire-0.3/jack

Finally, the genuine PulseAudio must be masked and local services
enabled:

systemctl --user enable pipewire.socket
systemctl --user enable pipewire-pulse.socket
systemctl --user mask pulseaudio.service

A sanity check [*] shows that nothing has leaked out of the home
directory (even though at least on my Debian 10 system PolKit still
asks for authorization during the meson build).

Not perfect, but lowers a barrier to run the development version a lot,
as that does not anymore to trash your system.

[*]  find / -name "*pipewire*" \! -path "/home/*"  \! -path "/var/lib/flatpak/*" 2> /dev/null

Signed-off-by: Jarkko Sakkinen <jarkko@suppilovahvero.lan>
2021-01-09 12:11:22 +01:00
..
daemon systemd: Add systemd-user-unit-dir override 2021-01-09 12:11:22 +01:00
examples media-session: handle device events 2021-01-07 17:30:10 +01:00
extensions Run codespell on the entire codebase 2020-08-17 17:16:31 +00:00
gst gst: set node.name and node.description based on client-name property 2020-12-26 10:11:42 +01:00
modules pulse-server: use rate match to read from ringbuffer 2021-01-08 17:22:15 +01:00
pipewire stream: notify about port IO areas as well 2021-01-08 16:52:42 +01:00
tests json: handle incomplete strings 2020-12-31 17:16:32 +01:00
tools pw-cat: use none as default latency for record 2021-01-08 16:30:57 +01:00
.gitignore move things around 2017-07-11 16:08:22 +02:00
meson.build meson: add tests option 2020-02-23 00:09:16 +01:00