[gnome-boxes] build: Use GNOME module post_install()
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] build: Use GNOME module post_install()
- Date: Thu, 25 Aug 2022 13:56:34 +0000 (UTC)
commit 594a751e73c051792ac21c8df44e76f56a83ab92
Author: Matt Turner <mattst88 gmail com>
Date: Tue Aug 23 21:07:43 2022 -0400
build: Use GNOME module post_install()
build-aux/post_install.py | 19 -------------------
meson.build | 8 ++++++--
2 files changed, 6 insertions(+), 21 deletions(-)
---
diff --git a/meson.build b/meson.build
index ea0dac85..2b7b18bf 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@ project ('gnome-boxes',
['vala', 'c'],
version: '43.beta',
license: 'LGPLv2+',
- meson_version: '>= 0.50.0',
+ meson_version: '>= 0.59.0',
)
gnome = import ('gnome')
@@ -69,7 +69,11 @@ config_h = declare_dependency (
#configure_file (output: 'config.h', configuration: conf)
config_h_dir = include_directories ('.')
-meson.add_install_script (join_paths ('build-aux', 'post_install.py'), data_dir)
+gnome.post_install(
+ glib_compile_schemas: true,
+ gtk_update_icon_cache: true,
+ update_desktop_database: true,
+)
subdir ('data')
subdir ('help')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]