From 840fd1d0e14b5d2e7292bdfc1cbc94e8e0a8b0ef Mon Sep 17 00:00:00 2001 From: Artturin Date: Fri, 27 Sep 2024 02:15:12 +0300 Subject: [PATCH] tests: install files required for `installed_tests` These are required to be in `XDG_DATA_DIR` when the installed tests are run --- tests/share/applications/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/share/applications/meson.build b/tests/share/applications/meson.build index bb87baa2a..46fe05fbf 100644 --- a/tests/share/applications/meson.build +++ b/tests/share/applications/meson.build @@ -1,3 +1,3 @@ -configure_file(input: 'furrfix.desktop', output: '@PLAINNAME@', copy: true) -configure_file(input: 'mimeinfo.cache', output: '@PLAINNAME@', copy: true) -configure_file(input: 'defaults.list', output: '@PLAINNAME@', copy: true) +configure_file(input: 'furrfix.desktop', output: '@PLAINNAME@', copy: true, install: enable_installed_tests, install_dir: installed_tests_data_dir / 'share' / 'applications') +configure_file(input: 'mimeinfo.cache', output: '@PLAINNAME@', copy: true, install: enable_installed_tests, install_dir: installed_tests_data_dir / 'share' / 'applications') +configure_file(input: 'defaults.list', output: '@PLAINNAME@', copy: true, install: enable_installed_tests, install_dir: installed_tests_data_dir / 'share' / 'applications')