summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-04-27 06:41:08 +0000
committerwiz <wiz@pkgsrc.org>2008-04-27 06:41:08 +0000
commitde7c83c895a31f76ade76523743e6760fd938cdf (patch)
tree2c09437c2ef02115bebbe50ebd4ce653d408fac1
parent9d7b19fb59778a8c8bc5c6558a24d968439c62b5 (diff)
downloadpkgsrc-de7c83c895a31f76ade76523743e6760fd938cdf.tar.gz
Import agg-2.5 as graphics/agg.
From pkgsrc-wip, packaged by Paulo Matias. Anti-Grain Geometry (AGG) is an Open Source, free of charge graphic library, written in industrially standard C++. AGG doesn't depend on any graphic API or technology. Basically, you can think of AGG as of a rendering engine that produces pixel images in memory from some vectorial data.
-rw-r--r--graphics/agg/DESCR5
-rw-r--r--graphics/agg/Makefile26
-rw-r--r--graphics/agg/PLIST148
-rw-r--r--graphics/agg/buildlink3.mk22
-rw-r--r--graphics/agg/distinfo5
5 files changed, 206 insertions, 0 deletions
diff --git a/graphics/agg/DESCR b/graphics/agg/DESCR
new file mode 100644
index 00000000000..bf89b65153c
--- /dev/null
+++ b/graphics/agg/DESCR
@@ -0,0 +1,5 @@
+Anti-Grain Geometry (AGG) is an Open Source, free of charge
+graphic library, written in industrially standard C++. AGG
+doesn't depend on any graphic API or technology. Basically,
+you can think of AGG as of a rendering engine that produces
+pixel images in memory from some vectorial data.
diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile
new file mode 100644
index 00000000000..f9314a6a3c3
--- /dev/null
+++ b/graphics/agg/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/27 06:41:08 wiz Exp $
+#
+
+DISTNAME= agg-2.5
+CATEGORIES= graphics
+MASTER_SITES= http://www.antigrain.com/
+
+MAINTAINER= matias@dotbsd.org
+HOMEPAGE= http://www.antigrain.com/
+COMMENT= High Quality Rendering Engine for C++
+
+USE_TOOLS+= gmake msgfmt pkg-config aclocal autoheader \
+ automake autoconf
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+PKGCONFIG_OVERRIDE+= libagg.pc.in
+
+pre-configure:
+ cd ${WRKSRC}; chmod +x autogen.sh; ./autogen.sh
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/agg/PLIST b/graphics/agg/PLIST
new file mode 100644
index 00000000000..0ba99e84c8d
--- /dev/null
+++ b/graphics/agg/PLIST
@@ -0,0 +1,148 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/27 06:41:08 wiz Exp $
+include/agg2/agg_alpha_mask_u8.h
+include/agg2/agg_arc.h
+include/agg2/agg_array.h
+include/agg2/agg_arrowhead.h
+include/agg2/agg_basics.h
+include/agg2/agg_bezier_arc.h
+include/agg2/agg_bitset_iterator.h
+include/agg2/agg_blur.h
+include/agg2/agg_bounding_rect.h
+include/agg2/agg_bspline.h
+include/agg2/agg_clip_liang_barsky.h
+include/agg2/agg_color_gray.h
+include/agg2/agg_color_rgba.h
+include/agg2/agg_config.h
+include/agg2/agg_conv_adaptor_vcgen.h
+include/agg2/agg_conv_adaptor_vpgen.h
+include/agg2/agg_conv_bspline.h
+include/agg2/agg_conv_clip_polygon.h
+include/agg2/agg_conv_clip_polyline.h
+include/agg2/agg_conv_close_polygon.h
+include/agg2/agg_conv_concat.h
+include/agg2/agg_conv_contour.h
+include/agg2/agg_conv_curve.h
+include/agg2/agg_conv_dash.h
+include/agg2/agg_conv_gpc.h
+include/agg2/agg_conv_marker.h
+include/agg2/agg_conv_marker_adaptor.h
+include/agg2/agg_conv_segmentator.h
+include/agg2/agg_conv_shorten_path.h
+include/agg2/agg_conv_smooth_poly1.h
+include/agg2/agg_conv_stroke.h
+include/agg2/agg_conv_transform.h
+include/agg2/agg_conv_unclose_polygon.h
+include/agg2/agg_curves.h
+include/agg2/agg_dda_line.h
+include/agg2/agg_ellipse.h
+include/agg2/agg_ellipse_bresenham.h
+include/agg2/agg_embedded_raster_fonts.h
+include/agg2/agg_font_cache_manager.h
+include/agg2/agg_font_freetype.h
+include/agg2/agg_gamma_functions.h
+include/agg2/agg_gamma_lut.h
+include/agg2/agg_glyph_raster_bin.h
+include/agg2/agg_gradient_lut.h
+include/agg2/agg_gsv_text.h
+include/agg2/agg_image_accessors.h
+include/agg2/agg_image_filters.h
+include/agg2/agg_line_aa_basics.h
+include/agg2/agg_math.h
+include/agg2/agg_math_stroke.h
+include/agg2/agg_path_length.h
+include/agg2/agg_path_storage.h
+include/agg2/agg_path_storage_integer.h
+include/agg2/agg_pattern_filters_rgba.h
+include/agg2/agg_pixfmt_amask_adaptor.h
+include/agg2/agg_pixfmt_gray.h
+include/agg2/agg_pixfmt_rgb.h
+include/agg2/agg_pixfmt_rgb_packed.h
+include/agg2/agg_pixfmt_rgba.h
+include/agg2/agg_pixfmt_transposer.h
+include/agg2/agg_rasterizer_cells_aa.h
+include/agg2/agg_rasterizer_compound_aa.h
+include/agg2/agg_rasterizer_outline.h
+include/agg2/agg_rasterizer_outline_aa.h
+include/agg2/agg_rasterizer_scanline_aa.h
+include/agg2/agg_rasterizer_sl_clip.h
+include/agg2/agg_renderer_base.h
+include/agg2/agg_renderer_markers.h
+include/agg2/agg_renderer_mclip.h
+include/agg2/agg_renderer_outline_aa.h
+include/agg2/agg_renderer_outline_image.h
+include/agg2/agg_renderer_primitives.h
+include/agg2/agg_renderer_raster_text.h
+include/agg2/agg_renderer_scanline.h
+include/agg2/agg_rendering_buffer.h
+include/agg2/agg_rendering_buffer_dynarow.h
+include/agg2/agg_rounded_rect.h
+include/agg2/agg_scanline_bin.h
+include/agg2/agg_scanline_boolean_algebra.h
+include/agg2/agg_scanline_p.h
+include/agg2/agg_scanline_storage_aa.h
+include/agg2/agg_scanline_storage_bin.h
+include/agg2/agg_scanline_u.h
+include/agg2/agg_shorten_path.h
+include/agg2/agg_simul_eq.h
+include/agg2/agg_span_allocator.h
+include/agg2/agg_span_converter.h
+include/agg2/agg_span_gouraud.h
+include/agg2/agg_span_gouraud_gray.h
+include/agg2/agg_span_gouraud_rgba.h
+include/agg2/agg_span_gradient.h
+include/agg2/agg_span_gradient_alpha.h
+include/agg2/agg_span_image_filter.h
+include/agg2/agg_span_image_filter_gray.h
+include/agg2/agg_span_image_filter_rgb.h
+include/agg2/agg_span_image_filter_rgba.h
+include/agg2/agg_span_interpolator_adaptor.h
+include/agg2/agg_span_interpolator_linear.h
+include/agg2/agg_span_interpolator_persp.h
+include/agg2/agg_span_interpolator_trans.h
+include/agg2/agg_span_pattern_gray.h
+include/agg2/agg_span_pattern_rgb.h
+include/agg2/agg_span_pattern_rgba.h
+include/agg2/agg_span_solid.h
+include/agg2/agg_span_subdiv_adaptor.h
+include/agg2/agg_trans_affine.h
+include/agg2/agg_trans_bilinear.h
+include/agg2/agg_trans_double_path.h
+include/agg2/agg_trans_perspective.h
+include/agg2/agg_trans_single_path.h
+include/agg2/agg_trans_viewport.h
+include/agg2/agg_trans_warp_magnifier.h
+include/agg2/agg_vcgen_bspline.h
+include/agg2/agg_vcgen_contour.h
+include/agg2/agg_vcgen_dash.h
+include/agg2/agg_vcgen_markers_term.h
+include/agg2/agg_vcgen_smooth_poly1.h
+include/agg2/agg_vcgen_stroke.h
+include/agg2/agg_vcgen_vertex_sequence.h
+include/agg2/agg_vertex_sequence.h
+include/agg2/agg_vpgen_clip_polygon.h
+include/agg2/agg_vpgen_clip_polyline.h
+include/agg2/agg_vpgen_segmentator.h
+include/agg2/ctrl/agg_bezier_ctrl.h
+include/agg2/ctrl/agg_cbox_ctrl.h
+include/agg2/ctrl/agg_ctrl.h
+include/agg2/ctrl/agg_gamma_ctrl.h
+include/agg2/ctrl/agg_gamma_spline.h
+include/agg2/ctrl/agg_polygon_ctrl.h
+include/agg2/ctrl/agg_rbox_ctrl.h
+include/agg2/ctrl/agg_scale_ctrl.h
+include/agg2/ctrl/agg_slider_ctrl.h
+include/agg2/ctrl/agg_spline_ctrl.h
+include/agg2/platform/agg_platform_support.h
+include/agg2/util/agg_color_conv.h
+include/agg2/util/agg_color_conv_rgb16.h
+include/agg2/util/agg_color_conv_rgb8.h
+lib/libagg.la
+lib/libaggfontfreetype.la
+lib/libaggplatformX11.la
+lib/libaggplatformsdl.la
+lib/pkgconfig/libagg.pc
+share/aclocal/libagg.m4
+@dirrm include/agg2/util
+@dirrm include/agg2/platform
+@dirrm include/agg2/ctrl
+@dirrm include/agg2
diff --git a/graphics/agg/buildlink3.mk b/graphics/agg/buildlink3.mk
new file mode 100644
index 00000000000..337cb49abf7
--- /dev/null
+++ b/graphics/agg/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/04/27 06:41:08 wiz Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+AGG_BUILDLINK3_MK:= ${AGG_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= agg
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nagg}
+BUILDLINK_PACKAGES+= agg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}agg
+
+.if ${AGG_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.agg+= agg>=2.5
+BUILDLINK_PKGSRCDIR.agg?= ../../graphics/agg
+.endif # AGG_BUILDLINK3_MK
+
+.include "../../graphics/freetype2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/graphics/agg/distinfo b/graphics/agg/distinfo
new file mode 100644
index 00000000000..3ebd9330344
--- /dev/null
+++ b/graphics/agg/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/27 06:41:08 wiz Exp $
+
+SHA1 (agg-2.5.tar.gz) = 08f23da64da40b90184a0414369f450115cdb328
+RMD160 (agg-2.5.tar.gz) = fac24d8ea56ee0a87307189f73c432b07b6d3c50
+Size (agg-2.5.tar.gz) = 564313 bytes