2020-08-05 18:48:37 +00:00
|
|
|
diff --git a/meson.build b/meson.build
|
2022-02-17 15:39:31 +00:00
|
|
|
index 2107c19ec..20ccdfd9f 100644
|
2020-08-05 18:48:37 +00:00
|
|
|
--- a/meson.build
|
|
|
|
+++ b/meson.build
|
2022-02-17 15:39:31 +00:00
|
|
|
@@ -380,8 +380,8 @@ lilv_lib = dependency('lilv-0', required: get_option('lv2'))
|
|
|
|
summary({'lilv (for lv2 plugins)': lilv_lib.found()}, bool_yn: true)
|
|
|
|
cdata.set('HAVE_LILV', lilv_lib.found())
|
2021-04-27 07:46:08 +00:00
|
|
|
|
|
|
|
-installed_tests_metadir = pipewire_datadir / 'installed-tests' / pipewire_name
|
|
|
|
-installed_tests_execdir = pipewire_libexecdir / 'installed-tests' / pipewire_name
|
|
|
|
+installed_tests_metadir = get_option('installed_test_prefix') / 'share' / 'installed-tests' / pipewire_name
|
|
|
|
+installed_tests_execdir = get_option('installed_test_prefix') / 'libexec' / 'installed-tests' / pipewire_name
|
2022-02-17 15:39:31 +00:00
|
|
|
installed_tests_enabled = get_option('installed_tests').allowed()
|
2020-08-05 18:48:37 +00:00
|
|
|
installed_tests_template = files('template.test.in')
|
2021-04-27 07:46:08 +00:00
|
|
|
|
2020-10-23 17:40:59 +00:00
|
|
|
diff --git a/meson_options.txt b/meson_options.txt
|
2022-02-17 15:39:31 +00:00
|
|
|
index 961ae2a76..a36e9e45f 100644
|
2020-10-23 17:40:59 +00:00
|
|
|
--- a/meson_options.txt
|
|
|
|
+++ b/meson_options.txt
|
2022-02-17 15:39:31 +00:00
|
|
|
@@ -22,6 +22,9 @@ option('installed_tests',
|
2020-10-23 17:40:59 +00:00
|
|
|
description: 'Install manual and automated test executables',
|
2021-03-14 23:38:20 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'disabled')
|
2020-10-23 17:40:59 +00:00
|
|
|
+option('installed_test_prefix',
|
|
|
|
+ description: 'Prefix for installed tests',
|
|
|
|
+ type: 'string')
|
|
|
|
option('gstreamer',
|
|
|
|
description: 'Build GStreamer plugins',
|
2021-03-14 23:38:20 +00:00
|
|
|
type: 'feature',
|