Magellan Linux

Contents of /smage/trunk/core/cairo/cairo-1.12.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3837 - (show annotations) (download)
Thu Jul 19 13:23:03 2012 UTC (11 years, 10 months ago) by niro
File size: 1317 byte(s)
-moved to 'core'
1 # $Id$
2
3 PNAME="cairo"
4 PVER="1.12.2"
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 --with-x \
50 --with-xlib \
51 --with-xlib-xrender \
52 --enable-freetype \
53 --enable-png \
54 --enable-xcb \
55 --enable-pdf \
56 --enable-png \
57 --enable-ps \
58 --enable-tee \
59 --disable-gtk-doc \
60 --disable-static \
61 || die
62
63 mmake || die
64 }
65