[gnome-sound-recorder/ebassi/build-back-better: 2/5] build: Replace deprecated dep.get_pkgconfig_variable()




commit ca3369c2bbb0def86d09985b251700fdb57e9e9a
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Aug 15 17:09:34 2022 +0100

    build: Replace deprecated dep.get_pkgconfig_variable()
    
    Use get_variable(pkgconfig: ...).

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index e83de03..e924a77 100644
--- a/meson.build
+++ b/meson.build
@@ -32,7 +32,7 @@ sound_recorder_pkgdatadir = sound_recorder_datadir / application_id
 sound_recorder_schemadir = sound_recorder_datadir / 'glib-2.0' / 'schemas'
 
 gjs_dep = dependency('gjs-1.0', version: '>= 1.54.0')
-gjs_console = gjs_dep.get_pkgconfig_variable('gjs_console')
+gjs_console = gjs_dep.get_variable(pkgconfig: 'gjs_console')
 
 # Lets check whether the dependencies exist
 dependency('gio-2.0', version: '>= 2.43.4')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]