2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'cairo'.
|
|
|
|
pkgname=cairo
|
2013-02-11 08:50:52 +00:00
|
|
|
version=1.12.14
|
2013-03-23 08:59:29 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-23 08:13:47 +00:00
|
|
|
configure_args="--disable-static --enable-tee"
|
2012-06-05 22:22:13 +00:00
|
|
|
subpackages="$pkgname-devel"
|
2008-10-02 17:50:48 +00:00
|
|
|
short_desc="Vector graphics library with cross-device output support"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-05 22:41:36 +00:00
|
|
|
license="LGPL-2.1, MPL-1.1"
|
2012-06-05 22:22:13 +00:00
|
|
|
homepage="http://cairographics.org"
|
|
|
|
distfiles="${homepage}/releases/$pkgname-$version.tar.xz"
|
2013-02-11 08:50:52 +00:00
|
|
|
checksum=96d0d1e3f9b74d2ca3469ff187c5e5f25649b1ad35cf06f4f3a83847dff4ac13
|
2013-03-23 08:13:47 +00: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."
|
2012-11-08 21:38:08 +00:00
|
|
|
|
|
|
|
depends="pixman>=0.28"
|
|
|
|
makedepends="pkg-config libpng-devel>=1.5.10 fontconfig-devel
|
2013-03-23 08:13:47 +00:00
|
|
|
pixman-devel>=0.28 libXrender-devel>=0.9.7_3 glib-devel"
|
|
|
|
|
|
|
|
if [ "$XBPS_CROSS_BUILD" ]; then
|
|
|
|
makedepends="which automake pkg-config"
|
|
|
|
crossmakedepends="libpng-devel fontconfig-devel pixman-devel
|
|
|
|
libXrender-devel>=0.9.7_3 libglib-devel"
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|