2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-01-11 07:17:24 +01:00
|
|
|
#
|
|
|
|
# pango
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2015-10-14 19:04:09 +02:00
|
|
|
PANGO_VERSION_MAJOR = 1.38
|
|
|
|
PANGO_VERSION = $(PANGO_VERSION_MAJOR).1
|
2014-07-08 15:57:05 +02:00
|
|
|
PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz
|
2010-04-14 01:06:13 +02:00
|
|
|
PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR)
|
2008-03-06 19:20:38 +01:00
|
|
|
PANGO_AUTORECONF = YES
|
|
|
|
PANGO_INSTALL_STAGING = YES
|
2014-06-24 20:55:33 +02:00
|
|
|
PANGO_LICENSE = LGPLv2+
|
|
|
|
PANGO_LICENSE_FILES = COPYING
|
2007-01-11 07:17:24 +01:00
|
|
|
|
2014-10-19 11:59:03 +02:00
|
|
|
PANGO_CONF_OPTS = --enable-explicit-deps=no
|
2015-04-19 11:48:20 +02:00
|
|
|
HOST_PANGO_CONF_OPTS = --enable-explicit-deps=no
|
2009-07-17 16:26:29 +02:00
|
|
|
|
2014-12-30 08:36:23 +01:00
|
|
|
PANGO_DEPENDENCIES = \
|
|
|
|
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
|
2013-01-06 12:29:33 +01:00
|
|
|
host-pkgconf \
|
|
|
|
libglib2 \
|
|
|
|
cairo \
|
2014-07-08 15:57:05 +02:00
|
|
|
harfbuzz \
|
2013-01-06 12:29:33 +01:00
|
|
|
fontconfig \
|
|
|
|
freetype
|
2015-04-19 11:48:20 +02:00
|
|
|
HOST_PANGO_DEPENDENCIES = \
|
|
|
|
host-pkgconf \
|
|
|
|
host-libglib2 \
|
|
|
|
host-cairo \
|
|
|
|
host-harfbuzz \
|
|
|
|
host-fontconfig \
|
|
|
|
host-freetype
|
2009-11-01 23:40:20 +01:00
|
|
|
|
2009-07-17 15:42:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
PANGO_CONF_OPTS += \
|
|
|
|
--x-includes=$(STAGING_DIR)/usr/include/X11 \
|
2015-03-31 00:29:15 +02:00
|
|
|
--x-libraries=$(STAGING_DIR)/usr/lib
|
|
|
|
PANGO_DEPENDENCIES += xlib_libX11
|
2008-03-06 19:20:38 +01:00
|
|
|
endif
|
2007-01-11 07:17:24 +01:00
|
|
|
|
2013-01-06 12:29:33 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yy)
|
2015-03-31 00:29:15 +02:00
|
|
|
PANGO_DEPENDENCIES += xlib_libXft xlib_libXrender
|
|
|
|
PANGO_CONF_OPTS += --with-xft
|
2013-01-06 12:29:33 +01:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2015-04-19 11:48:20 +02:00
|
|
|
$(eval $(host-autotools-package))
|