[gnome-chess] Use gnome.post_install()



commit 4edacffba25a738a21b5ee91ae3e1e64761c201d
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Sat Sep 3 11:07:09 2022 -0500

    Use gnome.post_install()

 meson.build           |  8 ++++++--
 meson_post_install.py | 15 ---------------
 2 files changed, 6 insertions(+), 17 deletions(-)
---
diff --git a/meson.build b/meson.build
index ea4bffc..653df2d 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
 project('gnome-chess', [ 'vala', 'c' ],
   version: '43.rc',
   license: 'GPL3+',
-  meson_version: '>= 0.56',
+  meson_version: '>= 0.59',
 )
 application_id = 'org.gnome.Chess'
 gnome = import('gnome')
@@ -53,7 +53,11 @@ conf.set_quoted('G_LOG_DOMAIN', meson.project_name())
 configure_file(output: 'config.h', configuration: conf)
 
 # Post-install scripts
-meson.add_install_script('meson_post_install.py')
+gnome.post_install(
+  glib_compile_schemas: true,
+  gtk_update_icon_cache: true,
+  update_desktop_database: true,
+)
 
 # Subfolders
 subdir('data')


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