python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / pipewire / 0050-pipewire-pulse-path.patch
blob230f1b30394a5184b79807a80c8ced465508e68f
1 diff --git a/meson_options.txt b/meson_options.txt
2 index 961ae2a76..692b84dfd 100644
3 --- a/meson_options.txt
4 +++ b/meson_options.txt
5 @@ -179,6 +179,9 @@ option('udev',
6 option('udevrulesdir',
7 type : 'string',
8 description : 'Directory for udev rules (defaults to /lib/udev/rules.d)')
9 +option('pipewire_pulse_prefix',
10 + type : 'string',
11 + description: 'Install directory for the pipewire-pulse daemon')
12 option('systemd-system-unit-dir',
13 type : 'string',
14 description : 'Directory for system systemd units (defaults to /usr/lib/systemd/system)')
15 diff --git a/src/daemon/systemd/user/meson.build b/src/daemon/systemd/user/meson.build
16 index d17f3794f..34afe4f1a 100644
17 --- a/src/daemon/systemd/user/meson.build
18 +++ b/src/daemon/systemd/user/meson.build
19 @@ -9,7 +9,7 @@ install_data(
21 systemd_config = configuration_data()
22 systemd_config.set('PW_BINARY', pipewire_bindir / 'pipewire')
23 -systemd_config.set('PW_PULSE_BINARY', pipewire_bindir / 'pipewire-pulse')
24 +systemd_config.set('PW_PULSE_BINARY', get_option('pipewire_pulse_prefix') / 'bin/pipewire-pulse')
26 configure_file(input : 'pipewire.service.in',
27 output : 'pipewire.service',