gdk-pixbuf/libgtk2: move gdk-pixbuf loader cache setup script

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Lionel Landwerlin 2010-11-04 09:18:57 +01:00 committed by Peter Korsgaard
parent 89d1ad91fe
commit 4411017f86
3 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# run pgdk-pixbuf-query-loaders if needed # run gdk-pixbuf-query-loaders if needed
FILE=/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache FILE=/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache

View File

@ -40,6 +40,12 @@ endif
GDK_PIXBUF_DEPENDENCIES += $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) host-pkg-config libglib2 libiconv GDK_PIXBUF_DEPENDENCIES += $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) host-pkg-config libglib2 libiconv
define GDK_PIXBUF_POST_INSTALL_TWEAKS
$(INSTALL) -m 755 package/gdk-pixbuf/S26gdk-pixbuf $(TARGET_DIR)/etc/init.d/
endef
GDK_PIXBUF_POST_INSTALL_TARGET_HOOKS += GDK_PIXBUF_POST_INSTALL_TWEAKS
$(eval $(call AUTOTARGETS,package,gdk-pixbuf)) $(eval $(call AUTOTARGETS,package,gdk-pixbuf))
HOST_GDK_PIXBUF_CONF_OPT = \ HOST_GDK_PIXBUF_CONF_OPT = \

View File

@ -115,7 +115,6 @@ LIBGTK2_CONF_OPT += --disable-cups
endif endif
define LIBGTK2_POST_INSTALL_TWEAKS define LIBGTK2_POST_INSTALL_TWEAKS
$(INSTALL) -m 755 package/libgtk2/S26libgtk2 $(TARGET_DIR)/etc/init.d/
rm -rf $(TARGET_DIR)/usr/share/gtk-2.0/demo $(TARGET_DIR)/usr/bin/gtk-demo rm -rf $(TARGET_DIR)/usr/share/gtk-2.0/demo $(TARGET_DIR)/usr/bin/gtk-demo
endef endef