[evince] build: Use GNOME module post_install()



commit 48bebe4d17f4e65778a72d7eac85b9961366e51c
Author: Matt Turner <mattst88 gmail com>
Date:   Tue Aug 23 21:17:31 2022 -0400

    build: Use GNOME module post_install()

 meson.build           |  8 ++++----
 meson_post_install.py | 15 ---------------
 2 files changed, 4 insertions(+), 19 deletions(-)
---
diff --git a/meson.build b/meson.build
index 986689a45..7ff9acd9a 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@ project(
   'evince', ['c'],
   version: '43.alpha',
   license: 'GPL-2.0-or-later',
-  meson_version: '>= 0.53.0',
+  meson_version: '>= 0.57.0',
   default_options: [
     'buildtype=debugoptimized',
     'libhandy:vapi=false',
@@ -518,9 +518,9 @@ configure_file(
   configuration: config_h,
 )
 
-meson.add_install_script(
-  'meson_post_install.py',
-  ev_datadir,
+gnome.post_install(
+  glib_compile_schemas: true,
+  gtk_update_icon_cache: true,
 )
 
 


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