Contents of /trunk/extras/pango/pango-1.44.6-r1.smage2
Parent Directory | Revision Log
Revision 33059 -
(show annotations)
(download)
Thu Oct 17 13:24:18 2019 UTC (4 years, 11 months ago) by niro
File size: 1333 byte(s)
Thu Oct 17 13:24:18 2019 UTC (4 years, 11 months ago) by niro
File size: 1333 byte(s)
auto added: ver bump to 1.44.6-r1
1 | # $Id$ |
2 | |
3 | PNAME="pango" |
4 | PVER="1.44.6" |
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.62 |
16 | >= dev-libs/fribidi-1.0 |
17 | >= media-libs/fontconfig-2.11 |
18 | >= media-libs/freetype-2.6 |
19 | >= media-libs/harfbuzz-libs-2.4 |
20 | >= x11-libs/cairo-1.16 |
21 | >= sys-libs/libstdc++-9.2" |
22 | |
23 | SDEPEND=">= dev-util/pkgconfig-0.25 |
24 | >= media-libs/harfbuzz-2.4 |
25 | >= dev-libs/gobject-introspection-1.62" |
26 | |
27 | # simul linux32 to get config things right |
28 | EMUL_LINUX_32=true |
29 | |
30 | sminclude multilib meson 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 | meson_src_compile $(meson_opt gir true) $(meson_opt enable_docs false) || die |
46 | } |
47 | |
48 | postinstall() |
49 | { |
50 | # remove deprecated pango.modules files |
51 | local confdir |
52 | if [[ ${ARCH} = x86_64 ]] |
53 | then |
54 | confdir=/etc/pango/i686-pc-linux-gnu |
55 | if [ -f ${MROOT}/${confdir}/pango.modules ] |
56 | then |
57 | rm ${MROOT}/${confdir}/pango.modules |
58 | fi |
59 | fi |
60 | confdir=/etc/pango/${CHOST} |
61 | if [ -f ${MROOT}/${confdir}/pango.modules ] |
62 | then |
63 | rm ${MROOT}/${confdir}/pango.modules |
64 | fi |
65 | } |