diff options
author | Vika <vika@fireburn.ru> | 2024-09-01 19:24:06 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-09-04 19:51:50 +0300 |
commit | c18baf07137dfdf7809a89c6af2eabf22131cc00 (patch) | |
tree | c87e864e9da6e717983819a928329045602941ac /data/meson.build | |
parent | 00bfd4b9e2af68004014675ed6a2e35ffd33ab36 (diff) | |
download | bowl-c18baf07137dfdf7809a89c6af2eabf22131cc00.tar.zst |
Add a GSettings schema
Empty for now, but I am planning to include setting up the API endpoints and prompts for Smart Summary, among other things.
Diffstat (limited to 'data/meson.build')
-rw-r--r-- | data/meson.build | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/data/meson.build b/data/meson.build index c1d1997..59f3f90 100644 --- a/data/meson.build +++ b/data/meson.build @@ -54,22 +54,22 @@ endif # ) #endif -## GSchema -#gschema_conf = configuration_data() -#gschema_conf.set('app-id', application_id) -#gschema_conf.set('gettext-package', gettext_package) -#configure_file( -# input: '@0@.gschema.xml.in'.format(base_id), -# output: '@0@.gschema.xml'.format(application_id), -# configuration: gschema_conf, -# install: true, -# install_dir: datadir / 'glib-2.0' / 'schemas' -#) -# -## Validata GSchema -#test( -# 'validate-gschema', glib_compile_schemas, -# args: [ -# '--strict', '--dry-run', meson.current_build_dir() -# ], -#) +# GSchema +gschema_conf = configuration_data() +gschema_conf.set('app-id', application_id) +gschema_conf.set('gettext-package', gettext_package) +configure_file( + input: '@0@.gschema.xml.in'.format(base_id), + output: '@0@.gschema.xml'.format(application_id), + configuration: gschema_conf, + install: true, + install_dir: datadir / 'glib-2.0' / 'schemas' +) + +# Validata GSchema +test( + 'validate-gschema', glib_compile_schemas, + args: [ + '--strict', '--dry-run', meson.current_build_dir() + ], +) |