[sound-juicer] build: Use GNOME module post_install()



commit d002457e2e0fb3c43053185e726468af57801c4c
Author: Matt Turner <mattst88 gmail com>
Date:   Tue Aug 23 21:38:18 2022 -0400

    build: Use GNOME module post_install()

 meson.build           | 10 ++++++++--
 meson_post_install.py | 15 ---------------
 2 files changed, 8 insertions(+), 17 deletions(-)
---
diff --git a/meson.build b/meson.build
index 771adf17..0eb1c2c9 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,7 @@
-project('sound-juicer', 'c', version: '3.38.0')
+project('sound-juicer', 'c',
+  version: '3.38.0',
+  meson_version: '>= 0.57.0',
+)
 
 sound_juicer_prefix = get_option('prefix')
 sound_juicer_bindir = join_paths(sound_juicer_prefix, get_option('bindir'))
@@ -82,7 +85,10 @@ doc_data = files(
 
 install_data(doc_data, install_dir: sound_juicer_docdir)
 
-meson.add_install_script('meson_post_install.py')
+gnome.post_install(
+  glib_compile_schemas: true,
+  gtk_update_icon_cache: true,
+)
 
 subdir('po')
 subdir('help')


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