Contents of /branches/R11-stable/extras/cairo/cairo-1.12.16-r2.smage2
Parent Directory | Revision Log
Revision 21702 -
(show annotations)
(download)
Mon Jul 21 09:35:32 2014 UTC (9 years, 11 months ago) by niro
File size: 1286 byte(s)
Mon Jul 21 09:35:32 2014 UTC (9 years, 11 months ago) by niro
File size: 1286 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="cairo" |
4 | PVER="1.12.16" |
5 | PBUILD="r2" |
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=">= x11-libs/libXrender-0.9 |
13 | >= x11-libs/libX11-1.6 |
14 | >= x11-libs/libXft-2.2 |
15 | >= media-libs/fontconfig-2.10 |
16 | >= media-libs/freetype-2.4 |
17 | >= sys-libs/zlib-1.2 |
18 | >= media-libs/libpng-1.5 |
19 | >= x11-libs/libxcb-1.9 |
20 | >= x11-libs/xcb-util-0.3 |
21 | >= x11-libs/pixman-0.30 |
22 | >= dev-libs/lzo-2" |
23 | |
24 | SDEPEND=">= dev-util/pkgconfig-0.25 |
25 | >= x11-proto/renderproto-0.11 |
26 | >= x11-proto/xcb-proto-1.8" |
27 | |
28 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
29 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
30 | |
31 | sminclude mbuild multilib |
32 | msetfeature "!check" |
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 | --enable-xlib \ |
49 | --enable-freetype \ |
50 | --enable-gl \ |
51 | --enable-gobject \ |
52 | --enable-png \ |
53 | --enable-xcb \ |
54 | --enable-pdf \ |
55 | --enable-png \ |
56 | --enable-ps \ |
57 | --enable-svg \ |
58 | --enable-tee \ |
59 | --disable-gtk-doc \ |
60 | --disable-test-surfaces \ |
61 | || die |
62 | |
63 | mmake || die |
64 | } |