diff options
author | adam <adam@pkgsrc.org> | 2017-05-22 08:49:48 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-05-22 08:49:48 +0000 |
commit | ac6adcd92d995630e3474a0981e83223d7d2690d (patch) | |
tree | 908f8991f60056c0f1503a1aeb3ca23d83f77e7d /graphics | |
parent | 017be7cfaf2ff2f9536a146d6615172d689333ec (diff) | |
download | pkgsrc-ac6adcd92d995630e3474a0981e83223d7d2690d.tar.gz |
GTS stands for the GNU Triangulated Surface Library. It provides a set of
useful functions to deal with 3D surfaces meshed with interconnected
triangles.
A brief summary of its main features:
* Simple object-oriented structure giving easy access to topological
properties.
* 2D dynamic Delaunay and constrained Delaunay triangulations.
* Robust geometric predicates (orientation, in circle) using fast adaptive
floating point arithmetic.
* Robust set operations on surfaces (union, intersection, difference).
* Surface refinement and coarsening (multiresolution models).
* Dynamic view-independent continuous level-of-detail.
* Preliminary support for view-dependent level-of-detail.
* Bounding-boxes trees and Kd-trees for efficient point location and
collision/intersection detection.
* Graph operations: traversal, graph partitioning.
* Metric operations (area, volume, curvature ...).
* Triangle strips generation for fast rendering.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 3 | ||||
-rw-r--r-- | graphics/gts/DESCR | 19 | ||||
-rw-r--r-- | graphics/gts/Makefile | 24 | ||||
-rw-r--r-- | graphics/gts/PLIST | 17 | ||||
-rw-r--r-- | graphics/gts/buildlink3.mk | 15 | ||||
-rw-r--r-- | graphics/gts/distinfo | 5 |
6 files changed, 82 insertions, 1 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 06c7acf224d..d14335bdcf6 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.762 2017/05/04 19:21:35 adam Exp $ +# $NetBSD: Makefile,v 1.763 2017/05/22 08:49:48 adam Exp $ # COMMENT= Graphics tools and libraries @@ -224,6 +224,7 @@ SUBDIR+= gtkam SUBDIR+= gtkglext SUBDIR+= gtkimageview SUBDIR+= gtksee +SUBDIR+= gts SUBDIR+= guetzli SUBDIR+= guile-cairo SUBDIR+= gwenview diff --git a/graphics/gts/DESCR b/graphics/gts/DESCR new file mode 100644 index 00000000000..1ac8cc870a0 --- /dev/null +++ b/graphics/gts/DESCR @@ -0,0 +1,19 @@ +GTS stands for the GNU Triangulated Surface Library. It provides a set of +useful functions to deal with 3D surfaces meshed with interconnected +triangles. + +A brief summary of its main features: +* Simple object-oriented structure giving easy access to topological + properties. +* 2D dynamic Delaunay and constrained Delaunay triangulations. +* Robust geometric predicates (orientation, in circle) using fast adaptive + floating point arithmetic. +* Robust set operations on surfaces (union, intersection, difference). +* Surface refinement and coarsening (multiresolution models). +* Dynamic view-independent continuous level-of-detail. +* Preliminary support for view-dependent level-of-detail. +* Bounding-boxes trees and Kd-trees for efficient point location and + collision/intersection detection. +* Graph operations: traversal, graph partitioning. +* Metric operations (area, volume, curvature ...). +* Triangle strips generation for fast rendering. diff --git a/graphics/gts/Makefile b/graphics/gts/Makefile new file mode 100644 index 00000000000..6767c0ff0df --- /dev/null +++ b/graphics/gts/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2017/05/22 08:49:48 adam Exp $ + +DISTNAME= gts-0.7.6 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gts/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://gts.sourceforge.net/ +COMMENT= GNU Triangulated Surface Library +LICENSE= gnu-gpl-v2 + +#USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +USE_TOOLS+= gmake pkg-config +GNU_CONFIGURE= yes +# it is not necessary to configure libtool +CONFIGURE_ARGS+= --with-tags="" +PKGCONFIG_OVERRIDE+= gts.pc.in + +CPPFLAGS+= -I${BUILDLINK_PREFIX.netpbm}/include/netpbm + +.include "../../devel/glib2/buildlink3.mk" +.include "../../graphics/netpbm/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/gts/PLIST b/graphics/gts/PLIST new file mode 100644 index 00000000000..be93bebb0c0 --- /dev/null +++ b/graphics/gts/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1 2017/05/22 08:49:48 adam Exp $ +bin/delaunay +bin/gts-config +bin/gts2dxf +bin/gts2oogl +bin/gts2stl +bin/gtscheck +bin/gtscompare +bin/gtstemplate +bin/happrox +bin/stl2gts +bin/transform +include/gts.h +include/gtsconfig.h +lib/libgts.la +lib/pkgconfig/gts.pc +share/aclocal/gts.m4 diff --git a/graphics/gts/buildlink3.mk b/graphics/gts/buildlink3.mk new file mode 100644 index 00000000000..0ff317ae66b --- /dev/null +++ b/graphics/gts/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2017/05/22 08:49:48 adam Exp $ + +BUILDLINK_TREE+= gts + +.if !defined(GTS_BUILDLINK3_MK) +GTS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.gts+= gts>=0.7.6 +BUILDLINK_PKGSRCDIR.gts?= ../../graphics/gts + +.include "../../devel/glib2/buildlink3.mk" +.include "../../graphics/netpbm/buildlink3.mk" +.endif # GTS_BUILDLINK3_MK + +BUILDLINK_TREE+= -gts diff --git a/graphics/gts/distinfo b/graphics/gts/distinfo new file mode 100644 index 00000000000..245d4a31207 --- /dev/null +++ b/graphics/gts/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2017/05/22 08:49:48 adam Exp $ + +SHA1 (gts-0.7.6.tar.gz) = 000720bebecf0b153eb28260bd30fbd979dcc040 +RMD160 (gts-0.7.6.tar.gz) = 2bfd4121412c16d63ee0aca65ccbc2601d6a7d51 +Size (gts-0.7.6.tar.gz) = 948847 bytes |