*/meson.build: Fix warnings about features deprecated since Meson 0.56

1.0.0 is currently set as the minimum required version of Meson.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/681>
This commit is contained in:
MoonlightWave-12
2024-09-24 14:32:54 +02:00
parent 5dee848875
commit 985e0c976a
4 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
gnome = import('gnome')
dbus_src = gnome.gdbus_codegen(
'sm.puri.OSK0',
join_paths(meson.source_root() / 'data' / 'dbus', 'sm.puri.OSK0.xml')
join_paths(meson.project_source_root() / 'data' / 'dbus', 'sm.puri.OSK0.xml')
)
config_h = configure_file(
@ -83,7 +83,7 @@ test(
'rstest',
cargo_script,
args: ['test'] + cargo_build_flags,
env: ['SOURCE_DIR=' + meson.source_root()],
env: ['SOURCE_DIR=' + meson.project_source_root()],
# This is a whole Cargo-based test suite, let it run for a while
timeout: 900,
depends: [build_rstests],