[gnome-desktop/ebassi/update-for-gtk4: 6/17] build: Use non-deprecated methods
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop/ebassi/update-for-gtk4: 6/17] build: Use non-deprecated methods
- Date: Thu, 4 Nov 2021 17:55:53 +0000 (UTC)
commit 8d545ec95f5b661a1753ea524bfc96ddc9fe125b
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Oct 26 17:53:34 2021 +0100
build: Use non-deprecated methods
The get_pkgconfig_variable() method on the Dependency object was
replaced by a generic get_variable() method.
meson.build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 31b323ab..1b235169 100644
--- a/meson.build
+++ b/meson.build
@@ -65,10 +65,10 @@ if supported_os.contains(host_os) and not unsupported_cpus.contains(host_cpu)
else
seccomp_dep = dependency('', required: false)
endif
-fontconfig_cache_path = fontconfig_dep.get_pkgconfig_variable('cachedir')
-xkb_base = xkb_config_dep.get_pkgconfig_variable('xkb_base')
-iso_codes_prefix = iso_codes_dep.get_pkgconfig_variable('prefix')
+fontconfig_cache_path = fontconfig_dep.get_variable(pkgconfig: 'cachedir')
+xkb_base = xkb_config_dep.get_variable(pkgconfig: 'xkb_base')
+iso_codes_prefix = iso_codes_dep.get_variable(pkgconfig: 'prefix')
cc = meson.get_compiler('c')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]