[Buildroot] [PATCH 2/2] libgtk3: create icon-theme.cache for icon themes

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Apr 21 20:06:21 UTC 2016


Hello,

On Thu, 21 Apr 2016 08:00:43 -0300, Gustavo Zacarias wrote:

> +# Create icon-theme.cache for each of the icon directories/themes
> +# It's not strictly necessary but speeds up lookups
> +define LIBGTK3_UPDATE_ICON_CACHE
> +	find $(TARGET_DIR)/usr/share/icons -maxdepth 1 -mindepth 1 -type d \
> +		-exec $(HOST_DIR)/usr/bin/gtk-update-icon-cache {} \;
> +endef
> +ifeq ($(BR2_PACKAGE_LIBGTK3),y)
> +TARGET_FINALIZE_HOOKS += LIBGTK3_UPDATE_ICON_CACHE
> +endif

I've moved the definition of the hook inside the condition, and
applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list