mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
sci-libs/libigl: new ebuild
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/18638 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
This commit is contained in:
1
sci-libs/libigl/Manifest
Normal file
1
sci-libs/libigl/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST libigl-2.2.0.tar.gz 976859 BLAKE2B c32f3352735af631efc1a1c3eb598d94d845de61519346f91e9d3bbed3cc267c8b3fc70071b5a13bdc5d35624c8b271c056d3202dd6c8ec65dd24c4ea78885d9 SHA512 d2b091ccbad7b1e4305ac75b82d7bcb12d22e0c6f356ae21c2cc3006fc6404f0b738d394d6b008612e12a473698997c605db91a9b042bb4ec3c5ed18fea50029
|
||||
51
sci-libs/libigl/libigl-2.2.0.ebuild
Normal file
51
sci-libs/libigl/libigl-2.2.0.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2020 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
|
||||
}
|
||||
17
sci-libs/libigl/metadata.xml
Normal file
17
sci-libs/libigl/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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>
|
||||
ibigl is a simple C++ geometry processing library with a wide functionality including construction of sparse
|
||||
discrete differential geometry operators and finite-elements matrices such as the cotangent Laplacian and
|
||||
diagonalized mass matrix, simple facet and edge-based topology data structures, mesh-viewing utilities for
|
||||
OpenGL and GLSL, and many core functions for matrix manipulation which make Eigen feel a lot more like MATLAB.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">libigl/libigl</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user