[eog: 7/11] build: Use the post_install method
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog: 7/11] build: Use the post_install method
- Date: Wed, 29 Dec 2021 14:45:58 +0000 (UTC)
commit 72d42a9cbd617b50d2e372f03167de51b02e721d
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Wed Oct 27 11:08:25 2021 +0200
build: Use the post_install method
At the moment, eog uses a custom install script to compile schemas
and update icon cache. However, since meson 0.57 a new method exists
in GNOME module to handle this tasks[0].
The custom script has been removed to use the `post_install` method.
[0] https://mesonbuild.com/Release-notes-for-0-57-0.html#gnomepost_install
meson.build | 7 +++----
meson_post_install.py | 13 -------------
2 files changed, 3 insertions(+), 17 deletions(-)
---
diff --git a/meson.build b/meson.build
index 9c41090a..86e4c321 100644
--- a/meson.build
+++ b/meson.build
@@ -248,10 +248,9 @@ configure_file(
configuration: config_h,
)
-meson.add_install_script(
- 'meson_post_install.py',
- eog_prefix / eog_datadir,
- gio_schemasdir,
+gnome.post_install(
+ glib_compile_schemas: true,
+ gtk_update_icon_cache: true,
)
summary({
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]