forked from mirrors/nixpkgs
aca97840da
This release replaces the libpulseaudio shim with a pipewire module that acts as a fake pulseaudio server along with a systemd service that loads that module on demand.
25 lines
1 KiB
Diff
25 lines
1 KiB
Diff
diff --git a/meson_options.txt b/meson_options.txt
|
|
index 4b9e46b8..9d73ed06 100644
|
|
--- a/meson_options.txt
|
|
+++ b/meson_options.txt
|
|
@@ -147,3 +147,6 @@ option('pw-cat',
|
|
option('udevrulesdir',
|
|
type : 'string',
|
|
description : 'Directory for udev rules (defaults to /lib/udev/rules.d)')
|
|
+option('pipewire_pulse_prefix',
|
|
+ type : 'string',
|
|
+ description : 'Install directory for the pipewire-pulse daemon')
|
|
diff --git a/src/daemon/systemd/user/meson.build b/src/daemon/systemd/user/meson.build
|
|
index 29fc93d4..f78946f2 100644
|
|
--- a/src/daemon/systemd/user/meson.build
|
|
+++ b/src/daemon/systemd/user/meson.build
|
|
@@ -6,7 +6,7 @@ install_data(
|
|
|
|
systemd_config = configuration_data()
|
|
systemd_config.set('PW_BINARY', join_paths(pipewire_bindir, 'pipewire'))
|
|
-systemd_config.set('PW_PULSE_BINARY', join_paths(pipewire_bindir, 'pipewire-pulse'))
|
|
+systemd_config.set('PW_PULSE_BINARY', join_paths(get_option('pipewire_pulse_prefix'), 'bin/pipewire-pulse'))
|
|
|
|
configure_file(input : 'pipewire.service.in',
|
|
output : 'pipewire.service',
|