[gtk: 1/2] meson: Remove post-install script
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] meson: Remove post-install script
- Date: Wed, 28 Sep 2022 16:21:52 +0000 (UTC)
commit 48cc56081d023dd3e73c890f94aec07d250b2753
Author: Xavier Claessens <xavier claessens collabora com>
Date: Wed Sep 28 11:24:51 2022 -0400
meson: Remove post-install script
GTK depends on Meson >= 0.60 so it was never used.
build-aux/meson/post-install.py | 45 -----------------------------------------
meson.build | 19 +++++------------
2 files changed, 5 insertions(+), 59 deletions(-)
---
diff --git a/meson.build b/meson.build
index f27dfb6f82..23e932334c 100644
--- a/meson.build
+++ b/meson.build
@@ -885,20 +885,11 @@ subdir('po')
subdir('docs/reference')
if not meson.is_cross_build()
- if meson.version().version_compare('>=0.57.0')
- gnome.post_install(
- glib_compile_schemas: true,
- gio_querymodules: gio_module_dirs,
- gtk_update_icon_cache: get_option('demos'),
- )
- else
- meson.add_install_script('build-aux/meson/post-install.py',
- gtk_api_version,
- gtk_binary_version,
- gtk_libdir,
- gtk_datadir,
- gtk_bindir)
- endif
+ gnome.post_install(
+ glib_compile_schemas: true,
+ gio_querymodules: gio_module_dirs,
+ gtk_update_icon_cache: get_option('demos'),
+ )
else
message('Not executing post-install steps automatically when cross compiling')
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]