Contents of /smage/trunk/core/pango/pango-1.42.4-r1.smage2
Parent Directory | Revision Log
Revision 12051 -
(show annotations)
(download)
Tue Aug 21 12:21:09 2018 UTC (6 years, 1 month ago) by niro
File size: 2041 byte(s)
Tue Aug 21 12:21:09 2018 UTC (6 years, 1 month ago) by niro
File size: 2041 byte(s)
auto added: ver bump to 1.42.4-r1
1 | # $Id$ |
2 | |
3 | PNAME="pango" |
4 | PVER="1.42.4" |
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_x86_64=">= sys-apps/multiarch-wrapper-1" |
13 | SPECIAL_VARS="DEPEND_x86_64" |
14 | |
15 | DEPEND="$(marchdepend) |
16 | >= x11-libs/libXrender-0.9 |
17 | >= x11-libs/libX11-1.6 |
18 | >= x11-libs/libXft-2 |
19 | >= dev-libs/glib2-2.54 |
20 | >= dev-libs/fribidi-0.19 |
21 | >= media-libs/fontconfig-2.11 |
22 | >= media-libs/freetype-2.6 |
23 | >= media-libs/harfbuzz-libs-1.7 |
24 | >= x11-libs/cairo-1.14 |
25 | >= sys-libs/libstdc++-6.3" |
26 | |
27 | ALX_DEV_DEPEND=">= x11-libs/libXrender-dev-0.9 |
28 | >= x11-libs/libX11-dev-1.6 |
29 | >= x11-libs/libXft-dev-2 |
30 | >= dev-libs/glib2-dev-2.54 |
31 | >= dev-libs/fribidi-dev-0.19 |
32 | >= media-libs/fontconfig-dev-2.11 |
33 | >= media-libs/freetype-dev-2.6 |
34 | >= media-libs/harfbuzz-1.7 |
35 | >= x11-libs/cairo-dev-1.14 |
36 | >= sys-libs/libstdc++-dev-6.3" |
37 | |
38 | SDEPEND=">= dev-util/pkgconfig-0.25 |
39 | ${ALX_DEV_DEPEND}" |
40 | |
41 | # simul linux32 to get config things right |
42 | EMUL_LINUX_32=true |
43 | |
44 | ALX_PKG_KEEP="etc/pango |
45 | usr/bin/pango-querymodules |
46 | usr/$(mlibdir)/*.so.* |
47 | usr/$(mlibdir)/pango/1.6.0/modules/pango-basic-fc.so |
48 | usr/$(mlibdir)/pango/1.6.0/modules/pango-basic-x.so" |
49 | sminclude multilib mbuild mtools alx-split |
50 | msetfeature "!check" |
51 | |
52 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
53 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
54 | |
55 | SRC_URI=( |
56 | gnome://${PNAME}/${PVER%.*}/${SRCFILE} |
57 | mirror://${PNAME}/${SRCFILE} |
58 | ) |
59 | |
60 | UP2DATE="updatecmd_gnome ${PNAME}" |
61 | |
62 | src_compile() |
63 | { |
64 | local myconf |
65 | |
66 | # build basic-fc as included module |
67 | myconf+=" --with-included-modules=basic-fc" |
68 | |
69 | mconfigure --disable-gtk-doc --disable-introspection ${myconf} || die |
70 | mmake || die |
71 | } |
72 | |
73 | preinstall() |
74 | { |
75 | add_conf_prot_mask /etc/pango |
76 | } |
77 | |
78 | postinstall() |
79 | { |
80 | # remove deprecated pango.modules files |
81 | local confdir |
82 | if [[ ${ARCH} = x86_64 ]] |
83 | then |
84 | confdir=/etc/pango/i686-pc-linux-gnu |
85 | if [ -f ${MROOT}/${confdir}/pango.modules ] |
86 | then |
87 | rm ${MROOT}/${confdir}/pango.modules |
88 | fi |
89 | fi |
90 | confdir=/etc/pango/${CHOST} |
91 | if [ -f ${MROOT}/${confdir}/pango.modules ] |
92 | then |
93 | rm ${MROOT}/${confdir}/pango.modules |
94 | fi |
95 | } |