mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 04:30:06 +01:00
meson: replace a meson.source_root() with the explicit directory
Removes the warning that source_root() has been deprecated since 0.56.0 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f917661980
commit
423bb6455f
2 changed files with 2 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ if yq.found()
|
|||
foreach distro : distributions
|
||||
yq_filter = '.distributions[] | select(.name == "@0@") | .packages | join(" ")'.format(distro)
|
||||
deps = run_command(yq, '-r', yq_filter,
|
||||
meson.source_root() / '.gitlab-ci' / 'config.yml',
|
||||
dir_gitlab_ci / 'config.yml',
|
||||
check: true).stdout()
|
||||
dependencies_config.set('@0@_PACKAGES'.format(distro.to_upper()), deps)
|
||||
endforeach
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ dir_system_udev = get_option('prefix') / 'lib' / 'udev'
|
|||
dir_src_quirks = meson.current_source_dir() / 'quirks'
|
||||
dir_src_test = meson.current_source_dir() / 'test'
|
||||
dir_src = meson.current_source_dir() / 'src'
|
||||
dir_gitlab_ci = meson.current_source_dir() / '.gitlab-ci'
|
||||
|
||||
dir_udev = get_option('udev-dir')
|
||||
if dir_udev == ''
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue