diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-20 01:14:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-20 01:14:49 +0100 |
commit | bc4457d8e0e53a2e43c4254d08053ba9708663e1 (patch) | |
tree | 4f8809f23d683eed73ef800d99ce7aa628a82527 /sci-mathematics/cgal | |
parent | 5f593f75391c28294f0dffa4dd1df280a4d8df73 (diff) |
gentoo auto-resync : 20:06:2023 - 01:14:49
Diffstat (limited to 'sci-mathematics/cgal')
-rw-r--r-- | sci-mathematics/cgal/Manifest | 3 | ||||
-rw-r--r-- | sci-mathematics/cgal/cgal-5.5.2.ebuild | 60 |
2 files changed, 63 insertions, 0 deletions
diff --git a/sci-mathematics/cgal/Manifest b/sci-mathematics/cgal/Manifest index 77ce84262219..b2f07799964a 100644 --- a/sci-mathematics/cgal/Manifest +++ b/sci-mathematics/cgal/Manifest @@ -1,5 +1,8 @@ AUX cgal-4.11.1-fix-buildsystem.patch 840 BLAKE2B e1179b2721e52b2edf305e2cb434a914f0b46b6aa694fd1766a8622b65ed8e8209a06bc134bfab97f07b789af45f74605fc7ed2b6c45ed5f5574a0a801c479dd SHA512 5e6315dfa64c58ea88d473b3513ec0817e6d212c325dd70b523d2dca2817fed2cdb0791686b7353c410e42ff8b1ee228a045bd6f002b591672066b33ce6f09ad DIST CGAL-5.5-doc_html.tar.xz 53145672 BLAKE2B 7a575f09eed2fd97f3e68f37428d4ab41c267a6e4c158e653a8c2b5a17f2c56a31b64937fa161d3f256b473a1e617acbce2f3bfb71c2e810b8b0335b57a8b54c SHA512 41e16b44b93664ddd5185358165cce99f149fa33bdb308ce7230550ee79e3603c24df5b8d4f67de324ebf7e8a8c1e343e6d76341464cedd9d9af50f5d512af3b +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 +EBUILD cgal-5.5.2.ebuild 1231 BLAKE2B 31d0dd3f578e5d720d28139e5f7dc872689fcb63e7e669b097f00cc7f0ab821f16cdcedaf26fc2f47d9dbdbfb71160b81ac80997be567248ba791beb79487ed1 SHA512 160036c8f6cc4be48240d72a9cdb5658f08f5edb462a4ad9446747a9750e5ddeb011161548faf008db0feeebf506572d261f126eeeafd452d30434b3101b0187 EBUILD cgal-5.5.ebuild 1230 BLAKE2B bab66db74651bc5798716ce9c0e3f3c8b46d53e446e2d6aa10ca1d45d0d008fd7be07363374c103c9e9a913712d02495fa9324b70ca101a81867b6718f29a411 SHA512 4eacfc73204574fb5e4cf72716e45419476f29be99020c69ba2bcb5a40bf9ce5aed1383ff23fe4e5351d29c8268634e3f31c1d687858658bc396903bc2879150 MISC metadata.xml 1118 BLAKE2B ed180a3128a37bc151ce89a0edcc076b09449a43e9ce7633ac0c0343b20cdd585cf6b68dc92262730d8379b4eb0d4b26feba90327384f2e4546fba27336d96ca SHA512 c407490521df2908343dbc870684938dfe71e5f4a072f016361db9f08ebb598540c69a704ce97cf803b4e23846a18c259fc208f286f0d11d8acbadd32182142c diff --git a/sci-mathematics/cgal/cgal-5.5.2.ebuild b/sci-mathematics/cgal/cgal-5.5.2.ebuild new file mode 100644 index 000000000000..d1309dbac6e5 --- /dev/null +++ b/sci-mathematics/cgal/cgal-5.5.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 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 ~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}"/doc_html/. ) + + cmake_src_install + + if use examples; then + dodoc -r examples demo + fi +} |