From 129160ec854dca4c3fedb5bcfbcb56930371da0f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Jan 2021 21:06:00 +0000 Subject: gentoo new year resync : 01.01.2021 --- sci-mathematics/cgal/Manifest | 5 ++- sci-mathematics/cgal/cgal-5.1.ebuild | 2 +- sci-mathematics/cgal/cgal-5.2.ebuild | 77 ++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 sci-mathematics/cgal/cgal-5.2.ebuild (limited to 'sci-mathematics/cgal') diff --git a/sci-mathematics/cgal/Manifest b/sci-mathematics/cgal/Manifest index ad0ceb4500cf..315fda5f8707 100644 --- a/sci-mathematics/cgal/Manifest +++ b/sci-mathematics/cgal/Manifest @@ -3,6 +3,9 @@ DIST CGAL-4.11.3-doc_html.tar.xz 30576756 BLAKE2B 6d32f3bca1c5aee4ed09eb96a35113 DIST CGAL-4.11.3.tar.xz 14657412 BLAKE2B a10457d255fcdd822f90419ff6af5389c50e88b254ed7f37471e24bb8523732b5aa6bd1ee5e67f14fcf0d8e79abf86e798ddeb3e0ce965dc2cde5667377bf5e0 SHA512 44cdd5fb313841d208ffeb9a96aa8db5111defd581b749c80f655390b5468f7c18b61df0ac2bdeb5259507341cc451fcd8cd50f7ff0571efdcb76eb920f92f7e DIST CGAL-5.1-doc_html.tar.xz 50630976 BLAKE2B 559287263b189ec5ac4a0b3445e1cc5862471285f28caca40f48b25b64eaef3426c42a178e4cb4db69a1e324963a9af665e84ca8f44da8b55ebb344f18f56fdc SHA512 ada944d73d3e6465a14d87ee87d1cabaee2c4848622b5360c14d6a9b5ff5ba3e19859943ecb7595b0dec7e950f214aa47b6ab389c23dd5f2794fc21a9e3a17db DIST CGAL-5.1.tar.xz 22850692 BLAKE2B 42320e07e222c3f69febe7dc478c74ef6cde0de723ea2d84c891b6e598d02c38026e9246edd467cadea8d66e527000a9b4af296ab026dd42c7876acea9824ccb SHA512 41085eeb113cec0eede2e21df05c9d2530db5988b4f9d0379f8de7c655cab09266620eebe017e0141c0ccdbcbafe8c074fd5bec46a40aaba95aa7521732e4423 +DIST CGAL-5.2-doc_html.tar.xz 51123300 BLAKE2B 748b94d199343402baf6aef298b352fc23b9b01995adbe2d5157d8a4d3d772f4e029f0f0ac5282cdb387e5e7b9191082154840e32cd503c97f56295a59419cf4 SHA512 4ffaa9b36c20e62a62bd77fb79d9d9d54cf2b20a1542aa1bef9f6d27f6d7c1412a5f843968ae400d42e8d4bc8ae1d7a16c197503d0fd43fc72592d73213c5c72 +DIST CGAL-5.2.tar.xz 23250240 BLAKE2B eb80a81dd01b2b2e30fe72f45cceee0861b36f47e395d1c905f8551e23d57c36dd9a7c66e32f6c2a0a2cfbd4c780fd5d5ae098709bfc1072e7ac7f761d328fd3 SHA512 8dddec18bd7e375ea3b18c636ddb2ca4f3a318e177305058f702206b830e2605837024e4b1265789f1bdc46dda80133d6fa8d61a036cda3c93a227f4c244cc1a EBUILD cgal-4.11.3.ebuild 1855 BLAKE2B 634dc890c3ae78d684f3ecd775558d2464015b0d05e2cd5711e2df9b6ffd3cf6612fc6639559850e0e79cfdf1499ed594da13db6c302b66a31175f418aa03730 SHA512 cfd6ef2caadb533102e29b2243f06a5cea0fd0f9e0bef4bb479fc1d43a4691ea991376dfe5756165f7b6844c2b614d3943294a14cd9edd4349cc87b693f08959 -EBUILD cgal-5.1.ebuild 1670 BLAKE2B ce2c3082e49dc42ed8c49eede073159077c305643aa45e8608a9458ad61635097569878953b62e82e7a4cc29f349ed4caf39a1127e702b015adb6dd575949610 SHA512 50aabd483922ca5c1c2e03779cca5186a9dc3e03c52967fcb3084d925ae9a797032c23d25cbd2f349a2a4ae8d0ac7a7b2f85860cc1bfbaba70e8168875e0474b +EBUILD cgal-5.1.ebuild 1669 BLAKE2B 9e55ca721739469c39359642fd3d2b0b418376ff9805c499179bdc13d09eaf0c17a30cf9e48e04d3942bcc19209b33e88a437715e6277abd60958489baea6777 SHA512 5b6124270d59548c77f214aceb1230eea6cd2c0ec03c214ad282e2ea81ff169c7081c53ead612184de49a6e0217e7978b6aacff008f69951304ab25e5760c321 +EBUILD cgal-5.2.ebuild 1668 BLAKE2B 636f696c5e36ef35db8ab95fe833c619a424bf3856e8d2af1f9dc7e1c8f14a7d69258b4c1c610c75e44624d1a8437e4526249c6bab7819dd3b10a8d7b0214892 SHA512 d6421c66fa55adc8ad6d6c9e51de130bb916237e6ca4aba56398e72475cbd5a7b0febe031ba8b43b49e0abe9f93c82bc6a95550341b9205a87367d413cf1a896 MISC metadata.xml 1552 BLAKE2B f05f378f0343972d254851ddac6512761f36741106091b37d8e4fe216f4df6ebad12faea0d7e9323b999b5595d6d03a7b9848601fc83bf8bd8c35234c71e7301 SHA512 fc1bef0c6259b274716ad0c9bb50946268857fd8bd919d4fe2e4d6a89bbee518ef321f2fa4b43587ee61e40dcc96d12c5e152b39bdbbc39b440300c61039d4db diff --git a/sci-mathematics/cgal/cgal-5.1.ebuild b/sci-mathematics/cgal/cgal-5.1.ebuild index 4dde3874c447..212a73b0a84e 100644 --- a/sci-mathematics/cgal/cgal-5.1.ebuild +++ b/sci-mathematics/cgal/cgal-5.1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="LGPL-3 GPL-3 Boost-1.0" SLOT="0/14" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" IUSE="doc examples +gmp mpfi ntl qt5" RDEPEND=" diff --git a/sci-mathematics/cgal/cgal-5.2.ebuild b/sci-mathematics/cgal/cgal-5.2.ebuild new file mode 100644 index 000000000000..42d829dec900 --- /dev/null +++ b/sci-mathematics/cgal/cgal-5.2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples +gmp mpfi ntl qt5" + +RDEPEND=" + dev-cpp/eigen + dev-libs/boost:=[threads] + dev-libs/mpfr:= + sys-libs/zlib + x11-libs/libX11:= + virtual/glu:= + virtual/opengl:= + gmp? ( dev-libs/gmp:=[cxx] ) + mpfi? ( sci-libs/mpfi ) + ntl? ( dev-libs/ntl ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-arch/xz-utils + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}"/${PN}-4.11.1-fix-buildsystem.patch ) + +src_prepare() { + cmake_src_prepare + # modules provided by dev-cpp/eigen + rm cmake/modules/FindEigen3.cmake || die +} + +src_configure() { + local mycmakeargs=( + -DCGAL_INSTALL_LIB_DIR="$(get_libdir)" + -DCGAL_INSTALL_CMAKE_DIR="$(get_libdir)/cmake/CGAL" + -DCGAL_HEADER_ONLY=OFF + -DWITH_LEDA=OFF + -DWITH_Eigen3=ON + -DWITH_ZLIB=ON + -DWITH_GMP=$(usex gmp) + -DWITH_GMPXX=$(usex gmp) + -DWITH_MPFI=$(usex mpfi) + -DWITH_NTL=$(usex ntl) + -DWITH_CGAL_Qt5=$(usex qt5) + ) + cmake_src_configure +} + +src_install() { + use doc && local HTML_DOCS=( "${WORKDIR}"/doc_html/. ) + cmake_src_install + if use examples; then + dodoc -r examples demo + fi +} -- cgit v1.2.3