diff options
author | recht <recht> | 2004-02-03 12:16:42 +0000 |
---|---|---|
committer | recht <recht> | 2004-02-03 12:16:42 +0000 |
commit | ed94787fecc0b65f3a73529ce48631de5919598b (patch) | |
tree | 9dc1bafe6a0247dfdead0ffa60925ef56e58fefc /graphics | |
parent | 952430a3f798ae13b51363a66fc729103ad0d969 (diff) | |
download | pkgsrc-ed94787fecc0b65f3a73529ce48631de5919598b.tar.gz |
initial import of cairo-0.1.17
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.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cairo/DESCR | 10 | ||||
-rw-r--r-- | graphics/cairo/Makefile | 25 | ||||
-rw-r--r-- | graphics/cairo/PLIST | 9 | ||||
-rw-r--r-- | graphics/cairo/buildlink2.mk | 27 | ||||
-rw-r--r-- | graphics/cairo/buildlink3.mk | 28 | ||||
-rw-r--r-- | graphics/cairo/distinfo | 4 |
6 files changed, 103 insertions, 0 deletions
diff --git a/graphics/cairo/DESCR b/graphics/cairo/DESCR new file mode 100644 index 00000000000..05b7d94278b --- /dev/null +++ b/graphics/cairo/DESCR @@ -0,0 +1,10 @@ +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. diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile new file mode 100644 index 00000000000..a035c98fcbf --- /dev/null +++ b/graphics/cairo/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/03 12:16:42 recht Exp $ +# + +DISTNAME= cairo-0.1.17 +CATEGORIES= graphics +MASTER_SITES= http://cairographics.org/snapshots/ + +MAINTAINER= recht@NetBSD.org +HOMEPAGE= http://cairographics.org/snapshots/ +COMMENT= Vector graphics library with cross-device output support + +USE_X11= yes +USE_BUILDLINK3= yes +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool +PKGCONFIG_OVERRIDE+= ${WRKSRC}/cairo.pc.in +GNU_CONFIGURE= yes + +BUILDLINK_DEPENDS.freetype2= freetype2>=2.1.5 +.include "../../graphics/freetype2/buildlink3.mk" + +.include "../../fonts/Xft2/buildlink3.mk" +.include "../../graphics/libpixman/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/cairo/PLIST b/graphics/cairo/PLIST new file mode 100644 index 00000000000..341ff33c79a --- /dev/null +++ b/graphics/cairo/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/03 12:16:42 recht Exp $ +include/cairo-features.h +include/cairo.h +lib/libcairo.a +lib/libcairo.la +lib/libcairo.so +lib/libcairo.so.1 +lib/libcairo.so.1.0 +lib/pkgconfig/cairo.pc diff --git a/graphics/cairo/buildlink2.mk b/graphics/cairo/buildlink2.mk new file mode 100644 index 00000000000..b654a1bc6fd --- /dev/null +++ b/graphics/cairo/buildlink2.mk @@ -0,0 +1,27 @@ +# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/02/03 12:16:43 recht Exp $ +# + +.if !defined(CAIRO_BUILDLINK2_MK) +CAIRO_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= cairo +BUILDLINK_DEPENDS.cairo?= cairo>=0.1.17 +BUILDLINK_PKGSRCDIR.cairo?= ../../graphics/cairo + +EVAL_PREFIX+= BUILDLINK_PREFIX.cairo=cairo +BUILDLINK_PREFIX.cairo_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.cairo+= include/cairo-features.h +BUILDLINK_FILES.cairo+= include/cairo.h +BUILDLINK_FILES.cairo+= lib/libcairo.* + +BUILDLINK_DEPENDS.freetype2= freetype2>=2.1.5 + +.include "../../graphics/freetype2/buildlink2.mk" +.include "../../graphics/libpixman/buildlink2.mk" +.include "../../fonts/Xft2/buildlink2.mk" + +BUILDLINK_TARGETS+= cairo-buildlink + +cairo-buildlink: _BUILDLINK_USE + +.endif # CAIRO_BUILDLINK2_MK diff --git a/graphics/cairo/buildlink3.mk b/graphics/cairo/buildlink3.mk new file mode 100644 index 00000000000..44c4dc69439 --- /dev/null +++ b/graphics/cairo/buildlink3.mk @@ -0,0 +1,28 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/02/03 12:16:43 recht Exp $ +# +# This Makefile fragment is included by packages that use cairo. +# +# This file was created automatically using createbuildlink-3.0. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +CAIRO_BUILDLINK3_MK:= ${CAIRO_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= cairo +.endif + +.if !empty(CAIRO_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= cairo +BUILDLINK_DEPENDS.cairo?= cairo>=0.1.17 +BUILDLINK_PKGSRCDIR.cairo?= ../../graphics/cairo + +BUILDLINK_DEPENDS.freetype2= freetype2>=2.1.5 + +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../graphics/libpixman/buildlink3.mk" +.include "../../fonts/Xft2/buildlink3.mk" + +.endif # CAIRO_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/cairo/distinfo b/graphics/cairo/distinfo new file mode 100644 index 00000000000..a4aa20368a3 --- /dev/null +++ b/graphics/cairo/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/02/03 12:16:43 recht Exp $ + +SHA1 (cairo-0.1.17.tar.gz) = bfafdb3c6cd7131ceacdf4c89e7d5d04334d4e67 +Size (cairo-0.1.17.tar.gz) = 358124 bytes |