Blame view

buildroot/buildroot-2016.08.1/package/pango/pango.mk 1.21 KB
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
  ################################################################################
  #
  # pango
  #
  ################################################################################
  
  PANGO_VERSION_MAJOR = 1.40
  PANGO_VERSION = $(PANGO_VERSION_MAJOR).1
  PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz
  PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR)
  PANGO_AUTORECONF = YES
  PANGO_INSTALL_STAGING = YES
  PANGO_LICENSE = LGPLv2+
  PANGO_LICENSE_FILES = COPYING
  
  PANGO_CONF_OPTS = --enable-explicit-deps=no
  HOST_PANGO_CONF_OPTS = --enable-explicit-deps=no
  
  PANGO_DEPENDENCIES = \
  	$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
  	host-pkgconf \
  	libglib2 \
  	cairo \
  	harfbuzz \
  	fontconfig \
  	freetype
  HOST_PANGO_DEPENDENCIES = \
  	host-pkgconf \
  	host-libglib2 \
  	host-cairo \
  	host-harfbuzz \
  	host-fontconfig \
  	host-freetype
  
  ifeq ($(BR2_PACKAGE_XORG7),y)
  PANGO_CONF_OPTS += \
  	--x-includes=$(STAGING_DIR)/usr/include/X11 \
  	--x-libraries=$(STAGING_DIR)/usr/lib
  PANGO_DEPENDENCIES += xlib_libX11
  endif
  
  ifeq ($(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yy)
  PANGO_DEPENDENCIES += xlib_libXft xlib_libXrender
  PANGO_CONF_OPTS += --with-xft
  endif
  
  $(eval $(autotools-package))
  $(eval $(host-autotools-package))