Magellan Linux

Contents of /smage/branches/alx07x-stable/core/freetype/freetype-2.8-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11383 - (show annotations) (download)
Tue Dec 19 12:29:43 2017 UTC (6 years, 4 months ago) by niro
File size: 1172 byte(s)
-release branches/alx07x-stable
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 }