meson: Use gnome.post_install

Requires meson 0.59. The command to update the desktop database was not
executed which could lead to the app not appearing on the apps menu
after install.
This commit is contained in:
Maximiliano Sandoval R 2022-03-18 12:18:59 +01:00 committed by Niels De Graef
parent 080ead9775
commit 146a76c0dd
2 changed files with 6 additions and 17 deletions

View file

@ -221,8 +221,12 @@ endif
files(iso_639_xml, iso_3166_xml) # Check to make sure these exist
# Post-install scripts
meson.add_install_script('build-aux' / 'post_install.py')
# Post-install script
gnome.post_install(
gtk_update_icon_cache: true,
glib_compile_schemas: true,
update_desktop_database: true,
)
# Subfolders
subdir('desktop')