recipes: x-libs/gtk3: switch build system to meson
[dragora.git] / recipes / x-libs / gtk3 / post-install
blobea7c413b6ea48d4a701c1aeef63609397b9e0902
2 # Update GTK+-3.0 modules cache
3 gtk-query-immodules-3.0 --update-cache
5 # Update GLIB schemas
6 for schema_directory in /usr/local/share/glib* /usr/share/glib*
7 do
8     test -d "$schema_directory" || continue;
9     glib-compile-schemas "${schema_directory}"/schemas
10 done
11 unset schema_directory
13 # Update GDK pixbuf loaders cache, just in case
14 chroot . /usr/bin/gdk-pixbuf-query-loaders --update-cache > /dev/null 2>&1
16 echo "Updating desktop database: update-desktop-database -q usr/share/applications"
17 update-desktop-database -q usr/share/applications
19 echo "Updating ICON cache: gtk-update-icon-cache -q -f -i usr/share/icons/hicolor"
20 gtk-update-icon-cache -q -f -i usr/share/icons/hicolor