# Template build file for 'cairo'.
pkgname=cairo
version=1.10.0
distfiles="http://cairographics.org/releases/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-xlib=yes --enable-xlib-xrender=yes
 --enable-png=yes --enable-directfb=no --enable-ft=yes --enable-pdf=yes
 --enable-ps=yes --enable-svg=yes --disable-gcov"
short_desc="Vector graphics library with cross-device output support"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=0f2ce4cc4615594088d74eb8b5360bad7c3cc3c3da9b61af9bfd979ed1ed94b2
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 run glibc
Add_dependency run zlib
Add_dependency run fontconfig
Add_dependency run freetype
Add_dependency run pixman
Add_dependency run glib
Add_dependency run libpng
Add_dependency run libX11
Add_dependency run libXrender
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 libX11-devel
Add_dependency build libXrender-devel
