From: "Matthew Smith" <matthew@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libigl/
Date: Sat, 19 Mar 2022 09:30:23 +0000 (UTC) [thread overview]
Message-ID: <1647682022.7c09ffade2ee87b6090cd529f5bd28e95f579e2b.matthew@gentoo> (raw)
commit: 7c09ffade2ee87b6090cd529f5bd28e95f579e2b
Author: Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 09:27:02 2022 +0000
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 09:27:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c09ffad
sci-libs/libigl: add 2.4.0
Tested with media-gfx/prusaslicer-2.4.0-r2.
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
sci-libs/libigl/Manifest | 1 +
sci-libs/libigl/libigl-2.4.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/sci-libs/libigl/Manifest b/sci-libs/libigl/Manifest
index 082cfc2fe6ec..44296b9c60eb 100644
--- a/sci-libs/libigl/Manifest
+++ b/sci-libs/libigl/Manifest
@@ -1 +1,2 @@
DIST libigl-2.3.0.tar.gz 1132299 BLAKE2B f6a61666aafff76ce004d99191ae52d625fc2960909802c02a7359c6a81767315a2109a8878964da7a4ad9cc0121471d42ed6ec25bc9cdcbdb100b0b7d174eb4 SHA512 41fbb3660e61457c3d6c52de4d17e0bfa56eb48eab82013c8095ce753c24ecff389365f91dbcf316cc422c09f713745251e32bddf4deff23fe5e428b9797da19
+DIST libigl-2.4.0.tar.gz 1124759 BLAKE2B c2ba37192f2603a3ab0052aeb14f7706322364183c297af38ea88af8937bc7d76f0e3cc248a8e88c6bf2ad7ce2d9568d6e446a60c5da905fd4a235a706c4289c SHA512 f9e19c6d9a7fa2afe12c0a4042c3cc46606413d7f79b20e2464021fc0c5d9730e0ab2c192e5b4f161f3bc3a42a654929a2e77baac44c3eddad486f709cf909a1
diff --git a/sci-libs/libigl/libigl-2.4.0.ebuild b/sci-libs/libigl/libigl-2.4.0.ebuild
new file mode 100644
index 000000000000..4a0b94d2e79c
--- /dev/null
+++ b/sci-libs/libigl/libigl-2.4.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 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-2+ MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+DEPEND="dev-cpp/eigen:3"
+
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DFETCHCONTENT_FULLY_DISCONNECTED=ON
+ -DLIBIGL_BUILD_TESTS=OFF
+ -DLIBIGL_BUILD_TUTORIALS=OFF
+ -DLIBIGL_USE_STATIC_LIBRARY=$(usex static-libs)
+ -DLIBIGL_COPYLEFT_CGAL=OFF
+ -DLIBIGL_COPYLEFT_COMISO=OFF
+ -DLIBIGL_EMBREE=OFF
+ -DLIBIGL_DEFAULT_MATLAB=OFF
+ -DLIBIGL_DEFAULT_MOSEK=OFF
+ -DLIBIGL_OPENGL=OFF
+ -DLIBIGL_GLFW=OFF
+ -DLIBIGL_IMGUI=OFF
+ -DLIBIGL_PNG=OFF
+ -DLIBIGL_PREDICATES=OFF
+ -DLIBIGL_COPYLEFT_TETGEN=OFF
+ -DLIBIGL_RESTRICTED_TRIANGLE=OFF
+ -DLIBIGL_XML=OFF
+ )
+ cmake_src_configure
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # Tries to copy eigen headers into /usr/include
+ sed -i '/install(DIRECTORY/d' cmake/recipes/external/eigen.cmake || die
+}
+
+src_install() {
+ cmake_src_install
+
+ # Install won't install all headers
+ insinto /usr/include/
+ doins -r include/igl
+}
next reply other threads:[~2022-03-19 9:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-19 9:30 Matthew Smith [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-02 11:29 [gentoo-commits] repo/gentoo:master commit in: sci-libs/libigl/ Miroslav Šulc
2024-03-01 15:57 Arthur Zamarin
2023-12-22 12:22 Arthur Zamarin
2023-08-09 5:58 Yixun Lan
2023-01-26 20:48 Andreas Sturmlechner
2023-01-09 1:09 Sam James
2022-03-21 15:20 Agostino Sarubbo
2022-03-19 9:30 Matthew Smith
2021-06-24 6:01 Dennis Lamm
2021-06-23 18:33 Dennis Lamm
2021-02-07 23:57 Dennis Lamm
2020-12-13 14:22 Dennis Lamm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1647682022.7c09ffade2ee87b6090cd529f5bd28e95f579e2b.matthew@gentoo \
--to=matthew@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox