3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/pipewire/0050-pipewire-pulse-path.patch

28 lines
1.2 KiB
Diff
Raw Normal View History

diff --git a/meson_options.txt b/meson_options.txt
index 71c2e35e9..a0f380c04 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -176,6 +176,9 @@ option('udev',
option('udevrulesdir',
type : 'string',
description : 'Directory for udev rules (defaults to /lib/udev/rules.d)')
+option('pipewire_pulse_prefix',
+ type : 'string',
2021-03-04 22:41:02 +00:00
+ description: 'Install directory for the pipewire-pulse daemon')
2021-01-23 17:54:09 +00:00
option('systemd-user-unit-dir',
type : 'string',
description : 'Directory for user systemd units (defaults to /usr/lib/systemd/user)')
diff --git a/src/daemon/systemd/user/meson.build b/src/daemon/systemd/user/meson.build
index 5bd134537..5a3ca9ed5 100644
--- a/src/daemon/systemd/user/meson.build
+++ b/src/daemon/systemd/user/meson.build
2021-01-23 17:54:09 +00:00
@@ -9,7 +9,7 @@ install_data(
systemd_config = configuration_data()
2021-04-27 08:46:08 +01:00
systemd_config.set('PW_BINARY', pipewire_bindir / 'pipewire')
-systemd_config.set('PW_PULSE_BINARY', pipewire_bindir / 'pipewire-pulse')
+systemd_config.set('PW_PULSE_BINARY', get_option('pipewire_pulse_prefix') / 'bin/pipewire-pulse')
configure_file(input : 'pipewire.service.in',
output : 'pipewire.service',