1 # Maintainer: Anonymo <meowdib at gmail dot com>
2 # Maintainer: Luca Bennati <lucak3 at gmail dot com>
8 pkgdesc="TrueType font rendering library for LCD Displays"
11 url="http://freetype.sourceforge.net"
12 depends=('zlib' 'cairo>=1.10.0' 'libxft-lcd')
13 provides=("freetype2=${pkgver}")
14 conflicts=('freetype2' 'freetype2-lcd')
16 source=("http://downloads.sourceforge.net/sourceforge/${_realname}/${_realname}-$pkgver.tar.bz2"
17 freetype-2-quantization_fix.patch
19 md5sums=('dbf2caca1d3afd410a29217a9809d397'
20 '385162f4a3e01653d55ab9a9be0c8808'
21 '5a8171040609dc6f67048e955b5b1324')
24 cd "${srcdir}/${_realname}-${pkgver}"
26 cp ../../ftoption.h include/freetype/config/ftoption.h
27 cp ../../freetype-2-quantization_fix.patch src/autofit/freetype-2-quantization_fix.patch
29 patch -p0 -i freetype-2-quantization_fix.patch
32 ./configure --prefix=/usr
37 cd "${srcdir}/${_realname}-${pkgver}"
39 make DESTDIR="${pkgdir}" install