# Template build file for 'pango'.
pkgname=pango
version=1.28.3
distfiles="${GNOME_SITE}/pango/1.28/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var"
short_desc="Library for layout and rendering of text"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=5e278bc9430cc7bb00270f183360d262c5006b51248e8b537ea904573f200632
long_desc="
 Pango is a library for layout and rendering of text, with an emphasis
 on internationalization. Pango can be used anywhere that text layout
 is needed; however, most of the work on Pango-1.0 was done using the
 GTK+ widget toolkit as a test platform. Pango forms the core of text
 and font handling for GTK+-2.0.

 Pango is designed to be modular; the core Pango layout can be used
 with four different font backends:

  - Core X windowing system fonts
  - Client-side fonts on X using the Xft library
  - Direct rendering of scalable fonts using the FreeType library
  - Native fonts on Microsoft backends

 Dynamically loaded modules then handle text layout for particular
 combinations of script and font backend.

 As well as the low level layout rendering routines, Pango includes
 PangoLayout, a high level driver for laying out entire blocks of text,
 and routines to assist in editing internationalized text."

subpackages="gir-pango pango-devel"
triggers="pango-modules"

Add_dependency run glibc
Add_dependency run glib
Add_dependency run cairo
Add_dependency run fontconfig
Add_dependency run freetype
Add_dependency run libX11
Add_dependency run libXft
Add_dependency run libXrender
Add_dependency build pkg-config
Add_dependency build glib-devel
Add_dependency build cairo-devel
Add_dependency build fontconfig-devel
Add_dependency build freetype-devel
Add_dependency build libX11-devel
Add_dependency build libXft-devel
Add_dependency build libXrender-devel
Add_dependency build gobject-introspection
# XXX Add missing dependency libthai.
