From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B1B4C159C96 for ; Tue, 23 Jul 2024 12:54:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0299AE29E5; Tue, 23 Jul 2024 12:54:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0CBDE29E5 for ; Tue, 23 Jul 2024 12:54:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 85284335D6B for ; Tue, 23 Jul 2024 12:54:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C1FFF1117 for ; Tue, 23 Jul 2024 12:54:50 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1721739272.cc3e510253b21d46c0ed77447daa4f6e5ab33bf4.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cgal/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/cgal/Manifest sci-mathematics/cgal/cgal-6.0_beta1.ebuild X-VCS-Directories: sci-mathematics/cgal/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: cc3e510253b21d46c0ed77447daa4f6e5ab33bf4 X-VCS-Branch: master Date: Tue, 23 Jul 2024 12:54:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ef702fd9-c79c-45c6-bf4a-996acfc7e826 X-Archives-Hash: 6fc67f04b8615d02a183d1c8f0dc9219 commit: cc3e510253b21d46c0ed77447daa4f6e5ab33bf4 Author: Matthias Maier gentoo org> AuthorDate: Tue Jul 23 08:45:38 2024 +0000 Commit: Matthias Maier gentoo org> CommitDate: Tue Jul 23 12:54:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc3e5102 sci-mathematics/cgal: add 6.0_beta1 Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/cgal/Manifest | 2 + sci-mathematics/cgal/cgal-6.0_beta1.ebuild | 61 ++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/sci-mathematics/cgal/Manifest b/sci-mathematics/cgal/Manifest index 652c959d0f12..f2646d88d31a 100644 --- a/sci-mathematics/cgal/Manifest +++ b/sci-mathematics/cgal/Manifest @@ -2,3 +2,5 @@ DIST CGAL-5.6-doc_html.tar.xz 72825232 BLAKE2B 08a5148592771c933126e38a74d77a982 DIST CGAL-5.6.1-doc_html.tar.xz 55148128 BLAKE2B 526d71be5c474570f5d17734a0931ecc3ba4564a7660d798dc00ea901cc27a421e02032490f3355d58dc6ed0b213e916288a025d3d3de4be2887fcb7b42e52a3 SHA512 88b313bc62007412a3b31ae494bd6e03ee4910d689fbc6dbd22c3a38bbd02ffcad5fcf7e71583dfc5a0ef32577e2a1639972d9e5c5e8bef38443e7dd953e7543 DIST CGAL-5.6.1.tar.xz 24893904 BLAKE2B 51abb85af785a6428893df282ce8e8dd6f2aed705d89b057e52f08e4cc42bf2696f676553bd89adb5178915b980b2566bae61bc9809ba58913b9244dac26034d SHA512 34b0b5958253fd4bcfd83ec40d3232bcd1f3ee4c07739ad3e19bf97104c628d10601909cc2343e48fceca0407a41f2c31a686b182b795e471a9a02f1964574f0 DIST CGAL-5.6.tar.xz 24874364 BLAKE2B 556c05177f8b3bcecfd16f2bd38cb6505ab04fb41f1fdcfc97a300f539c7642c3529c75cbe29fd6186b329b3ea844698e752d04690d010a7a5c3f5b6ad3a141f SHA512 1d91ad870b63bce36e060c0de7fa2e7ab98f9d9f6cf7c94d91a6677db237f50c28f8fc49f24bef943b2adcb5a4a8acf01dd94092a97024c33413763348131ea4 +DIST CGAL-6.0-beta1-doc_html.tar.xz 60360336 BLAKE2B cf9612d1168caa03985b432aba5b272ccfc879bbf7ee4cd8d22196f29c74957481aa6704a3c653bd2bfd8aee2d1d05beb1f966201d28d9a186f06441f10087f8 SHA512 9d547114a29abbcf0a3ac486b7073fed77a4bc240f2c565c14acc857e4bb52af348bb73ef318280da577beb2346b79b14db92e33816b9d564ae27dbec924e6f7 +DIST CGAL-6.0-beta1.tar.xz 26383632 BLAKE2B df1e2b00ea5f4a936080d2f308c77fc4053d34b0924dea34431c657f2bdee7a7122aaffb89d323877c360cec65ae238fa188cb03140b337805c26d48a812c05a SHA512 bcbfd6f8704a9d64c3371b1ba0bf4ecd601178a2a849065bff2c5ec3651317237e2d4ee961dcc68936bb0c0a8e7d00220943067bfd18b51f35bc035f76a10891 diff --git a/sci-mathematics/cgal/cgal-6.0_beta1.ebuild b/sci-mathematics/cgal/cgal-6.0_beta1.ebuild new file mode 100644 index 000000000000..99f0659b8999 --- /dev/null +++ b/sci-mathematics/cgal/cgal-6.0_beta1.ebuild @@ -0,0 +1,61 @@ +# 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_PV="${PV/_/-}" +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${MY_PV}/${MY_P}.tar.xz + doc? ( https://github.com/CGAL/cgal/releases/download/v${MY_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}"/doc_html/. ) + + cmake_src_install + + if use examples; then + dodoc -r examples demo + fi +}