summaryrefslogtreecommitdiff
path: root/sci-mathematics/cgal
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-03 19:55:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-03 19:55:55 +0000
commit0a3d5f62f59ea08933fd51b22c8c35ea85e2ce7c (patch)
tree3b5f42a35efeb767e8420d5a52a35234607a4248 /sci-mathematics/cgal
parent94b475013eb88e152032d5f8c684a7d9ce91e319 (diff)
gentoo auto-resync : 03:01:2024 - 19:55:55
Diffstat (limited to 'sci-mathematics/cgal')
-rw-r--r--sci-mathematics/cgal/Manifest3
-rw-r--r--sci-mathematics/cgal/cgal-5.6.ebuild60
2 files changed, 63 insertions, 0 deletions
diff --git a/sci-mathematics/cgal/Manifest b/sci-mathematics/cgal/Manifest
index 9aae4aed032a..bfae8f7ec9f4 100644
--- a/sci-mathematics/cgal/Manifest
+++ b/sci-mathematics/cgal/Manifest
@@ -3,6 +3,9 @@ DIST CGAL-5.5-doc_html.tar.xz 53145672 BLAKE2B 7a575f09eed2fd97f3e68f37428d4ab41
DIST CGAL-5.5.2-doc_html.tar.xz 53155520 BLAKE2B 349f4dd2a5821412a614c6aa6c20bc3da24f23341b286d0d4eff0546a5decb9e4d13a8b53cd41a4431a710e2dfa54594997d4075bed548538b5590b1d375a363 SHA512 7b98462e32d29553bdc11e435ba086c81a9cf7506b9ad8d118de8cb8d689d3647c7956164e81b8b02768990f7cc0661e6cdc1eea0ac01d55a87b95e4c9248791
DIST CGAL-5.5.2.tar.xz 24159628 BLAKE2B 23417651deba4fa1587ee3082483672f7f8864621ceb8ef273d2ab0490bb7fe0dc96358393d39d33b14c50c5bde4d2138b8982fa3907a049151d12e7cbc3c4f8 SHA512 2842b027f68d98be5b747bbf1c5fa9310b82247520f1dc90b7612311a77aad83f519805a366317c4d50ca440dc604be6b7ca88160add1ce2b8006f0e561363eb
DIST CGAL-5.5.tar.xz 24156768 BLAKE2B e5f02cd082abfa8443e65430ed366cfdc3736c6a7af37284969ddd558ede1aa6c881d6928c65708504fd58f68ea01f56aa0749267d6dc83fd54f0b28e8c01374 SHA512 7fa6bf6c046727a9e0bce7cbde34cbe85979127a1ad0904f2865be83a80e89fa9af5118e5647572414f8096d29ecc808ee471d4bd3e7ecd41338be649b549290
+DIST CGAL-5.6-doc_html.tar.xz 72825232 BLAKE2B 08a5148592771c933126e38a74d77a98200800f17632d542e79ae1b9e53efc81ee44f13e5e81a5c4bfdd2e3e0591e3c0fb5c8cda2d2115faca169fced8961486 SHA512 48ff503c9dab03e4630e042c3c9febbd3c4ce7d3ad3fff1da693c00fc308f81472efcd8cda012edc9a1181966fc4e17aac60baab74be53bf63bc62b6db3d72c8
+DIST CGAL-5.6.tar.xz 24874364 BLAKE2B 556c05177f8b3bcecfd16f2bd38cb6505ab04fb41f1fdcfc97a300f539c7642c3529c75cbe29fd6186b329b3ea844698e752d04690d010a7a5c3f5b6ad3a141f SHA512 1d91ad870b63bce36e060c0de7fa2e7ab98f9d9f6cf7c94d91a6677db237f50c28f8fc49f24bef943b2adcb5a4a8acf01dd94092a97024c33413763348131ea4
EBUILD cgal-5.5.2.ebuild 1237 BLAKE2B 6d35ddeceee2e04548401d4f62e5a691ff89b151c7ed7021c0f487b138151adb96972e7d75040c5bf7045f38037c8f2e23f3272c53b094ca14bca94576c453b6 SHA512 b9fb08fb915228960917811c079c38b57cb67e473bae6839ba260306f111f133b15dbd89e718e744dde7db4cbbdaa15fdbda3898eabd54e64bb0be0a7f1cd280
EBUILD cgal-5.5.ebuild 1230 BLAKE2B bab66db74651bc5798716ce9c0e3f3c8b46d53e446e2d6aa10ca1d45d0d008fd7be07363374c103c9e9a913712d02495fa9324b70ca101a81867b6718f29a411 SHA512 4eacfc73204574fb5e4cf72716e45419476f29be99020c69ba2bcb5a40bf9ce5aed1383ff23fe4e5351d29c8268634e3f31c1d687858658bc396903bc2879150
+EBUILD cgal-5.6.ebuild 1249 BLAKE2B fe6124da8a8455ccf82705ef790fed944b3351c34de967fc1eb72c81705a8bf89e302c0feeb6b8fe77e7f0ddd39f10623805eabf1a8cc80835f11b518bee8b8f SHA512 186e9544022af4c45935b11f2e75fc7d056cf49adf5d986e71b891a0ef71fd5c3acd0d3d99b37b0262038b654f3b7d7987a884943d90c03a1012034025336e08
MISC metadata.xml 1118 BLAKE2B ed180a3128a37bc151ce89a0edcc076b09449a43e9ce7633ac0c0343b20cdd585cf6b68dc92262730d8379b4eb0d4b26feba90327384f2e4546fba27336d96ca SHA512 c407490521df2908343dbc870684938dfe71e5f4a072f016361db9f08ebb598540c69a704ce97cf803b4e23846a18c259fc208f286f0d11d8acbadd32182142c
diff --git a/sci-mathematics/cgal/cgal-5.6.ebuild b/sci-mathematics/cgal/cgal-5.6.ebuild
new file mode 100644
index 000000000000..1ef2b2dbf76e
--- /dev/null
+++ b/sci-mathematics/cgal/cgal-5.6.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Modules provided by dev-cpp/eigen
+CMAKE_REMOVE_MODULES_LIST=( FindEigen3 )
+inherit cmake
+
+MY_P=CGAL-${PV}
+DESCRIPTION="C++ library for geometric algorithms and data structures"
+HOMEPAGE="https://www.cgal.org/"
+SRC_URI="
+ https://github.com/CGAL/cgal/releases/download/v${PV}/${MY_P}.tar.xz
+ doc? ( https://github.com/CGAL/cgal/releases/download/v${PV}/${MY_P}-doc_html.tar.xz )"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-3 GPL-3 Boost-1.0"
+SLOT="0/14"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+RDEPEND="
+ dev-cpp/eigen
+ dev-libs/boost:=
+ dev-libs/gmp:=[cxx]
+ dev-libs/mpfr:=
+ sys-libs/zlib
+ x11-libs/libX11:=
+ virtual/glu:=
+ virtual/opengl:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ app-arch/xz-utils
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.11.1-fix-buildsystem.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DCGAL_INSTALL_LIB_DIR="$(get_libdir)"
+ -DCGAL_INSTALL_CMAKE_DIR="$(get_libdir)/cmake/CGAL"
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/CGAL-${PV}-doc_html/. )
+
+ cmake_src_install
+
+ if use examples; then
+ dodoc -r examples demo
+ fi
+}