--- a/meson.build Tue Mar 15 01:23:30 2022 -0500
+++ b/meson.build Mon Apr 18 21:43:02 2022 -0500
@@ -4,7 +4,7 @@
license : 'LGPL-2.0-or-later',
- meson_version : '>=0.56.0',
+ meson_version : '>=0.61.0', default_options : ['c_std=c99', 'warning_level=2'])
parts = meson.project_version().split('-')
@@ -54,17 +54,15 @@
###############################################################################
-if meson.version().version_compare('>=0.58.0')
- config_home = get_option('devenv-config-dir')
+config_home = get_option('devenv-config-dir')
- config_home = meson.project_build_root() / 'config'
+ config_home = meson.project_build_root() / 'config' - devenv.set('XDG_CONFIG_HOME', config_home)
+devenv.set('XDG_CONFIG_HOME', config_home) - meson.add_devenv(devenv)
+meson.add_devenv(devenv) ###############################################################################
--- a/perl5/meson.build Tue Mar 15 01:23:30 2022 -0500
+++ b/perl5/meson.build Mon Apr 18 21:43:02 2022 -0500
@@ -23,7 +23,7 @@
# make sure we have the perl library as well.
if host_machine.system() != 'freebsd'
- INC = run_command(PERL, '-e print join("/CORE ",grep(/^\\//,@INC))."/CORE"')
+ INC = run_command(PERL, '-e print join("/CORE ",grep(/^\\//,@INC))."/CORE"', check : true) LIBPERL = compiler.find_library('libperl', dirs: INC.stdout().strip().split(' '))
--- a/vala/meson.build Tue Mar 15 01:23:30 2022 -0500
+++ b/vala/meson.build Mon Apr 18 21:43:02 2022 -0500
@@ -11,7 +11,7 @@
- gplugin_gtk_vapi = gnome.generate_vapi('gplugin-gtk3',
+ gplugin_gtk3_vapi = gnome.generate_vapi('gplugin-gtk3', sources : gplugin_gtk3_gir[0],
packages : [ 'gtk+-3.0' ],
@@ -19,5 +19,14 @@
+ if get_option('gtk4').allowed() + gplugin_gtk4_vapi = gnome.generate_vapi('gplugin-gtk4', + sources : gplugin_gtk4_gir[0], + gir_dirs : meson.current_build_dir() / '..' / 'gplugin',