1 # Maintainer: Estevao Valadao <estevao@archlinux-br.org>
2 # Contributor: Tetsumaki <http://goo.gl/YMBdA>
3 # Contributor: Dave Reisner <d@falconindy.com>
4 # Contributor: Lee.MaRS <leemars@gmail.com>
7 pkgname=freetype2-cleartype
10 pkgdesc="TrueType font rendering library with ClearType patch"
11 arch=('i686' 'x86_64')
13 url="http://freetype.sourceforge.net/"
15 conflicts=('freetype2')
16 provides=("freetype2=$pkgver")
18 source=(http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2
19 freetype-2.2.1-subpixel-disable-quantization.diff
21 freetype-2.3.0-enable-spr.patch
22 freetype-2.2.1-enable-valid.patch
23 freetype-2.2.1-memcpy-fix.patch)
24 md5sums=('dbf2caca1d3afd410a29217a9809d397'
25 '70d23f3557750c0503689d3314958d89'
26 'a26310abfa02cde26cf56a28cf5f0eba'
27 '816dc8619a6904a7385769433c0a8653'
28 '214119610444c9b02766ccee5e220680'
29 '6fb6606d28082ecb8e0c6d986b0b26aa')
32 cd "${srcdir}/freetype-${pkgver}"
33 patch -Np1 -i "${srcdir}/freetype-2.2.1-subpixel-disable-quantization.diff"
34 patch -Np0 -i "${srcdir}/bytecode.patch"
35 patch -Np1 -i "${srcdir}/freetype-2.3.0-enable-spr.patch"
36 patch -Np1 -i "${srcdir}/freetype-2.2.1-enable-valid.patch"
37 patch -Np1 -i "${srcdir}/freetype-2.2.1-memcpy-fix.patch"
39 ./configure --prefix=/usr
44 cd "${srcdir}/freetype-${pkgver}"
45 make DESTDIR="${pkgdir}" install