[gnome-calculator] build: Use gnome.post_install



commit 265e5878971b6e5945160d2f54491fb808b3a620
Author: Bobby Rong <931189261 qq com>
Date:   Thu Feb 17 13:11:34 2022 +0000

    build: Use gnome.post_install

 meson.build           |  7 +++++--
 meson_post_install.py | 15 ---------------
 2 files changed, 5 insertions(+), 17 deletions(-)
---
diff --git a/meson.build b/meson.build
index b106a1a5..b81756c8 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
 project('gnome-calculator', ['c', 'vala'],
   version: '42.beta',
-  meson_version: '>= 0.52.0',
+  meson_version: '>= 0.57.0',
   license: 'GPLv3+',
 )
 
@@ -75,7 +75,10 @@ configure_file(output: 'config.h', configuration: conf)
 config_h_dir = include_directories('.')
 
 # Extra scripts
-meson.add_install_script('meson_post_install.py')
+gnome.post_install(
+  glib_compile_schemas: true,
+  gtk_update_icon_cache: true,
+)
 
 # Subdirs
 subdir('vapi')


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