[connections] build: Use GNOME module post_install()



commit 3ea01834ec9641209fcba2d3c4493ede0c6b86ad
Author: Matt Turner <mattst88 gmail com>
Date:   Tue Aug 23 21:06:01 2022 -0400

    build: Use GNOME module post_install()

 build-aux/meson/postinstall.py | 21 ---------------------
 meson.build                    |  8 ++++++--
 2 files changed, 6 insertions(+), 23 deletions(-)
---
diff --git a/meson.build b/meson.build
index c7ea0fe..bd8ecde 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
 project('gnome-connections', ['c', 'vala'],
           version: '44.alpha',
-    meson_version: '>= 0.50.0',
+    meson_version: '>= 0.59.0',
   default_options: [ 'warning_level=2',
                    ],
 )
@@ -48,4 +48,8 @@ subdir('help')
 subdir('src')
 subdir('po')
 
-meson.add_install_script('build-aux/meson/postinstall.py')
+gnome.post_install(
+  glib_compile_schemas: true,
+  gtk_update_icon_cache: true,
+  update_desktop_database: true,
+)


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