Annotation of /trunk/extras/fontforge/fontforge-20110222-r2.smage2
Parent Directory | Revision Log
Revision 29226 -
(hide annotations)
(download)
Tue May 30 09:31:46 2017 UTC (7 years, 4 months ago) by niro
File size: 1273 byte(s)
Tue May 30 09:31:46 2017 UTC (7 years, 4 months ago) by niro
File size: 1273 byte(s)
-rebuild against libjpeg-turbo
1 | niro | 29226 | # $Id$ |
2 | |||
3 | PNAME="fontforge" | ||
4 | PVER="20110222" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="media-gfx" | ||
8 | |||
9 | DESCRIPTION="Font editor and converter." | ||
10 | HOMEPAGE="http://fontforge.sourceforge.net/" | ||
11 | |||
12 | DEPEND=">= dev-libs/libxml2-2.7 | ||
13 | >= media-libs/freetype-2.4 | ||
14 | >= media-libs/giflib-4.1 | ||
15 | >= virtual/libjpeg | ||
16 | >= media-libs/libpng-1.5 | ||
17 | >= media-libs/libtiff-4 | ||
18 | >= x11-libs/cairo-1.10 | ||
19 | >= x11-libs/pango-1.29 | ||
20 | >= x11-libs/libXi-1.4" | ||
21 | |||
22 | SDEPEND=">= sys-dev/gettext-0.18 | ||
23 | >= x11-proto/inputproto-2" | ||
24 | |||
25 | SRCFILE="${PNAME}_full-${PVER}.tar.bz2" | ||
26 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
27 | |||
28 | sminclude mtools | ||
29 | |||
30 | SRC_URI=( | ||
31 | sourceforge://${PNAME}/${SRCFILE} | ||
32 | http://fontforge.sourceforge.net/cidmaps.tgz | ||
33 | mirror://${PNAME}/${SRCFILE} | ||
34 | mirror://${PNAME}/cidmaps.tgz | ||
35 | ) | ||
36 | |||
37 | UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-source - ${PNAME}_full" | ||
38 | |||
39 | src_prepare() | ||
40 | { | ||
41 | munpack ${SRCFILE} || die | ||
42 | install -d ${BUILDDIR}/cidmaps || die | ||
43 | munpack cidmaps.tgz ${BUILDDIR}/cidmaps || die | ||
44 | } | ||
45 | |||
46 | src_compile() | ||
47 | { | ||
48 | cd ${SRCDIR} | ||
49 | |||
50 | mconfigure \ | ||
51 | --with-multilayer \ | ||
52 | --without-freetype-src \ | ||
53 | --with-x \ | ||
54 | --with-pango \ | ||
55 | --with-cairo \ | ||
56 | || die | ||
57 | |||
58 | mmake || die | ||
59 | } | ||
60 | |||
61 | src_install() | ||
62 | { | ||
63 | cd ${SRCDIR} || die | ||
64 | minstall || die | ||
65 | |||
66 | # install cidmaps | ||
67 | minstallfile ${BUILDDIR}/cidmaps/\*.cidmap /usr/share/fontforge || die | ||
68 | |||
69 | minstalldocs AUTHORS README* VERSION || die | ||
70 | } |