[file-roller] meson: Use gnome.post_install
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] meson: Use gnome.post_install
- Date: Wed, 30 Mar 2022 17:21:58 +0000 (UTC)
commit ca1f99d21062bf3ddaa16ea1790e31f68ec9de25
Author: Maximiliano Sandoval R <msandova gnome org>
Date: Thu Mar 3 16:21:40 2022 +0100
meson: Use gnome.post_install
Requires meson 0.59
meson.build | 8 ++++++--
postinstall.py | 27 ---------------------------
2 files changed, 6 insertions(+), 29 deletions(-)
---
diff --git a/meson.build b/meson.build
index e632f38c..3e50ab40 100644
--- a/meson.build
+++ b/meson.build
@@ -20,8 +20,6 @@ datadir = join_paths(prefix, get_option('datadir'))
privexecdir = join_paths(prefix, get_option('libexecdir'), meson.project_name())
c_comp = meson.get_compiler('c')
-meson.add_install_script('postinstall.py')
-
# Dependencies
libm_dep = c_comp.find_library('m')
@@ -128,6 +126,12 @@ endif
subdir('po')
subdir('src')
+gnome.post_install(
+ gtk_update_icon_cache: true,
+ glib_compile_schemas: true,
+ update_desktop_database: true,
+)
+
# Summary
summary = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]