summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2021-06-23 19:59:14 +0200
committerDennis Lamm <expeditioneer@gentoo.org>2021-06-23 20:33:18 +0200
commitd43de64f48be4115f498b0d9e1e43a112023e18a (patch)
treeea24512376c179a3f8abaee898feef38ef7775de /sci-libs
parentnet-misc/teamviewer: RDEPEND on sys-libs/zlib[minizip] (diff)
downloadgentoo-d43de64f48be4115f498b0d9e1e43a112023e18a.tar.gz
gentoo-d43de64f48be4115f498b0d9e1e43a112023e18a.tar.bz2
gentoo-d43de64f48be4115f498b0d9e1e43a112023e18a.zip
sci-libs/libigl: bump to 2.3.0
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Package-Manager: Portage-3.0.20, Repoman-3.0.2 Closes: https://github.com/gentoo/gentoo/pull/21393 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libigl/Manifest1
-rw-r--r--sci-libs/libigl/libigl-2.3.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/sci-libs/libigl/Manifest b/sci-libs/libigl/Manifest
index 78a9977ee983..bc8faba8db22 100644
--- a/sci-libs/libigl/Manifest
+++ b/sci-libs/libigl/Manifest
@@ -1 +1,2 @@
DIST libigl-2.2.0.tar.gz 976859 BLAKE2B c32f3352735af631efc1a1c3eb598d94d845de61519346f91e9d3bbed3cc267c8b3fc70071b5a13bdc5d35624c8b271c056d3202dd6c8ec65dd24c4ea78885d9 SHA512 d2b091ccbad7b1e4305ac75b82d7bcb12d22e0c6f356ae21c2cc3006fc6404f0b738d394d6b008612e12a473698997c605db91a9b042bb4ec3c5ed18fea50029
+DIST libigl-2.3.0.tar.gz 1132299 BLAKE2B f6a61666aafff76ce004d99191ae52d625fc2960909802c02a7359c6a81767315a2109a8878964da7a4ad9cc0121471d42ed6ec25bc9cdcbdb100b0b7d174eb4 SHA512 41fbb3660e61457c3d6c52de4d17e0bfa56eb48eab82013c8095ce753c24ecff389365f91dbcf316cc422c09f713745251e32bddf4deff23fe5e428b9797da19
diff --git a/sci-libs/libigl/libigl-2.3.0.ebuild b/sci-libs/libigl/libigl-2.3.0.ebuild
new file mode 100644
index 000000000000..9b545af98daa
--- /dev/null
+++ b/sci-libs/libigl/libigl-2.3.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A simple C++ geometry processing library"
+HOMEPAGE="https://libigl.github.io/"
+SRC_URI="https://github.com/libigl/libigl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+DEPEND="dev-cpp/eigen:3"
+
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DLIBIGL_BUILD_TESTS=OFF
+ -DLIBIGL_BUILD_TUTORIALS=OFF
+ -DLIBIGL_SKIP_DOWNLOAD=ON
+ -DLIBIGL_USE_STATIC_LIBRARY=$(usex static-libs)
+ -DLIBIGL_WITH_CGAL=OFF
+ -DLIBIGL_WITH_COMISO=OFF
+ -DLIBIGL_WITH_EMBREE=OFF
+ -DLIBIGL_WITH_MATLAB=OFF
+ -DLIBIGL_WITH_MOSEK=OFF
+ -DLIBIGL_WITH_OPENGL=OFF
+ -DLIBIGL_WITH_OPENGL_GLFW=OFF
+ -DLIBIGL_WITH_OPENGL_GLFW_IMGUI=OFF
+ -DLIBIGL_WITH_PNG=OFF
+ -DLIBIGL_WITH_PREDICATES=OFF
+ -DLIBIGL_WITH_PYTHON=OFF
+ -DLIBIGL_WITH_TETGEN=OFF
+ -DLIBIGL_WITH_TRIANGLE=OFF
+ -DLIBIGL_WITH_XML=OFF
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ # Install won't install all headers
+ insinto /usr/include/
+ doins -r include/igl
+}