2020-11-22 02:42:02 +00:00
|
|
|
diff --git a/meson_options.txt b/meson_options.txt
|
2021-10-25 14:49:07 +01:00
|
|
|
index 71c2e35e9..a0f380c04 100644
|
2020-11-22 02:42:02 +00:00
|
|
|
--- a/meson_options.txt
|
|
|
|
+++ b/meson_options.txt
|
2021-10-25 14:49:07 +01:00
|
|
|
@@ -176,6 +176,9 @@ option('udev',
|
2020-11-22 02:42:02 +00:00
|
|
|
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)')
|
2020-11-22 02:42:02 +00:00
|
|
|
diff --git a/src/daemon/systemd/user/meson.build b/src/daemon/systemd/user/meson.build
|
2021-10-25 14:49:07 +01:00
|
|
|
index 5bd134537..5a3ca9ed5 100644
|
2020-11-22 02:42:02 +00:00
|
|
|
--- 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(
|
2020-11-22 02:42:02 +00:00
|
|
|
|
|
|
|
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')
|
2020-11-22 02:42:02 +00:00
|
|
|
|
|
|
|
configure_file(input : 'pipewire.service.in',
|
2021-10-25 14:49:07 +01:00
|
|
|
output : 'pipewire.service',
|