Magellan Linux

Annotation of /trunk/extras/cairo/cairo-1.16.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31588 - (hide annotations) (download)
Mon Dec 3 09:53:11 2018 UTC (5 years, 6 months ago) by niro
File size: 1369 byte(s)
auto added: ver bump to 1.16.0-r1
1 niro 31588 # $Id$
2    
3     PNAME="cairo"
4     PVER="1.16.0"
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=">= dev-libs/glib2-2.58
13     >= x11-libs/libXrender-0.9
14     >= x11-libs/libX11-1.6
15     >= x11-libs/libXext-1.3
16     >= x11-libs/libXft-2.2
17     >= media-libs/fontconfig-2.11
18     >= media-libs/freetype-2.6
19     >= sys-libs/zlib-1.2
20     >= media-libs/libpng-1.5
21     >= x11-libs/libxcb-1.11
22     >= x11-libs/xcb-util-0.5
23     >= x11-libs/pixman-0.36
24     >= dev-libs/lzo-2
25     >= virtual/opengl"
26    
27     SDEPEND=">= dev-util/pkgconfig-0.25
28     >= virtual/renderproto
29     >= virtual/xcb-proto
30     >= gnome-base/librsvg-2.40"
31    
32     SRCFILE="${PNAME}-${PVER}.tar.xz"
33     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
34    
35     sminclude multilib mbuild
36     msetfeature "!check"
37    
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     --enable-xlib \
53     --enable-freetype \
54     --enable-gl \
55     --enable-gobject \
56     --enable-png \
57     --enable-xcb \
58     --enable-pdf \
59     --enable-png \
60     --enable-ps \
61     --enable-svg \
62     --enable-tee \
63     --disable-gtk-doc \
64     --disable-test-surfaces \
65     || die
66    
67     mmake || die
68     }