[gnome-desktop/ebassi/update-for-gtk4: 5/7] 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: 5/7] build: Use non-deprecated methods
- Date: Tue, 26 Oct 2021 17:01:39 +0000 (UTC)
commit 6f8cd505cdbe2a40d0f8ec156201ffa29c95342c
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 95aaa72a..0c4d8d00 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]