2007-01-14 11:39:53 +08:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# fontconfig
|
|
|
|
#
|
|
|
|
#############################################################
|
2008-06-26 22:04:39 +08:00
|
|
|
FONTCONFIG_VERSION = 2.6.0
|
2008-03-07 02:09:37 +08:00
|
|
|
FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.gz
|
|
|
|
FONTCONFIG_SITE = http://fontconfig.org/release
|
2008-11-12 03:38:10 +08:00
|
|
|
FONTCONFIG_AUTORECONF = YES
|
2008-03-07 02:09:37 +08:00
|
|
|
FONTCONFIG_INSTALL_STAGING = YES
|
2008-11-28 22:20:47 +08:00
|
|
|
# This package does not like using the target cflags for some reason.
|
2009-01-10 21:47:18 +08:00
|
|
|
FONTCONFIG_CONF_ENV = CFLAGS="-I$(STAGING_DIR)/usr/include/freetype2"
|
2008-03-07 02:09:37 +08:00
|
|
|
|
2008-08-17 03:13:53 +08:00
|
|
|
FONTCONFIG_CONF_OPT = --with-arch=$(GNU_TARGET_NAME) \
|
2007-01-17 00:06:45 +08:00
|
|
|
--with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \
|
2009-03-12 07:30:29 +08:00
|
|
|
--with-cache-dir=/var/cache/fontconfig \
|
2007-08-12 20:05:55 +08:00
|
|
|
--with-expat="$(STAGING_DIR)/usr/lib" \
|
|
|
|
--with-expat-lib=$(STAGING_DIR)/usr/lib \
|
|
|
|
--with-expat-includes=$(STAGING_DIR)/usr/include \
|
2008-06-26 22:04:39 +08:00
|
|
|
--disable-docs
|
2007-01-14 11:39:53 +08:00
|
|
|
|
2009-09-02 23:02:02 +08:00
|
|
|
FONTCONFIG_DEPENDENCIES = freetype expat
|
2007-01-14 11:39:53 +08:00
|
|
|
|
2009-11-03 07:09:51 +08:00
|
|
|
HOST_FONTCONFIG_CONF_OPT = \
|
2009-03-19 05:22:04 +08:00
|
|
|
--disable-docs \
|
2009-11-03 07:09:51 +08:00
|
|
|
--disable-static
|
2009-03-19 05:22:04 +08:00
|
|
|
|
2011-09-30 03:57:43 +08:00
|
|
|
$(eval $(call AUTOTARGETS))
|
|
|
|
$(eval $(call AUTOTARGETS,host))
|