summary refs log tree commit diff
path: root/data/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'data/meson.build')
-rw-r--r--data/meson.build38
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()
+  ],
+)