[devhelp] build: Use GNOME module post_install()



commit ac93a64e15fe0c2ce0451c7d1bd0f70fad3965cf
Author: Matt Turner <mattst88 gmail com>
Date:   Mon Aug 29 12:48:41 2022 -0400

    build: Use GNOME module post_install()

 .gitlab-ci.yml                        |  4 ++--
 build-aux/meson/meson_post_install.py | 16 ----------------
 meson.build                           |  8 ++++----
 3 files changed, 6 insertions(+), 22 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 06e8ff0e..49d70b7c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,7 +61,7 @@ fedora_x86_64:
       python3-wheel
       redhat-rpm-config
       webkit2gtk3-devel
-    MESON_VERSION: "0.55.3"
+    MESON_VERSION: "0.57.2"
 
 reference:
   extends: .build-default
@@ -93,7 +93,7 @@ reference:
       python3-wheel
       redhat-rpm-config
       webkit2gtk3-devel
-    MESON_VERSION: "0.55.3"
+    MESON_VERSION: "0.57.2"
     MESON_EXTRA_FLAGS: "-Dgtk_doc=true"
   after_script:
     - mkdir _reference
diff --git a/meson.build b/meson.build
index 64b16b0a..880d1fa9 100644
--- a/meson.build
+++ b/meson.build
@@ -5,7 +5,7 @@
 
 project(
   'devhelp', 'c',
-  meson_version: '>= 0.55',
+  meson_version: '>= 0.57',
   version: '43.rc',
   default_options: ['warning_level=2']
 )
@@ -177,9 +177,9 @@ if get_option('gtk_doc')
   subdir('docs/reference')
 endif
 
-meson.add_install_script(
-  find_program('build-aux/meson/meson_post_install.py'),
-  get_option('prefix') / get_option('datadir'),
+GNOME.post_install(
+  glib_compile_schemas: true,
+  gtk_update_icon_cache: true,
 )
 
 summary('Prefix', get_option('prefix'))


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