--- a/meson.build Sat Jan 15 20:04:44 2022 -0600
+++ b/meson.build Mon Aug 08 20:20:07 2022 -0500
@@ -28,7 +28,7 @@
license : 'GPL-2.0-or-later',
- meson_version : '>=0.56.0',
+ meson_version : '>=0.58.0', default_options : ['c_std=c99', 'warning_level=2'])
@@ -54,6 +54,8 @@
compiler = meson.get_compiler('c')
pkgconfig = import('pkgconfig')
# #######################################################################
# #######################################################################
@@ -316,3 +318,11 @@
+config_home = get_option('devenv-config-dir') + config_home = meson.global_build_root() / 'config' +devenv.set('XDG_CONFIG_HOME', config_home) +meson.add_devenv(devenv) --- a/meson_options.txt Sat Jan 15 20:04:44 2022 -0600
+++ b/meson_options.txt Mon Aug 08 20:20:07 2022 -0500
@@ -1,3 +1,6 @@
+option('devenv-config-dir', type : 'string', yield : true, + description : 'config directory for running a devenv (defaults to a subdirectory of buildroot)') option('doc', type : 'boolean', value : true, yield : true,
description : 'build documentation with gtk-doc')