[epiphany/mcatanzaro/postinstall: 11/11] Remove legacy postinstall script




commit 10d1974f2405549e923fb013e2aa7dffcaa670fa
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Mon Jul 18 13:30:58 2022 -0500

    Remove legacy postinstall script
    
    Nowadays Meson has built-in support for this.
    
    Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1175>

 meson.build     |  9 ++++++---
 post_install.py | 27 ---------------------------
 2 files changed, 6 insertions(+), 30 deletions(-)
---
diff --git a/meson.build b/meson.build
index 068e18efa..0b27bf5ba 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
 project('epiphany', 'c',
   license: 'GPL3+',
   version: '43.alpha',
-  meson_version: '>= 0.51.0',
+  meson_version: '>= 0.59.0',
   default_options: ['c_std=gnu11',
                     'warning_level=2']
 )
@@ -159,5 +159,8 @@ subdir('embed')
 subdir('src')
 subdir('tests')
 
-meson.add_install_script('post_install.py')
-
+gnome.post_install(
+  gtk_update_icon_cache: true,
+  glib_compile_schemas: true,
+  update_desktop_database: true
+)


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