[gnome-online-accounts/wip/jtojnar/post-install] build: Use gnome.post_install() function
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/jtojnar/post-install] build: Use gnome.post_install() function
- Date: Thu, 8 Sep 2022 11:56:37 +0000 (UTC)
commit 49daccd91b854c3e2acf10372227555cc131cf4a
Author: Jan Tojnar <jtojnar gmail com>
Date: Thu Sep 8 13:56:18 2022 +0200
build: Use gnome.post_install() function
Introduced in Meson 0.57.0, it simplifies the code a bit:
https://mesonbuild.com/Gnome-module.html#gnomepost_install
meson.build | 9 ++++-----
meson_post_install.py | 17 -----------------
2 files changed, 4 insertions(+), 22 deletions(-)
---
diff --git a/meson.build b/meson.build
index 4bf81d39..562451be 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
version: '3.45.3',
license: 'LGPL2+',
default_options: 'buildtype=debugoptimized',
- meson_version: '>= 0.56.0'
+ meson_version: '>= 0.57.0',
)
goa_name = 'goa'
@@ -265,10 +265,9 @@ endif
subdir('po')
-meson.add_install_script(
- 'meson_post_install.py',
- goa_datadir,
- enable_goabackend ? 'compile-schemas' : ''
+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]