Contents of /branches/R11-stable/extras/cairo/cairo-1.12.16-r1.smage2
Parent Directory | Revision Log
Revision 20083 -
(show annotations)
(download)
Tue Nov 26 10:01:03 2013 UTC (10 years, 10 months ago) by niro
File size: 1267 byte(s)
Tue Nov 26 10:01:03 2013 UTC (10 years, 10 months ago) by niro
File size: 1267 byte(s)
-moved to extras
1 | # $Id$ |
2 | |
3 | PNAME="cairo" |
4 | PVER="1.12.16" |
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=">= 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 | |
23 | SDEPEND=">= dev-util/pkgconfig-0.25 |
24 | >= x11-proto/renderproto-0.11 |
25 | >= x11-proto/xcb-proto-1.8" |
26 | |
27 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
28 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
29 | |
30 | sminclude mbuild multilib |
31 | msetfeature "!check" |
32 | |
33 | SRC_URI=( |
34 | http://cairographics.org/releases/${SRCFILE} |
35 | mirror://${PNAME}/${SRCFILE} |
36 | ) |
37 | |
38 | # check stable version |
39 | UP2TAG=releases |
40 | # check dev version |
41 | #UP2TAG=snapshots |
42 | UP2DATE="updatecmd http://cairographics.org/${UP2TAG}/ | grep ]LA.*-${PNAME}- | sed 's/.*ST-${PNAME}-\([0-9\.]*\).*/\1/'" |
43 | |
44 | src_compile() |
45 | { |
46 | mconfigure \ |
47 | --enable-xlib \ |
48 | --enable-freetype \ |
49 | --enable-gl \ |
50 | --enable-gobject \ |
51 | --enable-png \ |
52 | --enable-xcb \ |
53 | --enable-pdf \ |
54 | --enable-png \ |
55 | --enable-ps \ |
56 | --enable-svg \ |
57 | --enable-tee \ |
58 | --disable-gtk-doc \ |
59 | --disable-test-surfaces \ |
60 | || die |
61 | |
62 | mmake || die |
63 | } |