Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13824 - (hide annotations) (download)
Mon Nov 25 10:34:15 2019 UTC (4 years, 5 months ago) by niro
File size: 1936 byte(s)
auto added: ver bump to 1.44.7-r1
1 niro 13824 # $Id$
2    
3     PNAME="pango"
4     PVER="1.44.7"
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.58
20     >= dev-libs/fribidi-0.19
21     >= media-libs/fontconfig-2.11
22     >= media-libs/freetype-2.6
23     >= media-libs/harfbuzz-libs-2.0
24     >= x11-libs/cairo-1.16
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.58
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-2.0
35     >= x11-libs/cairo-dev-1.16
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 configthings 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 meson 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     meson_src_compile $(meson_opt gir false) $(meson_opt enable_docs false) || die
65     }
66    
67     preinstall()
68     {
69     add_conf_prot_mask /etc/pango
70     }
71    
72     postinstall()
73     {
74     # remove deprecated pango.modules files
75     local confdir
76     if [[ ${ARCH} = x86_64 ]]
77     then
78     confdir=/etc/pango/i686-pc-linux-gnu
79     if [ -f ${MROOT}/${confdir}/pango.modules ]
80     then
81     rm ${MROOT}/${confdir}/pango.modules
82     fi
83     fi
84     confdir=/etc/pango/${CHOST}
85     if [ -f ${MROOT}/${confdir}/pango.modules ]
86     then
87     rm ${MROOT}/${confdir}/pango.modules
88     fi
89     }