Magellan Linux

Annotation of /smage/trunk/core/pango/pango-1.40.12-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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