]> git.pld-linux.org Git - packages/cairo.git/blame - cairo.spec
- added glitz patch (updates for recently released glitz 0.4.0)
[packages/cairo.git] / cairo.spec
CommitLineData
b7ccdbe1
JB
1Summary: Cairo - multi-platform 2D graphics library
2Summary(pl): Cairo - wieloplatformowa biblioteka graficzna 2D
8c7ef450 3Name: cairo
e75eb660 4Version: 0.3.0
5Release: 1
9b33cbb5 6License: LGPL v2.1 or MPL v1.1
b7ccdbe1 7Group: Libraries
56de7934 8Source0: http://cairographics.org/snapshots/%{name}-%{version}.tar.gz
e75eb660 9# Source0-md5: 78c1a536d3a45bdc06a8335d33e63d8f
7e0fea94 10Patch0: %{name}-glitz.patch
8c7ef450 11URL: http://cairographics.org/
b7ccdbe1
JB
12BuildRequires: autoconf
13BuildRequires: automake
9bc5a16c
JB
14BuildRequires: fontconfig-devel
15BuildRequires: freetype-devel >= 2.1.0
7e0fea94 16BuildRequires: glitz-devel >= 0.4.0
89d00abb 17BuildRequires: libpixman-devel >= 0.1.2
9bc5a16c 18BuildRequires: libpng-devel
b7ccdbe1
JB
19BuildRequires: libtool
20BuildRequires: pkgconfig
9bc5a16c
JB
21#BuildRequires: xcb-devel (http://freedesktop.org/software/xcb - CVS only, not released yet)
22BuildRequires: xrender-devel >= 0.6
23BuildRequires: zlib-devel
9b33cbb5 24Requires: freetype >= 2.1.0
7e0fea94 25Requires: glitz >= 0.4.0
89d00abb 26Requires: libpixman >= 0.1.2
b7ccdbe1 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
8c7ef450 28
29%description
b7ccdbe1
JB
30Cairo provides anti-aliased vector-based rendering for X. Paths
31consist of line segments and cubic splines and can be rendered at any
32width with various join and cap styles. All colors may be specified
33with optional translucence (opacity/alpha) and combined using the
34extended Porter/Duff compositing algebra as found in the X Render
35Extension.
36
37Cairo exports a stateful rendering API similar in spirit to the path
38construction, text, and painting operators of PostScript, (with the
39significant addition of translucence in the imaging model). When
40complete, the API is intended to support the complete imaging model of
41PDF 1.4.
42
43Cairo relies on the Xc library for backend rendering. Xc provides an
44abstract interface for rendering to multiple target types. As of this
45writing, Xc allows Cairo to target X drawables as well as generic
46image buffers. Future backends such as PostScript, PDF, and perhaps
47OpenGL are currently being planned.
48
49%description -l pl
50