freetype: bump to version 2.5.0.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
a88b4804ff
commit
f8cefffd4e
@ -4,9 +4,11 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FREETYPE_VERSION = 2.4.12
|
||||
FREETYPE_VERSION_MAJOR = 2.5.0
|
||||
FREETYPE_VERSION_MINOR = 1
|
||||
FREETYPE_VERSION = $(FREETYPE_VERSION_MAJOR).$(FREETYPE_VERSION_MINOR)
|
||||
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_MAJOR)
|
||||
FREETYPE_INSTALL_STAGING = YES
|
||||
FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)"
|
||||
FREETYPE_LICENSE = Dual FTL/GPLv2+
|
||||
@ -18,6 +20,14 @@ FREETYPE_CONFIG_SCRIPTS = freetype-config
|
||||
|
||||
HOST_FREETYPE_DEPENDENCIES = host-pkgconf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||
FREETYPE_DEPENDENCIES += libpng
|
||||
FREETYPE_CONF_OPT += LIBPNG_CFLAGS="`$(STAGING_DIR)/usr/bin/libpng-config --cflags`" \
|
||||
LIBPNG_LDFLAGS="`$(STAGING_DIR)/usr/bin/libpng-config --ldflags`"
|
||||
else
|
||||
FREETYPE_CONF_OPT += --without-png
|
||||
endif
|
||||
|
||||
# Extra fixing since includedir and libdir are expanded from configure values
|
||||
define FREETYPE_FIX_CONFIG_FILE
|
||||
$(SED) 's:^includedir=.*:includedir="$${prefix}/include":' \
|
||||
|
Loading…
Reference in New Issue
Block a user