[eog-plugins/wip/port-to-meson: 8/8] build: Compile GSettings schemas on install




commit 8c008d143fa10ae97a8f4c78d2cefb050b369592
Author: Felix Riemann <friemann gnome org>
Date:   Tue Jan 25 23:19:37 2022 +0100

    build: Compile GSettings schemas on install
    
    Otherwise the plugins will crash when accessing settings.

 meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 7c6a18b..3725d60 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
   version: '42.alpha',
   license: 'GPL2+',
   default_options: 'buildtype=debugoptimized',
-  meson_version: '>= 0.51'
+  meson_version: '>= 0.57'
 )
 
 gnome = import('gnome')
@@ -113,6 +113,10 @@ configure_file(
   configuration: config_h
 )
 
+gnome.post_install(
+  glib_compile_schemas: true,
+)
+
 # Summary message
 
 summary = [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]