[gcr/meson-stuff: 2/6] meson: Use gnome.post_install()
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr/meson-stuff: 2/6] meson: Use gnome.post_install()
- Date: Mon, 13 Jun 2022 14:57:08 +0000 (UTC)
commit 9b1e76f70ea4d27e9d0b2b27dd4d24f200aa1e80
Author: Niels De Graef <nielsdegraef gmail com>
Date: Sun Jun 12 23:18:12 2022 +0200
meson: Use gnome.post_install()
Allows us to drop our custom post-install script, and fixes some known
issues with it.
meson.build | 6 ++++--
meson_post_install.py | 28 ----------------------------
2 files changed, 4 insertions(+), 30 deletions(-)
---
diff --git a/meson.build b/meson.build
index e2dd727d..c3d9ba38 100644
--- a/meson.build
+++ b/meson.build
@@ -131,6 +131,8 @@ if get_option('gtk_doc')
endif
# Post-install scripts
-meson.add_install_script('meson_post_install.py',
- get_option('datadir'),
+gnome.post_install(
+ gtk_update_icon_cache: true,
+ glib_compile_schemas: true,
+ update_desktop_database: true,
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]