2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'fontconfig'.
|
|
|
|
pkgname=fontconfig
|
|
|
|
version=2.6.0
|
2008-10-02 07:09:21 +00:00
|
|
|
patch_files="$pkgname-Makefile-fc-cache.diff"
|
2008-10-28 22:57:52 +00:00
|
|
|
distfiles="http://www.fontconfig.org/release/$pkgname-$version.tar.gz"
|
2008-10-02 07:09:21 +00:00
|
|
|
build_style=gnu_configure
|
2008-10-13 05:32:05 +00:00
|
|
|
configure_args="--with-add-fonts=$XBPS_MASTERDIR/lib/X11/fonts
|
|
|
|
--enable-docs --with-default-fonts=$XBPS_MASTERDIR/lib/X11/fonts"
|
|
|
|
make_cmd="$XBPS_MASTERDIR/bin/gmake"
|
2008-10-02 07:09:21 +00:00
|
|
|
pkgconfig_override="fontconfig.pc"
|
|
|
|
short_desc="Library for configuring and customizing font access"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=2fea7fa3fe1757b58ce53c4225b9f8e6ec7507bf
|
|
|
|
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."
|
2008-10-06 14:57:36 +00:00
|
|
|
|
|
|
|
# Run fc-cache once installed.
|
|
|
|
postinstall_helpers="fontconfig-update.sh"
|