Magellan Linux

Annotation of /trunk/extras/pango/pango-1.42.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30835 - (hide annotations) (download)
Tue Apr 24 06:05:36 2018 UTC (6 years, 1 month ago) by niro
File size: 1438 byte(s)
auto added: ver bump to 1.42.1-r1
1 niro 30835 # $Id$
2    
3     PNAME="pango"
4     PVER="1.42.1"
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     >= dev-libs/fribidi-0.19
17     >= media-libs/fontconfig-2.11
18     >= media-libs/freetype-2.6
19     >= media-libs/harfbuzz-libs-1.5
20     >= x11-libs/cairo-1.14
21     >= sys-libs/libstdc++-6.3"
22    
23     SDEPEND=">= dev-util/pkgconfig-0.25
24     >= media-libs/harfbuzz-1.5
25     >= dev-libs/gobject-introspection-1.54"
26    
27     # simul linux32 to get config things right
28     EMUL_LINUX_32=true
29    
30     sminclude multilib mbuild mtools
31     msetfeature "!check"
32    
33     SRCFILE="${PNAME}-${PVER}.tar.xz"
34     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
35    
36     SRC_URI=(
37     gnome://${PNAME}/${PVER%.*}/${SRCFILE}
38     mirror://${PNAME}/${SRCFILE}
39     )
40    
41     UP2DATE="updatecmd_gnome ${PNAME}"
42    
43     src_compile()
44     {
45     local myconf
46    
47     # build basic-fc as included module
48     myconf+=" --with-included-modules=basic-fc"
49    
50     mconfigure --disable-gtk-doc --enable-introspection ${myconf} || die
51     mmake || die
52     }
53    
54     postinstall()
55     {
56     # remove deprecated pango.modules files
57     local confdir
58     if [[ ${ARCH} = x86_64 ]]
59     then
60     confdir=/etc/pango/i686-pc-linux-gnu
61     if [ -f ${MROOT}/${confdir}/pango.modules ]
62     then
63     rm ${MROOT}/${confdir}/pango.modules
64     fi
65     fi
66     confdir=/etc/pango/${CHOST}
67     if [ -f ${MROOT}/${confdir}/pango.modules ]
68     then
69     rm ${MROOT}/${confdir}/pango.modules
70     fi
71     }