[gnome-settings-daemon] build: Use GNOME module post_install()



commit 5219217586dcbaaeadbe38db7ccb36a67fe1986a
Author: Matt Turner <mattst88 gmail com>
Date:   Tue Aug 23 20:52:04 2022 -0400

    build: Use GNOME module post_install()

 meson.build           |  7 +++----
 meson_post_install.py | 11 -----------
 2 files changed, 3 insertions(+), 15 deletions(-)
---
diff --git a/meson.build b/meson.build
index 0335d25a..aec2ec2c 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@ project(
   'gnome-settings-daemon', 'c',
   version: '43.beta',
   license: [ 'GPL2+', 'LGPLv2+' ],
-  meson_version: '>= 0.49.0'
+  meson_version: '>= 0.57.0'
 )
 
 gsd_version = meson.project_version()
@@ -256,9 +256,8 @@ configure_file(
   configuration: config_h
 )
 
-meson.add_install_script(
-  'meson_post_install.py',
-  gsd_datadir
+gnome.post_install(
+  glib_compile_schemas: true,
 )
 
 output = '\n        ' + meson.project_name() + ' ' + meson.project_version() +'\n'


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