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
|
|
|
|
2021-01-04 22:03:37 +01:00
|
|
|
PANGO_VERSION_MAJOR = 1.48
|
2021-07-13 15:53:54 +02:00
|
|
|
PANGO_VERSION = $(PANGO_VERSION_MAJOR).7
|
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_INSTALL_STAGING = YES
|
2017-03-30 15:43:37 +02:00
|
|
|
PANGO_LICENSE = LGPL-2.0+
|
2014-06-24 20:55:33 +02:00
|
|
|
PANGO_LICENSE_FILES = COPYING
|
2021-03-03 10:27:15 +01:00
|
|
|
PANGO_CPE_ID_VENDOR = pango
|
2007-01-11 07:17:24 +01:00
|
|
|
|
2020-06-06 10:34:38 +02:00
|
|
|
PANGO_CONF_OPTS = -Duse_fontconfig=true
|
2021-01-04 22:03:37 +01:00
|
|
|
HOST_PANGO_CONF_OPTS = -Duse_fontconfig=true -Dintrospection=disabled
|
2009-07-17 16:26:29 +02:00
|
|
|
|
2014-12-30 08:36:23 +01:00
|
|
|
PANGO_DEPENDENCIES = \
|
2017-07-03 23:07:52 +02:00
|
|
|
$(TARGET_NLS_DEPENDENCIES) \
|
2013-01-06 12:29:33 +01:00
|
|
|
host-pkgconf \
|
|
|
|
libglib2 \
|
2019-12-09 21:52:24 +01:00
|
|
|
libfribidi \
|
2013-01-06 12:29:33 +01:00
|
|
|
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 \
|
2019-12-09 21:52:24 +01:00
|
|
|
host-libfribidi \
|
2015-04-19 11:48:20 +02:00
|
|
|
host-cairo \
|
|
|
|
host-harfbuzz \
|
|
|
|
host-fontconfig \
|
|
|
|
host-freetype
|
2009-11-01 23:40:20 +01:00
|
|
|
|
2020-06-06 10:34:38 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
2021-01-04 22:03:37 +01:00
|
|
|
PANGO_CONF_OPTS += -Dintrospection=enabled
|
2020-06-06 10:34:38 +02:00
|
|
|
PANGO_DEPENDENCIES += gobject-introspection
|
|
|
|
else
|
2021-01-04 22:03:37 +01:00
|
|
|
PANGO_CONF_OPTS += -Dintrospection=disabled
|
2020-06-06 10:34:38 +02:00
|
|
|
endif
|
|
|
|
|
2009-07-17 15:42:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
2015-03-31 00:29:15 +02:00
|
|
|
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
|
2013-01-06 12:29:33 +01:00
|
|
|
endif
|
|
|
|
|
2019-10-14 19:47:59 +02:00
|
|
|
$(eval $(meson-package))
|
|
|
|
$(eval $(host-meson-package))
|