1 |
commit: d43de64f48be4115f498b0d9e1e43a112023e18a |
2 |
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 23 17:59:14 2021 +0000 |
4 |
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 23 18:33:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d43de64f |
7 |
|
8 |
sci-libs/libigl: bump to 2.3.0 |
9 |
|
10 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/21393 |
13 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
14 |
|
15 |
sci-libs/libigl/Manifest | 1 + |
16 |
sci-libs/libigl/libigl-2.3.0.ebuild | 51 +++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 52 insertions(+) |
18 |
|
19 |
diff --git a/sci-libs/libigl/Manifest b/sci-libs/libigl/Manifest |
20 |
index 78a9977ee98..bc8faba8db2 100644 |
21 |
--- a/sci-libs/libigl/Manifest |
22 |
+++ b/sci-libs/libigl/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST libigl-2.2.0.tar.gz 976859 BLAKE2B c32f3352735af631efc1a1c3eb598d94d845de61519346f91e9d3bbed3cc267c8b3fc70071b5a13bdc5d35624c8b271c056d3202dd6c8ec65dd24c4ea78885d9 SHA512 d2b091ccbad7b1e4305ac75b82d7bcb12d22e0c6f356ae21c2cc3006fc6404f0b738d394d6b008612e12a473698997c605db91a9b042bb4ec3c5ed18fea50029 |
25 |
+DIST libigl-2.3.0.tar.gz 1132299 BLAKE2B f6a61666aafff76ce004d99191ae52d625fc2960909802c02a7359c6a81767315a2109a8878964da7a4ad9cc0121471d42ed6ec25bc9cdcbdb100b0b7d174eb4 SHA512 41fbb3660e61457c3d6c52de4d17e0bfa56eb48eab82013c8095ce753c24ecff389365f91dbcf316cc422c09f713745251e32bddf4deff23fe5e428b9797da19 |
26 |
|
27 |
diff --git a/sci-libs/libigl/libigl-2.3.0.ebuild b/sci-libs/libigl/libigl-2.3.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..9b545af98da |
30 |
--- /dev/null |
31 |
+++ b/sci-libs/libigl/libigl-2.3.0.ebuild |
32 |
@@ -0,0 +1,51 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit cmake |
39 |
+ |
40 |
+DESCRIPTION="A simple C++ geometry processing library" |
41 |
+HOMEPAGE="https://libigl.github.io/" |
42 |
+SRC_URI="https://github.com/libigl/libigl/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="static-libs" |
48 |
+ |
49 |
+DEPEND="dev-cpp/eigen:3" |
50 |
+ |
51 |
+RDEPEND="${DEPEND}" |
52 |
+ |
53 |
+src_configure() { |
54 |
+ local mycmakeargs=( |
55 |
+ -DLIBIGL_BUILD_TESTS=OFF |
56 |
+ -DLIBIGL_BUILD_TUTORIALS=OFF |
57 |
+ -DLIBIGL_SKIP_DOWNLOAD=ON |
58 |
+ -DLIBIGL_USE_STATIC_LIBRARY=$(usex static-libs) |
59 |
+ -DLIBIGL_WITH_CGAL=OFF |
60 |
+ -DLIBIGL_WITH_COMISO=OFF |
61 |
+ -DLIBIGL_WITH_EMBREE=OFF |
62 |
+ -DLIBIGL_WITH_MATLAB=OFF |
63 |
+ -DLIBIGL_WITH_MOSEK=OFF |
64 |
+ -DLIBIGL_WITH_OPENGL=OFF |
65 |
+ -DLIBIGL_WITH_OPENGL_GLFW=OFF |
66 |
+ -DLIBIGL_WITH_OPENGL_GLFW_IMGUI=OFF |
67 |
+ -DLIBIGL_WITH_PNG=OFF |
68 |
+ -DLIBIGL_WITH_PREDICATES=OFF |
69 |
+ -DLIBIGL_WITH_PYTHON=OFF |
70 |
+ -DLIBIGL_WITH_TETGEN=OFF |
71 |
+ -DLIBIGL_WITH_TRIANGLE=OFF |
72 |
+ -DLIBIGL_WITH_XML=OFF |
73 |
+ ) |
74 |
+ cmake_src_configure |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ cmake_src_install |
79 |
+ |
80 |
+ # Install won't install all headers |
81 |
+ insinto /usr/include/ |
82 |
+ doins -r include/igl |
83 |
+} |