[gnome-control-center] build: Use GNOME module post_install()



commit b6c6f5c165fc22a0efac852bdc8db0ee10fe20a1
Author: Matt Turner <mattst88 gmail com>
Date:   Tue Aug 23 21:20:25 2022 -0400

    build: Use GNOME module post_install()

 build-aux/meson.build                 |  1 -
 build-aux/meson/meson_post_install.py | 15 ---------------
 meson.build                           |  8 ++++++--
 3 files changed, 6 insertions(+), 18 deletions(-)
---
diff --git a/meson.build b/meson.build
index 6a6cdf7d7..03e52be3e 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@ project(
   'gnome-control-center', 'c',
         version : '43.beta',
         license : 'GPL2+',
-  meson_version : '>= 0.53.0'
+  meson_version : '>= 0.57.0'
 )
 
 control_center_prefix = get_option('prefix')
@@ -281,7 +281,6 @@ install_subdir(
 top_inc = include_directories('.')
 shell_inc = include_directories('shell')
 
-subdir('build-aux')
 subdir('data/icons')
 subdir('po')
 subdir('panels')
@@ -296,6 +295,11 @@ if get_option('documentation')
   subdir('man')
 endif
 
+gnome.post_install(
+  glib_compile_schemas: true,
+  gtk_update_icon_cache: true,
+)
+
 configure_file(
   output: 'config.h',
   configuration: config_h


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]