[gnome-contacts] meson: Use gnome.post_install



commit ea2c44ac271ec35600016d62b1e4b84f4d1b3672
Author: Maximiliano Sandoval R <msandova gnome org>
Date:   Fri Feb 18 15:27:19 2022 +0100

    meson: Use gnome.post_install

 build-aux/meson_post_install.py | 15 ---------------
 meson.build                     |  9 ++++++---
 2 files changed, 6 insertions(+), 18 deletions(-)
---
diff --git a/meson.build b/meson.build
index ce934e34..82373b9f 100644
--- a/meson.build
+++ b/meson.build
@@ -83,9 +83,6 @@ conf.set_quoted('PROFILE', get_option('profile'))
 conf.set('GOA_API_IS_SUBJECT_TO_CHANGE', true)
 configure_file(output: 'config.h', configuration: conf)
 
-# Post-install scripts
-meson.add_install_script('build-aux/meson_post_install.py')
-
 # Subfolders
 subdir('data')
 subdir('po')
@@ -94,3 +91,9 @@ if get_option('docs')
   subdir('docs')
 endif
 subdir('tests')
+
+gnome.post_install(
+  gtk_update_icon_cache: true,
+  glib_compile_schemas: true,
+  update_desktop_database: true,
+)


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