[gcr/meson-stuff: 2/6] meson: Use gnome.post_install()




commit ea6152580db3d5bd585a59b25de8fec48fa134e7
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sun Jun 12 23:18:12 2022 +0200

    meson: Use gnome.post_install()
    
    Allows us to drop our custom post-install script, and fixes some known
    issues with it.

 meson.build           |  6 ++++--
 meson_post_install.py | 28 ----------------------------
 2 files changed, 4 insertions(+), 30 deletions(-)
---
diff --git a/meson.build b/meson.build
index e2dd727d..c3d9ba38 100644
--- a/meson.build
+++ b/meson.build
@@ -131,6 +131,8 @@ if get_option('gtk_doc')
 endif
 
 # Post-install scripts
-meson.add_install_script('meson_post_install.py',
-  get_option('datadir'),
+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]