Contents of /smage/trunk/core/freetype/freetype-2.8-r2.smage2
Parent Directory | Revision Log
Revision 10300 -
(show annotations)
(download)
Thu Aug 17 12:51:50 2017 UTC (7 years, 1 month ago) by niro
File size: 1172 byte(s)
Thu Aug 17 12:51:50 2017 UTC (7 years, 1 month ago) by niro
File size: 1172 byte(s)
auto added: ver bump to 2.8-r2
1 | # $Id$ |
2 | |
3 | PNAME="freetype" |
4 | PVER="2.8" |
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 | >= sys-libs/zlib-1.2" |
14 | |
15 | SDEPEND=">= sys-libs/zlib-dev-1.2" |
16 | |
17 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
19 | |
20 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" |
21 | sminclude multilib alx-split |
22 | |
23 | SRC_URI=( |
24 | http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME}/ | lasttarball" |
29 | |
30 | src_compile() |
31 | { |
32 | # otherwise mkfontscale could SIGSEGV or SIGILL |
33 | # see ( redhat bug 118021 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118021) |
34 | export CFLAGS="${CFLAGS} -fno-strict-aliasing" |
35 | export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" |
36 | |
37 | # disable bzip2 harfbuzz and png support on alx |
38 | mconfigure --with-bzip2=no --with-harfbuzz=no --with-png=no || die |
39 | mmake || die |
40 | } |
41 | |
42 | alx_generic_src_install() |
43 | { |
44 | mmake DESTDIR=${BINDIR} install || die |
45 | |
46 | minstalldocs ChangeLog README README.CVS |
47 | minstalldocs docs/{CHANGES,CUSTOMIZE,PATENTS,*.TXT,*.txt,reference,release,TODO,TRUETYPE} || die |
48 | } |