[gtranslator: 1/2] build: Use GNOME module post_install()
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator: 1/2] build: Use GNOME module post_install()
- Date: Mon, 10 Oct 2022 05:57:51 +0000 (UTC)
commit 753a5065d3e77bad38e5ebd22ad7bc5ffbe6e068
Author: Matt Turner <mattst88 gmail com>
Date: Fri Oct 7 21:21:52 2022 -0400
build: Use GNOME module post_install()
build-aux/meson/meson_post_install.py | 15 ---------------
meson.build | 9 ++++-----
2 files changed, 4 insertions(+), 20 deletions(-)
---
diff --git a/meson.build b/meson.build
index 1ba7be07..076812bd 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@ project(
'gtranslator', 'c',
version: '42.0',
license: 'GPL3+',
- meson_version: '>= 0.50.0',
+ meson_version: '>= 0.57.0',
)
###########
@@ -154,10 +154,9 @@ configure_file(
configuration: config_h,
)
-meson.add_install_script(
- 'build-aux/meson/meson_post_install.py',
- gtr_datadir,
- gtr_schemasdir,
+gnome.post_install(
+ glib_compile_schemas: true,
+ gtk_update_icon_cache: true,
)
output = '\n\n GTranslator ' + gtr_version + '\n'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]