2020-11-30 08:33:03 +00:00
|
|
|
diff --git a/meson_options.txt b/meson_options.txt
|
2021-03-09 03:18:52 +00:00
|
|
|
index ce364d93..a6c8af72 100644
|
2020-11-30 08:33:03 +00:00
|
|
|
--- a/meson_options.txt
|
|
|
|
+++ b/meson_options.txt
|
2021-03-09 03:18:52 +00:00
|
|
|
@@ -152,6 +152,9 @@ option('udev',
|
2020-11-30 08:33:03 +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-09 03:18:52 +00:00
|
|
|
+ description: 'Install directory for the pipewire-pulse daemon')
|
2021-02-17 17:02:09 +00:00
|
|
|
option('systemd-user-unit-dir',
|
|
|
|
type : 'string',
|
|
|
|
description : 'Directory for user systemd units (defaults to /usr/lib/systemd/user)')
|
2020-11-30 08:33:03 +00:00
|
|
|
diff --git a/src/daemon/systemd/user/meson.build b/src/daemon/systemd/user/meson.build
|
2021-03-09 03:18:52 +00:00
|
|
|
index 0a5e5042..4a70b0b0 100644
|
2020-11-30 08:33:03 +00:00
|
|
|
--- a/src/daemon/systemd/user/meson.build
|
|
|
|
+++ b/src/daemon/systemd/user/meson.build
|
2021-02-17 17:02:09 +00:00
|
|
|
@@ -9,7 +9,7 @@ install_data(
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
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'))
|
2021-03-09 03:18:52 +00:00
|
|
|
systemd_config.set('PW_MEDIA_SESSION_BINARY', join_paths(pipewire_bindir, 'pipewire-media-session'))
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
configure_file(input : 'pipewire.service.in',
|