Magellan Linux

Annotation of /trunk/extras/cairo/cairo-1.14.12-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30438 - (hide annotations) (download)
Mon Jan 22 12:59:21 2018 UTC (6 years, 5 months ago) by niro
File size: 1384 byte(s)
auto added: ver bump to 1.14.12-r1
1 niro 30438 # $Id$
2    
3     PNAME="cairo"
4     PVER="1.14.12"
5     PBUILD="r1"
6    
7     PCAT="x11-libs"
8    
9     DESCRIPTION="Cairo is a 2D graphics library with support for multiple output devices."
10     HOMEPAGE="http://cairographics.org/"
11    
12     DEPEND=">= dev-libs/glib2-2.46
13     >= x11-libs/libXrender-0.9
14     >= x11-libs/libX11-1.6
15     >= x11-libs/libXext-1.3
16     >= x11-libs/libXft-2.2
17     >= media-libs/fontconfig-2.11
18     >= media-libs/freetype-2.6
19     >= sys-libs/zlib-1.2
20     >= media-libs/libpng-1.5
21     >= x11-libs/libxcb-1.11
22     >= x11-libs/xcb-util-0.5
23     >= x11-libs/pixman-0.32
24     >= dev-libs/lzo-2
25     >= virtual/opengl"
26    
27     SDEPEND=">= dev-util/pkgconfig-0.25
28     >= x11-proto/renderproto-0.11
29     >= x11-proto/xcb-proto-1.11
30     >= gnome-base/librsvg-2.40"
31    
32     SRCFILE="${PNAME}-${PVER}.tar.xz"
33     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
34    
35     sminclude multilib mbuild
36     msetfeature "!check"
37    
38     SRC_URI=(
39     http://cairographics.org/releases/${SRCFILE}
40     mirror://${PNAME}/${SRCFILE}
41     )
42    
43     # check stable version
44     UP2TAG=releases
45     # check dev version
46     #UP2TAG=snapshots
47     UP2DATE="updatecmd http://cairographics.org/${UP2TAG}/ | grep ]LA.*-${PNAME}- | sed 's/.*ST-${PNAME}-\([0-9\.]*\).*/\1/'"
48    
49     src_compile()
50     {
51     mconfigure \
52     --enable-xlib \
53     --enable-freetype \
54     --enable-gl \
55     --enable-gobject \
56     --enable-png \
57     --enable-xcb \
58     --enable-pdf \
59     --enable-png \
60     --enable-ps \
61     --enable-svg \
62     --enable-tee \
63     --disable-gtk-doc \
64     --disable-test-surfaces \
65     || die
66    
67     mmake || die
68     }