# Template build file for 'cairo'.
pkgname=cairo
version=1.10.2
revision=6
homepage="http://cairographics.org"
distfiles="${homepage}/releases/$pkgname-$version.tar.gz"
build_style=gnu-configure
configure_args="--enable-xlib --enable-xcb --enable-xlib-xcb=no
--enable-png --disable-directfb --enable-ft --enable-pdf --enable-tee
--enable-ps --enable-svg --disable-gcov --enable-gl --enable-xlib-xrender"
short_desc="Vector graphics library with cross-device output support"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1, MPL-1.1"
checksum=32018c7998358eebc2ad578ff8d8559d34fc80252095f110a572ed23d989fc41
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."

subpackages="$pkgname-devel"

Add_dependency build pkg-config
Add_dependency build zlib-devel
Add_dependency build fontconfig-devel
Add_dependency build freetype-devel
Add_dependency build pixman-devel
Add_dependency build libpng-devel
Add_dependency build libxcb-devel
Add_dependency build libX11-devel
Add_dependency build libXrender-devel
Add_dependency build glib-devel
Add_dependency build MesaLib-devel