# Template build file for 'fontconfig'.
pkgname=fontconfig
version=2.8.0
revision=2
distfiles="ftp://mirror.ovh.net/gentoo-distfiles/distfiles/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-docs --with-cache-dir=/var/cache/$pkgname"
short_desc="Library for configuring and customizing font access"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=fa2a1c6eea654d9fce7a4b1220f10c99cdec848dccaf1625c01f076b31382335
long_desc="
 Fontconfig is a library for configuring and customizing font access.

 Fontconfig can:
 * discover new fonts when installed automatically, removing a common
   source of configuration problems.
 * perform font name substitution, so that appropriate alternative fonts
   can be selected if fonts are missing.
 * identify the set of fonts required to completely cover a set of
   languages.
 * have GUI configuration tools built as it uses an XML-based
   configuration file (though with autodiscovery, we believe this need is
   minimized).
 * efficiently and quickly find the fonts you need among the set of fonts
   you have installed, even if you have installed thousands of fonts,
   while minimizing memory usage.
 * be used in concert with the X Render Extension and FreeType to
   implement high quality, anti-aliased and subpixel rendered text on a
   display.

 Fontconfig does not:
 * render the fonts themselves (this is left to FreeType or other
   rendering mechanisms).
 * depend on the X Window System in any fashion, so that printer only
   applications do not have such dependencies."

conf_files="/etc/fonts/fonts.conf"
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run expat
Add_dependency run freetype
Add_dependency run zlib
Add_dependency build pkg-config
Add_dependency build expat-devel
Add_dependency build freetype-devel
Add_dependency build zlib-devel
