talkatu/talkatu

803afd860d6f
Parents 9720b1c8fa3b
Children 8e74fa56576c
Add a devenv that setups up the glade catalog

Testing Done:
ran `meson devenv glade` and verified the catalog was loaded properly.

Reviewed at https://reviews.imfreedom.org/r/1045/
--- a/meson.build Mon Oct 11 21:22:46 2021 -0500
+++ b/meson.build Thu Oct 14 20:25:41 2021 -0500
@@ -26,6 +26,8 @@
LOCALE_DIR = get_option('prefix') / get_option('localedir')
add_project_arguments('-DLOCALEDIR="@0@"'.format(LOCALE_DIR), language : 'c')
+devenv = environment()
+
###############################################################################
# Dependencies
###############################################################################
@@ -104,6 +106,13 @@
subdir('vapi')
###############################################################################
+# devenv
+###############################################################################
+if meson.version().version_compare('>=0.58.0')
+ meson.add_devenv(devenv)
+endif
+
+###############################################################################
# Install stuff
###############################################################################
# documentation
--- a/talkatu/meson.build Mon Oct 11 21:22:46 2021 -0500
+++ b/talkatu/meson.build Thu Oct 14 20:25:41 2021 -0500
@@ -172,6 +172,8 @@
install : true,
install_dir : get_option('datadir') / 'glade' / 'catalogs')
+devenv.append('GLADE_CATALOG_SEARCH_PATH', meson.current_build_dir())
+
###############################################################################
# Library target
###############################################################################