netsnmp: handle libnl dependency properly
[buildroot-gz.git] / package / pango / pango.mk
blobb45bf9a949f0afa76b340aad52dd886e058711ae
1 ################################################################################
3 # pango
5 ################################################################################
7 PANGO_VERSION_MAJOR = 1.40
8 PANGO_VERSION = $(PANGO_VERSION_MAJOR).3
9 PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz
10 PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR)
11 PANGO_AUTORECONF = YES
12 PANGO_INSTALL_STAGING = YES
13 PANGO_LICENSE = LGPLv2+
14 PANGO_LICENSE_FILES = COPYING
16 PANGO_CONF_OPTS = --enable-explicit-deps=no
17 HOST_PANGO_CONF_OPTS = --enable-explicit-deps=no
19 PANGO_DEPENDENCIES = \
20 $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
21 host-pkgconf \
22 libglib2 \
23 cairo \
24 harfbuzz \
25 fontconfig \
26 freetype
27 HOST_PANGO_DEPENDENCIES = \
28 host-pkgconf \
29 host-libglib2 \
30 host-cairo \
31 host-harfbuzz \
32 host-fontconfig \
33 host-freetype
35 ifeq ($(BR2_PACKAGE_XORG7),y)
36 PANGO_CONF_OPTS += \
37 --x-includes=$(STAGING_DIR)/usr/include/X11 \
38 --x-libraries=$(STAGING_DIR)/usr/lib
39 PANGO_DEPENDENCIES += xlib_libX11
40 endif
42 ifeq ($(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yy)
43 PANGO_DEPENDENCIES += xlib_libXft xlib_libXrender
44 PANGO_CONF_OPTS += --with-xft
45 endif
47 $(eval $(autotools-package))
48 $(eval $(host-autotools-package))