diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-01-03 16:16:19 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-01-03 16:21:54 +0100 |
commit | f4653d899e5408348f6462d05f8c4605f3de9066 (patch) | |
tree | 8600e5c63b690ce7642f78bad15266b51742573f /sci-mathematics | |
parent | net-ftp/ncftp: add 3.2.7 (diff) | |
download | gentoo-f4653d899e5408348f6462d05f8c4605f3de9066.tar.gz gentoo-f4653d899e5408348f6462d05f8c4605f3de9066.tar.bz2 gentoo-f4653d899e5408348f6462d05f8c4605f3de9066.zip |
sci-mathematics/cgal: add 5.6
Closes: https://bugs.gentoo.org/921180
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/cgal/Manifest | 2 | ||||
-rw-r--r-- | sci-mathematics/cgal/cgal-5.6.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/sci-mathematics/cgal/Manifest b/sci-mathematics/cgal/Manifest index f5968708d127..9e5ded777ff4 100644 --- a/sci-mathematics/cgal/Manifest +++ b/sci-mathematics/cgal/Manifest @@ -2,3 +2,5 @@ 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 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 +} |