build: Replace deprecated meson functions

Replace deprecated functions with their direct replacements:

 - dep.get_pkgconfig_variable() → dep.get_variable()
 - prg.path() → prg.full_path()
 - source/build_root() → project_source/build_root()

In one case we need meson.global_source_root() that was only
added in meson 0.58, so bump the requirement to that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2077>
This commit is contained in:
Florian Müllner 2021-12-23 02:40:22 +01:00 committed by Marge Bot
parent 0d3894c471
commit daf729de11
11 changed files with 21 additions and 21 deletions

View file

@ -1,6 +1,6 @@
project('shew', 'c',
version: '41.0',
meson_version: '>= 0.53.0',
meson_version: '>= 0.58.0',
license: 'LGPLv2+',
)