Contents of /smage/trunk/core/cairo/cairo-1.14.12-r1.smage2
Parent Directory | Revision Log
Revision 11590 -
(show annotations)
(download)
Fri Dec 22 10:41:01 2017 UTC (6 years, 9 months ago) by niro
File size: 1921 byte(s)
Fri Dec 22 10:41:01 2017 UTC (6 years, 9 months ago) by niro
File size: 1921 byte(s)
auto added: ver bump to 1.14.12-r1
1 | # $Id$ |
2 | |
3 | PNAME="cairo" |
4 | PVER="1.14.12" |
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.54 |
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.3 |
23 | >= x11-libs/pixman-0.34 |
24 | >= dev-libs/lzo-2 |
25 | >= virtual/opengl" |
26 | |
27 | # runtime required |
28 | ALX_DEV_DEPEND=">= dev-libs/glib2-dev-2.54 |
29 | >= x11-libs/libXrender-dev-0.9 |
30 | >= x11-libs/libX11-dev-1.6 |
31 | >= x11-libs/libXext-dev-1.3 |
32 | >= x11-libs/libXft-dev-2.2 |
33 | >= media-libs/fontconfig-dev-2.11 |
34 | >= media-libs/freetype-dev-2.6 |
35 | >= sys-libs/zlib-dev-1.2 |
36 | >= media-libs/libpng-dev-1.5 |
37 | >= x11-libs/libxcb-dev-1.11 |
38 | >= x11-libs/xcb-util-dev-0.3 |
39 | >= x11-libs/pixman-dev-0.34 |
40 | >= dev-libs/lzo-dev-2 |
41 | >= virtual/opengl-dev" |
42 | |
43 | SDEPEND=">= dev-util/pkgconfig-0.25 |
44 | >= x11-proto/renderproto-0.11 |
45 | >= x11-proto/xcb-proto-1.11 |
46 | ${ALX_DEV_DEPEND}" |
47 | # >= gnome-base/librsvg-2.40 |
48 | |
49 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
50 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
51 | |
52 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.* |
53 | usr/$(mlibdir)/cairo/*.so.*" |
54 | sminclude multilib mbuild alx-split |
55 | msetfeature "!check" |
56 | |
57 | SRC_URI=( |
58 | http://cairographics.org/releases/${SRCFILE} |
59 | mirror://${PNAME}/${SRCFILE} |
60 | ) |
61 | |
62 | # check stable version |
63 | UP2TAG=releases |
64 | # check dev version |
65 | #UP2TAG=snapshots |
66 | UP2DATE="updatecmd http://cairographics.org/${UP2TAG}/ | grep ]LA.*-${PNAME}- | sed 's/.*ST-${PNAME}-\([0-9\.]*\).*/\1/'" |
67 | |
68 | src_compile() |
69 | { |
70 | mconfigure \ |
71 | --enable-xlib \ |
72 | --enable-freetype \ |
73 | --enable-gl \ |
74 | --enable-gobject \ |
75 | --enable-png \ |
76 | --enable-xcb \ |
77 | --enable-pdf \ |
78 | --enable-png \ |
79 | --enable-ps \ |
80 | --enable-svg \ |
81 | --enable-tee \ |
82 | --disable-gtk-doc \ |
83 | --disable-test-surfaces \ |
84 | || die |
85 | |
86 | mmake || die |
87 | } |
88 |