[baobab] build: Use GNOME module post_install()



commit d9048fffe0b5a5e01273cfbccb3bdccb35af2a29
Author: Matt Turner <mattst88 gmail com>
Date:   Sat Sep 3 11:41:35 2022 -0400

    build: Use GNOME module post_install()

 build-aux/post-install.py | 19 -------------------
 meson.build               |  9 ++++++---
 2 files changed, 6 insertions(+), 22 deletions(-)
---
diff --git a/meson.build b/meson.build
index 47362ab..0e45d38 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@ project(
   'baobab', ['vala', 'c'],
   version: '44.alpha',
   license: 'GPL2+',
-  meson_version: '>= 0.50.0',
+  meson_version: '>= 0.59.0',
 )
 
 gnome = import('gnome')
@@ -25,8 +25,11 @@ conf.set_quoted('GNOMELOCALEDIR', join_paths(get_option('prefix'), get_option('l
 configure_file(output: 'config.h', configuration: conf)
 config_h_dir = include_directories('.')
 
-meson.add_install_script(python.find_installation('python3').path(),
-  join_paths(meson.source_root(), 'build-aux', 'post-install.py'))
+gnome.post_install(
+  glib_compile_schemas: true,
+  gtk_update_icon_cache: true,
+  update_desktop_database: true,
+)
 
 add_project_arguments(
   '--disable-since-check',


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