Contents of /trunk/extras/pango/pango-1.40.14-r1.smage2
Parent Directory | Revision Log
Revision 30273 -
(show annotations)
(download)
Thu Nov 16 07:49:35 2017 UTC (6 years, 10 months ago) by niro
File size: 1413 byte(s)
Thu Nov 16 07:49:35 2017 UTC (6 years, 10 months ago) by niro
File size: 1413 byte(s)
auto added: ver bump to 1.40.14-r1
1 | # $Id$ |
2 | |
3 | PNAME="pango" |
4 | PVER="1.40.14" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="x11-libs" |
8 | |
9 | DESCRIPTION="Library for layout and rendering of internationalized text." |
10 | HOMEPAGE="http://www.pango.org/" |
11 | |
12 | DEPEND=">= x11-libs/libXrender-0.9 |
13 | >= x11-libs/libX11-1.6 |
14 | >= x11-libs/libXft-2 |
15 | >= dev-libs/glib2-2.54 |
16 | >= media-libs/fontconfig-2.11 |
17 | >= media-libs/freetype-2.6 |
18 | >= media-libs/harfbuzz-libs-1.5 |
19 | >= x11-libs/cairo-1.14 |
20 | >= sys-libs/libstdc++-6.3" |
21 | |
22 | SDEPEND=">= dev-util/pkgconfig-0.25 |
23 | >= media-libs/harfbuzz-1.5 |
24 | >= dev-libs/gobject-introspection-1.54" |
25 | |
26 | # simul linux32 to get config things right |
27 | EMUL_LINUX_32=true |
28 | |
29 | sminclude multilib mbuild mtools |
30 | msetfeature "!check" |
31 | |
32 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
33 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
34 | |
35 | SRC_URI=( |
36 | gnome://${PNAME}/${PVER%.*}/${SRCFILE} |
37 | mirror://${PNAME}/${SRCFILE} |
38 | ) |
39 | |
40 | UP2DATE="updatecmd_gnome ${PNAME}" |
41 | |
42 | src_compile() |
43 | { |
44 | local myconf |
45 | |
46 | # build basic-fc as included module |
47 | myconf+=" --with-included-modules=basic-fc" |
48 | |
49 | mconfigure --disable-gtk-doc --enable-introspection ${myconf} || die |
50 | mmake || die |
51 | } |
52 | |
53 | postinstall() |
54 | { |
55 | # remove deprecated pango.modules files |
56 | local confdir |
57 | if [[ ${ARCH} = x86_64 ]] |
58 | then |
59 | confdir=/etc/pango/i686-pc-linux-gnu |
60 | if [ -f ${MROOT}/${confdir}/pango.modules ] |
61 | then |
62 | rm ${MROOT}/${confdir}/pango.modules |
63 | fi |
64 | fi |
65 | confdir=/etc/pango/${CHOST} |
66 | if [ -f ${MROOT}/${confdir}/pango.modules ] |
67 | then |
68 | rm ${MROOT}/${confdir}/pango.modules |
69 | fi |
70 | } |