In autotools this is: https://github.com/geany/geany/blob/41624c411702d29834da0ff926f3c9f7c895bb47/icons/Makefile.am#L13-L24

In meson this is: https://github.com/geany/geany/pull/2761/files#diff-d1e552a6e8f531b9bf5c39efd19586bc133ac2770ad8d65654b93634bd660cdfR41-R46

if meson.version().version_compare('>=0.57.0')
    gnome.post_install(gtk_update_icon_cache: true)
else
    warning('You may need to run `gtk-update-icon-cache` yourself after installing')
    warning('E.g. gtk-update-icon-cache -f -t ' + join_paths(prefix, icons_dir))
endif

Note that to correctly handle if test -z "$(DESTDIR)"; in meson you need those Meson 0.57 features, or you need to add a custom python script. There is some existing discussion about that in this PR here: #2761 (comment)


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/2761/c1066114275@github.com>