[d-spy/wip/jtojnar/meson-postinstall: 12/12] build: Switch to gnome.post_install
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [d-spy/wip/jtojnar/meson-postinstall: 12/12] build: Switch to gnome.post_install
- Date: Fri, 1 Apr 2022 17:55:34 +0000 (UTC)
commit 5a0ec8d53d006e95e93c6d6e32a381eb248b12a1
Author: Jan Tojnar <jtojnar gmail com>
Date: Sat Mar 26 18:22:47 2022 +0100
build: Switch to gnome.post_install
Removes direct dependency on Python and GTK 3.
build-aux/meson/postinstall.py | 21 ---------------------
meson.build | 8 ++++++--
2 files changed, 6 insertions(+), 23 deletions(-)
---
diff --git a/meson.build b/meson.build
index 320bf75..f9b54da 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
project('dspy', 'c',
version: '1.2.0',
- meson_version: '>= 0.56.0',
+ meson_version: '>= 0.59.0',
)
symbolic_version = '42.0'
@@ -188,4 +188,8 @@ subdir('lib')
subdir('src')
subdir('po')
-meson.add_install_script('build-aux/meson/postinstall.py')
+gnome.post_install(
+ glib_compile_schemas: true,
+ gtk_update_icon_cache: true,
+ update_desktop_database: true,
+)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]