[seahorse/nielsdg/meson: 3/3] meson: Use gnome.post_install()




commit be4d659323cff45161498f0b0be36e84b2cb877f
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Tue May 24 09:38:53 2022 +0200

    meson: Use gnome.post_install()

 build-aux/meson_post_install.py | 15 ---------------
 meson.build                     |  6 +++++-
 2 files changed, 5 insertions(+), 16 deletions(-)
---
diff --git a/meson.build b/meson.build
index e1e55b13..949f8726 100644
--- a/meson.build
+++ b/meson.build
@@ -161,7 +161,11 @@ config = declare_dependency(
 )
 
 # Post-install scripts
-meson.add_install_script('build-aux' / 'meson_post_install.py')
+gnome.post_install(
+  gtk_update_icon_cache: true,
+  glib_compile_schemas: true,
+  update_desktop_database: true,
+)
 
 # subdirs
 subdir('po')


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