24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
diff --git a/meson_options.txt b/meson_options.txt
|
|
index 93b5e2a9..1b915ac3 100644
|
|
--- a/meson_options.txt
|
|
+++ b/meson_options.txt
|
|
@@ -200,3 +200,6 @@ option('media-session',
|
|
type: 'feature',
|
|
value: 'auto')
|
|
+option('media-session-prefix',
|
|
+ description: 'Install directory for pipewire-media-session and its support files',
|
|
+ type: 'string')
|
|
option('session-managers',
|
|
diff --git a/src/daemon/systemd/user/meson.build b/src/daemon/systemd/user/meson.build
|
|
index 1edebb2d..251270eb 100644
|
|
--- a/src/daemon/systemd/user/meson.build
|
|
+++ b/src/daemon/systemd/user/meson.build
|
|
@@ -10,7 +10,7 @@ install_data(
|
|
systemd_config = configuration_data()
|
|
systemd_config.set('PW_BINARY', pipewire_bindir / 'pipewire')
|
|
systemd_config.set('PW_PULSE_BINARY', get_option('pipewire_pulse_prefix') / 'bin/pipewire-pulse')
|
|
-systemd_config.set('PW_MEDIA_SESSION_BINARY', pipewire_bindir / 'pipewire-media-session')
|
|
+systemd_config.set('PW_MEDIA_SESSION_BINARY', get_option('media-session-prefix') / 'bin/pipewire-media-session')
|
|
|
|
configure_file(input : 'pipewire.service.in',
|
|
output : 'pipewire.service',
|