commit:     a67b483e5caee3d56205b59a0a87b4ff1a09b481
Author:     Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Thu Sep 26 18:21:26 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 16 21:39:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a67b483e

sci-mathematics/clipper2: new package, add 1.4.0

Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/clipper2/Manifest              |  1 +
 sci-mathematics/clipper2/clipper2-1.4.0.ebuild | 30 ++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/sci-mathematics/clipper2/Manifest 
b/sci-mathematics/clipper2/Manifest
new file mode 100644
index 000000000000..025aefaf6771
--- /dev/null
+++ b/sci-mathematics/clipper2/Manifest
@@ -0,0 +1 @@
+DIST Clipper2_1.4.0.tar.gz 600352 BLAKE2B 
0ba268ba691fde4aef456d8f6ef1810a8c13b77c5bb932296b11b5f0d96dfe70f2d617d7ba013f85817dbc01a800d0ab1fba566e4ab56efde6541c00f3d7f359
 SHA512 
91036e81244f3615095d7cd8522f9c4a32ea66f802e3d190393eb8939e1a706b69c69c3a5b7c6522235c075dd6ecd45f21bffb47448ba72191ddcf05e9e93128

diff --git a/sci-mathematics/clipper2/clipper2-1.4.0.ebuild 
b/sci-mathematics/clipper2/clipper2-1.4.0.ebuild
new file mode 100644
index 000000000000..530396047bdf
--- /dev/null
+++ b/sci-mathematics/clipper2/clipper2-1.4.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="Clipper2"
+MY_P=${MY_PN}_${PV}
+
+inherit cmake
+
+DESCRIPTION="Polygon Clipping and Offsetting"
+HOMEPAGE="https://www.angusj.com/clipper2/Docs/Overview.htm";
+SRC_URI="https://github.com/AngusJohnson/Clipper2/archive/refs/tags/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_PN}-${MY_P}/CPP"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="mirror"
+
+src_configure() {
+       local mycmakeargs=(
+               -DCLIPPER2_UTILS=OFF
+               -DCLIPPER2_EXAMPLES=OFF
+               -DCLIPPER2_TESTS=OFF
+               -DCLIPPER2_USINGZ=OFF  # manifold src/third_party/CMakeLists.txt
+       )
+       cmake_src_configure
+}

Reply via email to