summaryrefslogtreecommitdiff
path: root/dev-libs/clipper
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-libs/clipper
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-libs/clipper')
-rw-r--r--dev-libs/clipper/Manifest3
-rw-r--r--dev-libs/clipper/clipper-6.4.2.ebuild33
-rw-r--r--dev-libs/clipper/metadata.xml15
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/clipper/Manifest b/dev-libs/clipper/Manifest
new file mode 100644
index 000000000000..36b772d9202d
--- /dev/null
+++ b/dev-libs/clipper/Manifest
@@ -0,0 +1,3 @@
+DIST clipper-6.4.2.zip 2535706 BLAKE2B 755dcfd759888bda7114af784d9e684f36ce8f6e43dcadf07f5797e3723d392aab2ea9b80cb212b7eb3177bfb306ca20a797546cb2c382132887e62fa0dffd93 SHA512 ffc88818c44a38aa278d5010db6cfd505796f39664919f1e48c7fa9267563f62135868993e88f7246dcd688241d1172878e4a008a390648acb99738452e3e5dd
+EBUILD clipper-6.4.2.ebuild 616 BLAKE2B 54d2d148f1ccbcabfd151fa4d9084a22a577fe4ff5cdc69d6746273aefda22570d5ba919afbb2fc327b3bc668f84b7b5919d2c831eae680cae07d5416fd0c76f SHA512 14538e2a89f67704f82d2e849ddcd918aa14dc16a702cf9272826b40615a2adba636fe61e3a2aea76e64966b87167527e82f3ff4312e0f49417f9dc63dff2e57
+MISC metadata.xml 631 BLAKE2B 2f873cd0220e6fcb0404b0ceeefafa2acf4418bc23a29e2eb249341a4c3b4698d77efdd30deede7a4427fc228213d67c034e43237c60e91679a7c05be5b664a9 SHA512 06e5eb63edca0e93a95de200775f51919583dea253fa4eb59eca5bc0c4a5a96c2eab59b746f43002c71ae992ceafa99ef84fe1f02267bdac40853f2f0c4e1081
diff --git a/dev-libs/clipper/clipper-6.4.2.ebuild b/dev-libs/clipper/clipper-6.4.2.ebuild
new file mode 100644
index 000000000000..fd2344e7318f
--- /dev/null
+++ b/dev-libs/clipper/clipper-6.4.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit cmake
+
+MY_PV="ver${PV}"
+MY_P="${PN}_${MY_PV}"
+
+DESCRIPTION="Polygon and line clipping and offsetting library (C++, C#, Delphi)"
+HOMEPAGE="http://www.angusj.com/delphi/clipper.php"
+SRC_URI="mirror://sourceforge/project/polyclipping/${MY_P}.zip -> ${P}.zip"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE=""
+
+RDEPEND=""
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}/cpp"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=ON
+ )
+ cmake_src_configure
+}
diff --git a/dev-libs/clipper/metadata.xml b/dev-libs/clipper/metadata.xml
new file mode 100644
index 000000000000..ca62f48d80f9
--- /dev/null
+++ b/dev-libs/clipper/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>3dprint@gentoo.org</email>
+ <name>Gentoo 3D Printer Project</name>
+ </maintainer>
+ <longdescription>
+ The Clipper library performs line &amp; polygon clipping - intersection, union, difference &amp; exclusive-or,
+ and line &amp; polygon offsetting. The library is based on Vatti's clipping algorithm.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">polyclipping</remote-id>
+ </upstream>
+</pkgmetadata>