2020-11-29 18:19:59 +00:00
|
|
|
diff --git a/meson.build b/meson.build
|
2021-06-02 00:16:43 +00:00
|
|
|
index b6b4553b..f21c29d8 100644
|
2020-11-29 18:19:59 +00:00
|
|
|
--- a/meson.build
|
|
|
|
+++ b/meson.build
|
2021-06-02 00:16:43 +00:00
|
|
|
@@ -37,7 +37,10 @@ pipewire_localedir = prefix / get_option('localedir')
|
2021-04-27 07:46:08 +00:00
|
|
|
pipewire_sysconfdir = prefix / get_option('sysconfdir')
|
2020-11-29 18:19:59 +00:00
|
|
|
|
2021-06-02 00:16:43 +00:00
|
|
|
pipewire_configdir = pipewire_sysconfdir / 'pipewire'
|
|
|
|
-pipewire_confdatadir = pipewire_datadir / 'pipewire'
|
|
|
|
+pipewire_confdatadir = get_option('pipewire_confdata_dir')
|
|
|
|
+if pipewire_confdatadir == ''
|
|
|
|
+ pipewire_confdatadir = pipewire_datadir / 'pipewire'
|
2020-11-29 18:19:59 +00:00
|
|
|
+endif
|
2021-04-27 07:46:08 +00:00
|
|
|
modules_install_dir = pipewire_libdir / pipewire_name
|
2020-11-29 18:19:59 +00:00
|
|
|
|
|
|
|
if host_machine.system() == 'linux'
|
|
|
|
diff --git a/meson_options.txt b/meson_options.txt
|
2021-06-02 00:16:43 +00:00
|
|
|
index 9bc33fcd..e4bd2dc1 100644
|
2020-11-29 18:19:59 +00:00
|
|
|
--- a/meson_options.txt
|
|
|
|
+++ b/meson_options.txt
|
2021-06-02 00:16:43 +00:00
|
|
|
@@ -61,6 +61,9 @@ option('jack-devel',
|
2021-04-27 07:46:08 +00:00
|
|
|
option('libjack-path',
|
|
|
|
description: 'Where to install the libjack.so library',
|
2020-11-29 18:19:59 +00:00
|
|
|
type: 'string')
|
2021-06-02 00:16:43 +00:00
|
|
|
+option('pipewire_confdata_dir',
|
|
|
|
+ type: 'string',
|
|
|
|
+ description: 'Directory for pipewire default configuration (defaults to /usr/share/pipewire)')
|
2020-11-29 18:19:59 +00:00
|
|
|
option('spa-plugins',
|
|
|
|
description: 'Enable spa plugins integration',
|
2021-04-27 07:46:08 +00:00
|
|
|
type: 'feature',
|