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