[d-spy/wip/jtojnar/meson-postinstall] 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] build: Switch to gnome.post_install
- Date: Sat, 26 Mar 2022 17:24:32 +0000 (UTC)
commit b86b7181bd48d3f8633db333d154b4ff5e842330
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]