if [[ -x /usr/bin/gdk-pixbuf-query-loaders ]] ; then
  # Recreate /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
  gdk-pixbuf-query-loaders --update-cache
fi

# librsvg is not in cairo's depends (to avoid circular dependency)
if [ "`get_module_config REBUILD_CAIRO`" = "y" ]; then
  # will only work if this was built with gtk+-2
  if in_depends librsvg gtk+-2; then
    verbose_msg "Rebuilding cairo to enable svg testing ..."
    lin -c cairo
  fi
fi
