Magellan Linux

Contents of /smage/branches/alx07x-unstable/core/pango/pango-1.44.7-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14581 - (show annotations) (download)
Tue Aug 4 11:22:29 2020 UTC (3 years, 8 months ago) by niro
File size: 1944 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="pango"
4 PVER="1.44.7"
5 PBUILD="r2"
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.64
20 >= dev-libs/fribidi-1.0
21 >= media-libs/fontconfig-2.11
22 >= media-libs/freetype-2.6
23 >= media-libs/harfbuzz-libs-2.4
24 >= x11-libs/cairo-1.16
25 >= sys-libs/libstdc++-8.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.64
31 >= dev-libs/fribidi-dev-1.0
32 >= media-libs/fontconfig-dev-2.11
33 >= media-libs/freetype-dev-2.6
34 >= media-libs/harfbuzz-2.4
35 >= x11-libs/cairo-dev-1.16
36 >= sys-libs/libstdc++-dev-8.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 introspection 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 }