public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cgal/
Date: Sun, 27 Dec 2020 03:37:02 +0000 (UTC)	[thread overview]
Message-ID: <1609039948.24fee49b88790b4104f784c9bacf69f1b996fba1.sam@gentoo> (raw)

commit:     24fee49b88790b4104f784c9bacf69f1b996fba1
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Wed Dec 23 06:14:37 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 03:32:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24fee49b

sci-mathematics/cgal: version bump to 5.2

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/18774
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/cgal/Manifest        |  2 +
 sci-mathematics/cgal/cgal-5.2.ebuild | 77 ++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/sci-mathematics/cgal/Manifest b/sci-mathematics/cgal/Manifest
index a8c424b9974..2296ba52ffa 100644
--- a/sci-mathematics/cgal/Manifest
+++ b/sci-mathematics/cgal/Manifest
@@ -2,3 +2,5 @@ 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

diff --git a/sci-mathematics/cgal/cgal-5.2.ebuild b/sci-mathematics/cgal/cgal-5.2.ebuild
new file mode 100644
index 00000000000..42d829dec90
--- /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
+}


             reply	other threads:[~2020-12-27  3:37 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-27  3:37 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10 22:43 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cgal/ Sam James
2024-12-05 21:16 Sam James
2024-11-23 21:25 Sam James
2024-10-15 19:05 Matthias Maier
2024-07-23 12:54 Matthias Maier
2024-07-03 22:43 Matthias Maier
2024-02-20 20:49 Andreas Sturmlechner
2024-01-31  9:18 Sam James
2024-01-03 15:22 Andrew Ammerlaan
2023-12-16 19:16 Arthur Zamarin
2023-12-03  5:45 Arthur Zamarin
2023-06-19 18:26 Matthias Maier
2022-12-19 14:47 Andreas Sturmlechner
2022-12-18 20:15 Arthur Zamarin
2022-09-04 12:23 David Seifert
2022-07-16 14:33 Sam James
2022-06-08 22:37 Matthias Maier
2022-06-08 22:14 Matthias Maier
2022-06-08 22:14 Matthias Maier
2021-07-10  9:46 David Seifert
2021-07-07 17:48 Joonas Niilola
2021-06-18 19:18 David Seifert
2021-06-18 13:15 David Seifert
2021-05-05  6:42 Joonas Niilola
2021-02-25 11:19 Sam James
2021-02-19 12:07 Sam James
2021-02-18 20:12 Andreas Sturmlechner
2021-01-05 20:51 Sam James
2020-12-29  9:52 Sam James
2020-11-20  9:53 David Seifert
2020-11-20  9:53 David Seifert
2020-08-25 10:25 Sam James
2019-06-05  6:48 Agostino Sarubbo
2018-09-09 15:54 Amy Liffey
2018-03-05 15:47 Andreas Sturmlechner
2017-05-13 10:52 Agostino Sarubbo
2017-04-07  3:04 Matthias Maier
2017-04-07  3:04 Matthias Maier
2016-05-06 10:03 David Seifert
2016-05-05 18:32 David Seifert
2016-05-03 21:24 David Seifert
2016-04-19 20:16 Ian Stakenvicius
2016-03-05 17:30 David Seifert
2016-03-05  9:44 David Seifert
2015-12-25 16:20 Agostino Sarubbo
2015-12-25 15:42 Agostino Sarubbo
2015-08-09 17:02 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1609039948.24fee49b88790b4104f784c9bacf69f1b996fba1.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox