2020-12-07 07:45:13 +00:00
|
|
|
diff --git a/meson.build b/meson.build
|
2021-05-03 20:48:10 +00:00
|
|
|
index a27569bd..fcf18344 100644
|
2020-12-07 07:45:13 +00:00
|
|
|
--- a/meson.build
|
|
|
|
+++ b/meson.build
|
2021-05-03 20:48:10 +00:00
|
|
|
@@ -36,7 +36,10 @@ pipewire_libexecdir = prefix / get_option('libexecdir')
|
|
|
|
pipewire_localedir = prefix / get_option('localedir')
|
|
|
|
pipewire_sysconfdir = prefix / get_option('sysconfdir')
|
2020-12-07 07:45:13 +00:00
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
-pipewire_configdir = pipewire_sysconfdir / 'pipewire'
|
2020-12-07 07:45:13 +00:00
|
|
|
+pipewire_configdir = get_option('pipewire_config_dir')
|
|
|
|
+if pipewire_configdir == ''
|
2021-05-03 20:48:10 +00:00
|
|
|
+ pipewire_configdir = pipewire_sysconfdir / 'pipewire'
|
2020-12-07 07:45:13 +00:00
|
|
|
+endif
|
2021-05-03 20:48:10 +00:00
|
|
|
modules_install_dir = pipewire_libdir / pipewire_name
|
2020-12-07 07:45:13 +00:00
|
|
|
|
|
|
|
if host_machine.system() == 'linux'
|
|
|
|
diff --git a/meson_options.txt b/meson_options.txt
|
2021-05-03 20:48:10 +00:00
|
|
|
index 85beb86a..372e8faa 100644
|
2020-12-07 07:45:13 +00:00
|
|
|
--- a/meson_options.txt
|
|
|
|
+++ b/meson_options.txt
|
2021-05-03 20:48:10 +00:00
|
|
|
@@ -67,6 +67,9 @@ option('jack-devel',
|
|
|
|
option('libjack-path',
|
|
|
|
description: 'Where to install the libjack.so library',
|
2020-12-07 07:45:13 +00:00
|
|
|
type: 'string')
|
|
|
|
+option('pipewire_config_dir',
|
|
|
|
+ type : 'string',
|
|
|
|
+ description : 'Directory for pipewire configuration (defaults to /etc/pipewire)')
|
|
|
|
option('spa-plugins',
|
|
|
|
description: 'Enable spa plugins integration',
|
2021-05-03 20:48:10 +00:00
|
|
|
type: 'feature',
|