[totem] build: Use GNOME module post_install()



commit 09e76c5d35ff6e2e100d3a5e2eb6fa940dae2fb2
Author: Matt Turner <mattst88 gmail com>
Date:   Tue Aug 23 21:35:44 2022 -0400

    build: Use GNOME module post_install()

 meson.build           |  7 +++++--
 meson_post_install.py | 15 ---------------
 2 files changed, 5 insertions(+), 17 deletions(-)
---
diff --git a/meson.build b/meson.build
index 0c871dd10..a8c0ce5ec 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
   version: '43.beta',
   license: 'GPL2+ with exception',
   default_options: 'buildtype=debugoptimized',
-  meson_version: '>= 0.50.0'
+  meson_version: '>= 0.57.0'
 )
 
 totem_version = meson.project_version()
@@ -235,7 +235,10 @@ if get_option('enable-gtk-doc')
   subdir('docs/reference')
 endif
 
-meson.add_install_script('meson_post_install.py')
+gnome.post_install(
+  glib_compile_schemas: true,
+  gtk_update_icon_cache: true,
+)
 
 is_stable = (totem_minor_version != 'alpha' and
   totem_minor_version != 'beta' and


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