2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'cairo'.
|
|
|
|
pkgname=cairo
|
2010-03-29 15:40:18 +02:00
|
|
|
version=1.8.10
|
2010-05-11 23:34:03 +02:00
|
|
|
revision=3
|
2009-04-17 00:29:12 +02:00
|
|
|
distfiles="http://cairographics.org/releases/$pkgname-$version.tar.gz"
|
2008-10-02 19:50:48 +02:00
|
|
|
build_style=gnu_configure
|
2009-04-17 00:29:12 +02:00
|
|
|
configure_args="--enable-xlib=yes --enable-xlib-xrender=yes
|
2010-05-11 23:34:03 +02:00
|
|
|
--enable-xcb=yes --enable-png=yes --disable-glitz
|
2009-04-17 00:29:12 +02:00
|
|
|
--enable-directfb=no --enable-ft=yes --enable-pdf=yes
|
|
|
|
--enable-ps=yes --enable-svg=yes --disable-gcov"
|
2008-10-02 19:50:48 +02:00
|
|
|
short_desc="Vector graphics library with cross-device output support"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-03-29 15:40:18 +02:00
|
|
|
checksum=572bada15596ec8708392db1af8b93a1af75ca47690348154e2841f3a6f08439
|
2008-10-02 19:50:48 +02:00
|
|
|
long_desc="
|
|
|
|
Cairo is a vector graphics library with cross-device output support. Currently
|
|
|
|
supported output targets include the X Window System and in-memory image
|
|
|
|
buffers. PostScript and PDF file output is planned. Cairo is designed to
|
|
|
|
produce identical output on all output media while taking advantage of display
|
|
|
|
hardware acceleration when available (eg. through the X Render Extension).
|
|
|
|
|
|
|
|
Cairo provides a stateful user-level API with capabilities similar to the PDF
|
|
|
|
1.4 imaging model. Cairo provides operations including stroking and filling
|
|
|
|
Bezier cubic splines, transforming and compositing translucent images, and
|
|
|
|
antialiased text rendering."
|
2009-04-17 00:29:12 +02:00
|
|
|
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="$pkgname-devel"
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency run glibc
|
2010-03-29 15:40:18 +02:00
|
|
|
Add_dependency run zlib
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency run fontconfig
|
|
|
|
Add_dependency run freetype
|
|
|
|
Add_dependency run pixman
|
|
|
|
Add_dependency run libpng
|
|
|
|
Add_dependency run libX11
|
|
|
|
Add_dependency run libXrender
|
2010-01-11 02:32:28 +01:00
|
|
|
Add_dependency run xcb-util
|
|
|
|
Add_dependency run libxcb
|
2009-04-17 00:29:12 +02:00
|
|
|
Add_dependency build pkg-config
|
2010-03-29 15:40:18 +02:00
|
|
|
Add_dependency build zlib-devel
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency build fontconfig-devel
|
|
|
|
Add_dependency build freetype-devel
|
|
|
|
Add_dependency build pixman-devel
|
|
|
|
Add_dependency build libpng-devel
|
|
|
|
Add_dependency build libX11-devel
|
|
|
|
Add_dependency build xcb-util-devel
|
2010-01-11 02:32:28 +01:00
|
|
|
Add_dependency build libxcb-devel
|
2009-12-24 16:04:45 +01:00
|
|
|
Add_dependency build libXrender-devel
|
2010-05-07 14:23:08 +02:00
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
sed -i -e "s|libpng12|libpng14|g" ${wrksrc}/configure
|
|
|
|
}
|