Magellan Linux

Annotation of /smage/trunk/extras/cairo/cairo-1.10.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1686 - (hide annotations) (download)
Tue Apr 5 13:15:01 2011 UTC (13 years, 1 month ago) by niro
File size: 1329 byte(s)
-mcorify
1 niro 1685 # $Id$
2    
3     PNAME="cairo"
4     PVER="1.10.2"
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.4
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.5
20     >= x11-libs/libxcb-1.7
21     >= x11-libs/xcb-util-0.3
22     >= x11-libs/pixman-0.21.6
23     >= virtual/opengl"
24    
25     SDEPEND=">= dev-util/pkgconfig-0.25
26     >= x11-proto/renderproto-0.11
27     >= x11-proto/xcb-proto-1.6"
28    
29     SRCFILE="${PNAME}-${PVER}.tar.gz"
30     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
31    
32 niro 1686 MCORE_ONLY_KEEP="usr/$(mlibdir)/*.so
33     usr/$(mlibdir)/*.so.*
34     usr/$(mlibdir)/cairo/*.so
35     usr/$(mlibdir)/cairo/*.so.*"
36     sminclude mbuild multilib mcore-split
37 niro 1685
38     SRC_URI=(
39     http://cairographics.org/releases/${SRCFILE}
40     mirror://${PNAME}/${SRCFILE}
41     )
42    
43     # check stable version
44     UP2TAG=releases
45     # check dev version
46     #UP2TAG=snapshots
47     UP2DATE="updatecmd http://cairographics.org/${UP2TAG}/ | grep ]LA.*-${PNAME}- | sed 's/.*ST-${PNAME}-\([0-9\.]*\).*/\1/'"
48    
49     src_compile()
50     {
51     mconfigure \
52     --with-x \
53     --enable-png \
54     --enable-xcb \
55     --enable-gl \
56     --enable-pdf \
57     --enable-png \
58     --enable-ps \
59     --disable-gtk-doc \
60     --disable-static \
61     || die
62    
63     mmake || die
64     }