Skip to content

Commit 48a09cb

Browse files
authored
Meson: Fix deprecations (#1579)
* FuzzySearch: replace deprecated meson.source_root * Meson Options: fix deprecated bool is string
1 parent 056d78c commit 48a09cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

meson_options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
option ('plugins', type : 'boolean', value : true)
2-
option('have_pkexec', type : 'boolean', value : 'true', description : 'Allow launching with pkexec. Should not be used in FlatPak')
1+
option('plugins', type : 'boolean', value : true)
2+
option('have_pkexec', type : 'boolean', value : true, description : 'Allow launching with pkexec. Should not be used in FlatPak')
33
option('development', type : 'boolean', value : false, description : 'Build is a development branch')

plugins/fuzzy-search/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ custom_target(module_name + '.plugin_merge',
2929
'--desktop',
3030
'--keyword=Description',
3131
'--keyword=Name',
32-
'-d' + join_paths(meson.source_root (), 'po', 'plugins'),
32+
'-d' + join_paths(meson.project_source_root (), 'po', 'plugins'),
3333
'--template=@INPUT@',
3434
'-o@OUTPUT@',
3535
],

0 commit comments

Comments
 (0)