The current script in build-aux/meson/meson_post_install.py calls gtk-update-icon-cache by name, which refers to the Gtk 3 version of the command. Replace it with gnome.post_install introduced in Meson 0.57 (in mesonbuild/meson#8272), which will use gtk4-update-icon-cache when appropriate.
Contributed as a part of the effort to eliminate Gtk 3 dependencies from Nixpkgs in NixOS/nixpkgs#302605.
The current script in
build-aux/meson/meson_post_install.py
callsgtk-update-icon-cache
by name, which refers to the Gtk 3 version of the command. Replace it withgnome.post_install
introduced in Meson 0.57 (in mesonbuild/meson#8272), which will usegtk4-update-icon-cache
when appropriate.