Added OpenSCAD live ebuild
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
DIST CGAL-4.7-1.tar.xz 13673360 SHA256 50bd0a1cad7a8957b09012f831eebaf7d670e2a3467e8f365ec0c71fa5436369 SHA512 8126e861fb091a21a0eaf777205d5d688a0d33f005b91c85b2e5fb91afa66796611ec8a314647a322141169483ab8ff0dba769840bf4fb0f4397cf167172b21f WHIRLPOOL 6f1b0c9855161c0841faf1022742fd09157d5605fb5d5046d2b3bde1f1027b3ee6813ac631fb981f026239e0027434102c16d25b1dfda8619c571adc8639a921
|
||||
DIST CGAL-4.7-doc_html-1.tar.xz 25248068 SHA256 2a15a16229dd90f991ea976761c8ae3c1f9e09f4023bb4446629c3b948a3b9bd SHA512 7542d1937c8cd8cfd174aa67b74b1e242c1dbbd40ca772eb0b7bdc80a947f0851222b10d098193b5c2cab1fe3f32cd40ab2555248bd99b7a29c296df288dabf7 WHIRLPOOL f7657994ffa71e4c5f30b75060cd87fc46686b5d2e1a05012b36a0c0f2a6b2ddcf40b9fb1ae038c69e3f363d12e92acf6455c2ad2838567d3a1cc31dd4722c54
|
||||
EBUILD cgal-4.7.ebuild 1601 SHA256 9ebc5ff0f0a3ca5cdb8932635d8a3cb349d6d4f4ebc673cc211b02b8dcd12ad8 SHA512 381eb36d0fcb763951be0d9860be9999b26f83d4cfee469d429926b4fdde1cb31f66b8484efad7e0ce4647c680196c9a3f86cb6a32f0d45856a2ced4876b3860 WHIRLPOOL f6412a07edf74b814c01bc1f9154c5e3fac260893b2a3d422c03e7a0fb5e5926ffd41885b85a47d27dd798b0ad3620e3ca9726cde0f4d14fafd35ec34c7a26e8
|
||||
MISC metadata.xml 1176 SHA256 cb26cc714b9f3fefb7c52a2f1d8a1b314193013d359e1d0edbc7096226683cf0 SHA512 5cf662c5843200b28ff691d04751d4b1b44bb0699a318233c05e4713f097da8432be5ac9b69a6ceb44abf8e213fbe711e1da1db75b3889a1c639d091f230ae22 WHIRLPOOL 56ee6667f068eea00b833fd8451062ccf659b70ddcd2ad3e4e5fc043ec5655c2263f637c49cd4880a652e73be6227115de682dda1dbe7738f44b7031255c7cd0
|
||||
@@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
CMAKE_BUILD_TYPE=Release
|
||||
|
||||
inherit multilib cmake-utils
|
||||
|
||||
MY_P=CGAL-${PV}
|
||||
|
||||
DESCRIPTION="C++ library for geometric algorithms and data structures"
|
||||
HOMEPAGE="http://www.cgal.org/ https://gforge.inria.fr/projects/cgal/"
|
||||
SRC_URI="
|
||||
https://github.com/CGAL/cgal/releases/download/releases%2F${MY_P}/${MY_P}.tar.xz -> ${MY_P}-1.tar.xz
|
||||
doc? ( https://github.com/CGAL/cgal/releases/download/releases%2F${MY_P}/${MY_P}-doc_html.tar.xz -> ${MY_P}-doc_html-1.tar.xz )"
|
||||
|
||||
LICENSE="LGPL-3 GPL-3 Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples +gmp mpfi qt4"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost
|
||||
dev-libs/mpfr:0
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
gmp? ( dev-libs/gmp[cxx] )
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtopengl:4
|
||||
)
|
||||
mpfi? ( sci-libs/mpfi )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS="AUTHORS CHANGES* README"
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
sed \
|
||||
-e '/install(FILES AUTHORS/d' \
|
||||
-i CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCGAL_INSTALL_LIB_DIR=$(get_libdir)
|
||||
-DWITH_CGAL_Qt3=OFF
|
||||
-DWITH_LEDA=OFF
|
||||
$(cmake-utils_use_with gmp)
|
||||
$(cmake-utils_use_with gmp GMPXX)
|
||||
$(cmake-utils_use_with qt4 CGAL_Qt4)
|
||||
$(cmake-utils_use_with mpfi)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=( "${WORKDIR}"/doc_html/. )
|
||||
cmake-utils_src_install
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples demo
|
||||
fi
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>sci-mathematics@gentoo.org</email>
|
||||
<name>Gentoo Mathematics Project</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
The Computational Geometry Algorithms Library is a collaborative
|
||||
open source library containing:
|
||||
* the Kernel with geometric primitives such as points, vectors,
|
||||
lines, predicates for testing things such as relative positions of
|
||||
points, and operations such as intersections and distance calculation.
|
||||
* the Basic Library which is a collection of standard data
|
||||
structures and geometric algorithms, such as convex hull in 2D/3D,
|
||||
(Delaunay) triangulation in 2D/3D, planar map, polyhedron, smallest
|
||||
enclosing circle, and multidimensional query structures.
|
||||
* the Support Library which offers interfaces to other packages,
|
||||
e.g., for visualisation, and I/O, and other support facilities.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="mpfi">Enable support for multiple recision interval arithmetic via <pkg>sci-mathematics/mpfi</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user