From ae84ebd96524524aa214ea9fa1bbc5548b4eb8f8 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 4 Feb 2022 13:33:01 +1000 Subject: [PATCH] meson.build: use dep.get_variable() instead of the deprecated one NOTICE: Future-deprecated features used: * 0.56.0: {'Dependency.get_pkgconfig_variable'} Signed-off-by: Peter Hutterer --- meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index dcf602c8..8239a807 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ project('xf86-input-wacom', 'c', version : '0.99.1', # bump version in configure.ac license : 'MIT/Expat', default_options : [ 'c_std=gnu99', 'warning_level=2' ], - meson_version : '>= 0.50.0') + meson_version : '>= 0.51.0') wacom_version = meson.project_version().split('.') @@ -62,12 +62,12 @@ dep_m = cc.find_library('m') dir_wacom_headers = get_option('sdkdir') if dir_wacom_headers == '' - dir_wacom_headers = dep_xserver.get_pkgconfig_variable('sdkdir') + dir_wacom_headers = dep_xserver.get_variable(pkgconfig: 'sdkdir') endif dir_xorg_modules = get_option('xorg-module-dir') if dir_xorg_modules == '' - dir_xorg_modules = dep_xserver.get_pkgconfig_variable('moduledir') / 'input' + dir_xorg_modules = dep_xserver.get_variable(pkgconfig: 'moduledir') / 'input' endif dir_xorg_conf = get_option('xorg-conf-dir')