Magellan Linux

Annotation of /smage/branches/alx-0_6_0/extras/cairo/cairo-1.10.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2647 - (hide annotations) (download)
Mon Jul 11 09:40:01 2011 UTC (13 years, 3 months ago) by niro
File size: 1306 byte(s)
auto added: ver bump to 1.10.2-r1
1 niro 2647 # $Id$
2    
3     PNAME="cairo"
4     PVER="1.10.2"
5     PBUILD="r1"
6    
7     PCATEGORIE="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=">= x11-libs/libXrender-0.9
13     >= x11-libs/libX11-1.4
14     >= x11-libs/libXft-2
15     >= media-libs/fontconfig-2.8
16     >= media-libs/freetype-2.4
17     >= sys-libs/zlib-1.2
18     >= media-libs/libpng-1.5
19     >= x11-libs/libxcb-1.7
20     >= x11-libs/xcb-util-0.3
21     >= x11-libs/pixman-0.22
22     >= virtual/opengl"
23    
24     SDEPEND=">= dev-util/pkgconfig-0.25
25     >= x11-proto/renderproto-0.11
26     >= x11-proto/xcb-proto-1.6"
27    
28     SRCFILE="${PNAME}-${PVER}.tar.gz"
29     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
30    
31     ALX_ONLY_KEEP="usr/$(mlibdir)/*.so
32     usr/$(mlibdir)/*.so.*
33     usr/$(mlibdir)/cairo/*.so
34     usr/$(mlibdir)/cairo/*.so.*"
35     sminclude mbuild multilib alx-split
36    
37     SRC_URI=(
38     http://cairographics.org/releases/${SRCFILE}
39     mirror://${PNAME}/${SRCFILE}
40     )
41    
42     # check stable version
43     UP2TAG=releases
44     # check dev version
45     #UP2TAG=snapshots
46     UP2DATE="updatecmd http://cairographics.org/${UP2TAG}/ | grep ]LA.*-${PNAME}- | sed 's/.*ST-${PNAME}-\([0-9\.]*\).*/\1/'"
47    
48     src_compile()
49     {
50     mconfigure \
51     --with-x \
52     --enable-png \
53     --enable-xcb \
54     --enable-gl \
55     --enable-pdf \
56     --enable-png \
57     --enable-ps \
58     --disable-gtk-doc \
59     --disable-static \
60     || die
61    
62     mmake || die
63     }