pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/cad/clipper2
Module Name: pkgsrc
Committed By: ryoon
Date: Sun Nov 8 16:08:43 UTC 2026
Added Files:
pkgsrc/cad/clipper2: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
cad/clipper2: import clipper2-2.0.1
The Clipper2 library performs intersection, union, difference and
XOR boolean operations on both simple and complex polygons. It also
performs polygon offsetting, and Constrained Delaunay Triangulation.
This is a major update of my original Clipper library that was
written about 15 years ago. That library I'm now calling Clipper1,
and while it still works very well, Clipper2 is just better.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/cad/clipper2/DESCR pkgsrc/cad/clipper2/Makefile \
pkgsrc/cad/clipper2/PLIST pkgsrc/cad/clipper2/buildlink3.mk \
pkgsrc/cad/clipper2/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/cad/clipper2/DESCR
diff -u /dev/null pkgsrc/cad/clipper2/DESCR:1.1
--- /dev/null Sun Nov 8 16:08:43 2026
+++ pkgsrc/cad/clipper2/DESCR Sun Nov 8 16:08:42 2026
@@ -0,0 +1,6 @@
+The Clipper2 library performs intersection, union, difference and
+XOR boolean operations on both simple and complex polygons. It also
+performs polygon offsetting, and Constrained Delaunay Triangulation.
+This is a major update of my original Clipper library that was
+written about 15 years ago. That library I'm now calling Clipper1,
+and while it still works very well, Clipper2 is just better.
Index: pkgsrc/cad/clipper2/Makefile
diff -u /dev/null pkgsrc/cad/clipper2/Makefile:1.1
--- /dev/null Sun Nov 8 16:08:43 2026
+++ pkgsrc/cad/clipper2/Makefile Sun Nov 8 16:08:42 2026
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2026/11/08 16:08:42 ryoon Exp $
+
+DISTNAME= Clipper2_2.0.1
+PKGNAME= ${DISTNAME:S/Clipper2_/clipper2-/:tl}
+CATEGORIES= cad
+MASTER_SITES= ${MASTER_SITE_GITHUB:=AngusJohnson/}
+GITHUB_PROJECT= Clipper2
+GITHUB_RELEASE= ${DISTNAME}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= ryoon%NetBSD.org@localhost
+HOMEPAGE= https://github.com/AngusJohnson/Clipper2/
+COMMENT= Library performs operations on polygons
+LICENSE= boost-license
+
+WRKSRC= ${WRKDIR}/CPP
+
+USE_LANGUAGES= c c++
+
+CMAKE_CONFIGURE_ARGS+= -DBUILD_SHARED_LIBS=ON
+CMAKE_CONFIGURE_ARGS+= -DUSE_EXTERNAL_GTEST=ON
+
+# For tests
+ALL_ENV+= LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}
+
+.include "../../devel/cmake/build.mk"
+.include "../../devel/googletest/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/cad/clipper2/PLIST
diff -u /dev/null pkgsrc/cad/clipper2/PLIST:1.1
--- /dev/null Sun Nov 8 16:08:43 2026
+++ pkgsrc/cad/clipper2/PLIST Sun Nov 8 16:08:42 2026
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1 2026/11/08 16:08:42 ryoon Exp $
+include/clipper2/clipper.core.h
+include/clipper2/clipper.engine.h
+include/clipper2/clipper.export.h
+include/clipper2/clipper.h
+include/clipper2/clipper.minkowski.h
+include/clipper2/clipper.offset.h
+include/clipper2/clipper.rectclip.h
+include/clipper2/clipper.triangulation.h
+include/clipper2/clipper.version.h
+lib/cmake/clipper2/Clipper2Config.cmake
+lib/cmake/clipper2/Clipper2ConfigVersion.cmake
+lib/cmake/clipper2/Clipper2Targets-noconfig.cmake
+lib/cmake/clipper2/Clipper2Targets.cmake
+lib/libClipper2.so
+lib/libClipper2.so.2
+lib/libClipper2.so.${PKGVERSION}
+lib/libClipper2Z.so
+lib/libClipper2Z.so.2
+lib/libClipper2Z.so.${PKGVERSION}
+lib/pkgconfig/Clipper2.pc
+lib/pkgconfig/Clipper2Z.pc
Index: pkgsrc/cad/clipper2/buildlink3.mk
diff -u /dev/null pkgsrc/cad/clipper2/buildlink3.mk:1.1
--- /dev/null Sun Nov 8 16:08:43 2026
+++ pkgsrc/cad/clipper2/buildlink3.mk Sun Nov 8 16:08:42 2026
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/11/08 16:08:42 ryoon Exp $
+
+BUILDLINK_TREE+= clipper2
+
+.if !defined(CLIPPER2_BUILDLINK3_MK)
+CLIPPER2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.clipper2+= clipper2>=2.0.1
+BUILDLINK_PKGSRCDIR.clipper2?= ../../cad/clipper2
+
+.endif # CLIPPER2_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -clipper2
Index: pkgsrc/cad/clipper2/distinfo
diff -u /dev/null pkgsrc/cad/clipper2/distinfo:1.1
--- /dev/null Sun Nov 8 16:08:43 2026
+++ pkgsrc/cad/clipper2/distinfo Sun Nov 8 16:08:43 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/11/08 16:08:43 ryoon Exp $
+
+BLAKE2s (Clipper2_2.0.1.zip) = a5688ca287eca2300163e660580f612a6ae3d1874f0693528c89d23af9a21ecf
+SHA512 (Clipper2_2.0.1.zip) = a0b92261ce86415db789d568ab15f1e877c08c0d76a51fa780d320be81214998bf833e49a2a85d470462e0c450bdf68e59fea8d938b466203d52136404f2774a
+Size (Clipper2_2.0.1.zip) = 2040250 bytes
Home |
Main Index |
Thread Index |
Old Index