[gnome-sudoku] build: Use GNOME module post_install()
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku] build: Use GNOME module post_install()
- Date: Sat, 3 Sep 2022 16:04:31 +0000 (UTC)
commit 821866b2f2a607a9cd1a5fa11711620afcfe8d9d
Author: Matt Turner <mattst88 gmail com>
Date: Sat Sep 3 11:49:08 2022 -0400
build: Use GNOME module post_install()
build-aux/post_install.py | 21 ---------------------
meson.build | 8 ++++++--
2 files changed, 6 insertions(+), 23 deletions(-)
---
diff --git a/meson.build b/meson.build
index 5524308..0f7c6ed 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project('gnome-sudoku', ['c', 'cpp', 'vala'],
'cpp_std=c++11'
],
license: 'GPL3+',
- meson_version: '>= 0.50',
+ meson_version: '>= 0.59',
version: '43.beta'
)
application_id = 'org.gnome.Sudoku'
@@ -55,4 +55,8 @@ subdir('lib')
subdir('po')
subdir('src')
-meson.add_install_script('build-aux/post_install.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]