Contents of /smage/trunk/core/cairo/cairo-1.12.8-r1.smage2
Parent Directory | Revision Log
Revision 4180 -
(show annotations)
(download)
Wed Nov 7 15:56:51 2012 UTC (11 years, 10 months ago) by niro
File size: 1344 byte(s)
Wed Nov 7 15:56:51 2012 UTC (11 years, 10 months ago) by niro
File size: 1344 byte(s)
auto added: ver bump to 1.12.8-r1
1 | # $Id$ |
2 | |
3 | PNAME="cairo" |
4 | PVER="1.12.8" |
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.4 |
14 | >= x11-libs/libXft-2.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.8 |
20 | >= x11-libs/xcb-util-0.3 |
21 | >= x11-libs/pixman-0.26" |
22 | |
23 | SDEPEND=">= dev-util/pkgconfig-0.25 |
24 | >= x11-proto/renderproto-0.11 |
25 | >= x11-proto/xcb-proto-1.6" |
26 | |
27 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
28 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
29 | |
30 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.* |
31 | usr/$(mlibdir)/cairo/*.so.*" |
32 | sminclude mbuild multilib alx-split |
33 | msetfeature "!check" |
34 | |
35 | SRC_URI=( |
36 | http://cairographics.org/releases/${SRCFILE} |
37 | mirror://${PNAME}/${SRCFILE} |
38 | ) |
39 | |
40 | # check stable version |
41 | UP2TAG=releases |
42 | # check dev version |
43 | #UP2TAG=snapshots |
44 | UP2DATE="updatecmd http://cairographics.org/${UP2TAG}/ | grep ]LA.*-${PNAME}- | sed 's/.*ST-${PNAME}-\([0-9\.]*\).*/\1/'" |
45 | |
46 | src_compile() |
47 | { |
48 | mconfigure \ |
49 | --enable-xlib \ |
50 | --enable-freetype \ |
51 | --enable-gl \ |
52 | --enable-gobject \ |
53 | --enable-png \ |
54 | --enable-xcb \ |
55 | --enable-pdf \ |
56 | --enable-png \ |
57 | --enable-ps \ |
58 | --disable-svg \ |
59 | --enable-tee \ |
60 | --disable-gtk-doc \ |
61 | --disable-test-surfaces \ |
62 | || die |
63 | |
64 | mmake || die |
65 | } |
66 |