|
@@ -4,7 +4,7 @@
|
|
#
|
|
#
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
-FREETYPE_VERSION = 2.6
|
|
|
|
|
|
+FREETYPE_VERSION = 2.6.1
|
|
FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2
|
|
FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2
|
|
FREETYPE_SITE = http://downloads.sourceforge.net/project/freetype/freetype2/$(FREETYPE_VERSION)
|
|
FREETYPE_SITE = http://downloads.sourceforge.net/project/freetype/freetype2/$(FREETYPE_VERSION)
|
|
FREETYPE_INSTALL_STAGING = YES
|
|
FREETYPE_INSTALL_STAGING = YES
|
|
@@ -70,31 +70,6 @@ define FREETYPE_FIX_CONFIG_FILE_LIBS
|
|
endef
|
|
endef
|
|
FREETYPE_POST_INSTALL_STAGING_HOOKS += FREETYPE_FIX_CONFIG_FILE_LIBS
|
|
FREETYPE_POST_INSTALL_STAGING_HOOKS += FREETYPE_FIX_CONFIG_FILE_LIBS
|
|
|
|
|
|
-# Version 2.5.1 reorganized headers out of freetype2/freetype.
|
|
|
|
-# It is unexpected for some packages so symlink it until it spreads
|
|
|
|
-# upstream. Note that we also have to remove the symlink prior to the
|
|
|
|
-# installation process, because the installation process of freetype
|
|
|
|
-# removes usr/include/Freetype2/freetype/config, before installing
|
|
|
|
-# something in usr/include/Freetype2/config/ which no longer exists
|
|
|
|
-# due to the symbolic link.
|
|
|
|
-define FREETYPE_REMOVE_FREETYPE_INCLUDE_SYMLINK
|
|
|
|
- $(RM) -f $(STAGING_DIR)/usr/include/freetype2/freetype
|
|
|
|
-endef
|
|
|
|
-FREETYPE_PRE_INSTALL_STAGING_HOOKS += FREETYPE_REMOVE_FREETYPE_INCLUDE_SYMLINK
|
|
|
|
-define FREETYPE_FIX_FREETYPE_INCLUDE
|
|
|
|
- ln -sf . $(STAGING_DIR)/usr/include/freetype2/freetype
|
|
|
|
-endef
|
|
|
|
-FREETYPE_POST_INSTALL_STAGING_HOOKS += FREETYPE_FIX_FREETYPE_INCLUDE
|
|
|
|
-
|
|
|
|
-define HOST_FREETYPE_REMOVE_FREETYPE_INCLUDE_SYMLINK
|
|
|
|
- $(RM) -f $(HOST_DIR)/usr/include/freetype2/freetype
|
|
|
|
-endef
|
|
|
|
-HOST_FREETYPE_PRE_INSTALL_HOOKS += HOST_FREETYPE_REMOVE_FREETYPE_INCLUDE_SYMLINK
|
|
|
|
-define HOST_FREETYPE_FIX_FREETYPE_INCLUDE
|
|
|
|
- ln -sf . $(HOST_DIR)/usr/include/freetype2/freetype
|
|
|
|
-endef
|
|
|
|
-HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE
|
|
|
|
-
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|
|
$(eval $(host-autotools-package))
|
|
|
|
|