Magellan Linux

Annotation of /smage/trunk/extras/cairo/cairo-1.10.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1685 - (hide annotations) (download)
Tue Apr 5 13:00:48 2011 UTC (13 years, 1 month ago) by niro
File size: 1197 byte(s)
auto added: ver bump to 1.10.2-r1
1 niro 1685 # $Id$
2    
3     PNAME="cairo"
4     PVER="1.10.2"
5     PBUILD="r1"
6    
7     PCATEGORIE="x11-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="Cairo is a 2D graphics library with support for multiple output devices."
11     HOMEPAGE="http://cairographics.org/"
12    
13     DEPEND=">= x11-libs/libXrender-0.9
14     >= x11-libs/libX11-1.4
15     >= x11-libs/libXft-2
16     >= media-libs/fontconfig-2.8
17     >= media-libs/freetype-2.4
18     >= sys-libs/zlib-1.2
19     >= media-libs/libpng-1.5
20     >= x11-libs/libxcb-1.7
21     >= x11-libs/xcb-util-0.3
22     >= x11-libs/pixman-0.21.6
23     >= virtual/opengl"
24    
25     SDEPEND=">= dev-util/pkgconfig-0.25
26     >= x11-proto/renderproto-0.11
27     >= x11-proto/xcb-proto-1.6"
28    
29     SRCFILE="${PNAME}-${PVER}.tar.gz"
30     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
31    
32     sminclude mbuild multilib
33    
34     SRC_URI=(
35     http://cairographics.org/releases/${SRCFILE}
36     mirror://${PNAME}/${SRCFILE}
37     )
38    
39     # check stable version
40     UP2TAG=releases
41     # check dev version
42     #UP2TAG=snapshots
43     UP2DATE="updatecmd http://cairographics.org/${UP2TAG}/ | grep ]LA.*-${PNAME}- | sed 's/.*ST-${PNAME}-\([0-9\.]*\).*/\1/'"
44    
45     src_compile()
46     {
47     mconfigure \
48     --with-x \
49     --enable-png \
50     --enable-xcb \
51     --enable-gl \
52     --enable-pdf \
53     --enable-png \
54     --enable-ps \
55     --disable-gtk-doc \
56     --disable-static \
57     || die
58    
59     mmake || die
60     }