Contents of /trunk/core/freetype/freetype-2.6-r2.smage2
Parent Directory | Revision Log
Revision 26136 -
(show annotations)
(download)
Tue Jun 16 09:59:52 2015 UTC (8 years, 11 months ago) by niro
File size: 1097 byte(s)
Tue Jun 16 09:59:52 2015 UTC (8 years, 11 months ago) by niro
File size: 1097 byte(s)
-rebuild against split-harfbuzz
1 | # $Id$ |
2 | |
3 | PNAME="freetype" |
4 | PVER="2.6" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="media-libs" |
8 | |
9 | DESCRIPTION="truetype font rendering libraries." |
10 | HOMEPAGE="http://www.freetype.org/" |
11 | |
12 | DEPEND=">= virtual/glibc |
13 | >= media-libs/harfbuzz-libs-0.9 |
14 | >= media-libs/libpng-1.5 |
15 | >= sys-libs/zlib-1.2 |
16 | >= app-arch/bzip2-1" |
17 | |
18 | SDEPEND=">= media-libs/harfbuzz-0.9" |
19 | |
20 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
22 | |
23 | sminclude multilib |
24 | |
25 | SRC_URI=( |
26 | http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${SRCFILE} |
28 | ) |
29 | |
30 | UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME}/ | lasttarball" |
31 | |
32 | src_compile() |
33 | { |
34 | # otherwise mkfontscale could SIGSEGV or SIGILL |
35 | # see ( redhat bug 118021 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118021) |
36 | export CFLAGS="${CFLAGS} -fno-strict-aliasing" |
37 | export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" |
38 | |
39 | mconfigure || die |
40 | mmake || die |
41 | } |
42 | |
43 | src_install() |
44 | { |
45 | mmake DESTDIR=${BINDIR} install || die |
46 | |
47 | minstalldocs ChangeLog README README.CVS |
48 | minstalldocs docs/{CHANGES,CUSTOMIZE,PATENTS,*.TXT,*.txt,reference,release,TODO,TRUETYPE} || die |
49 | } |