Magellan Linux

Contents of /branches/magellan-next/core/cairo/cairo-1.8.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6315 - (show annotations) (download)
Fri Aug 20 15:08:08 2010 UTC (13 years, 9 months ago) by niro
File size: 1258 byte(s)
auto added: ver bump to 1.8.10-r1
1 # $Id: cairo-1.8.8-r1.smage2 3393 2009-10-20 21:48:40Z niro $
2
3 PNAME="cairo"
4 PVER="1.8.10"
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
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.4
20 >= media-libs/glitz-0.5
21 >= x11-libs/libxcb-1.7
22 >= x11-libs/xcb-util-0.3
23 >= x11-libs/pixman-0.18.4"
24
25 SDEPEND=">= dev-util/pkgconfig-0.25
26 >= x11-proto/renderproto-0.9
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-glitz \
51 --enable-xcb \
52 --enable-pdf \
53 --enable-png \
54 --enable-ps \
55 --disable-gtk-doc \
56 --disable-static \
57 || die
58
59 mmake || die
60 }