public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cgal/
Date: Tue,  3 May 2016 21:24:13 +0000 (UTC)	[thread overview]
Message-ID: <1462310621.70a5086d2c6e58948fe35f1d2ef3f84ac1f18779.soap@gentoo> (raw)

commit:     70a5086d2c6e58948fe35f1d2ef3f84ac1f18779
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue May  3 21:19:20 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue May  3 21:23:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70a5086d

sci-mathematics/cgal: Version bump to 4.8

* Install *.cmake files in /usr/share/cmake/Modules/
* Use C++11 threads instead of boost::thread

Package-Manager: portage-2.2.28

 sci-mathematics/cgal/Manifest        |  2 +
 sci-mathematics/cgal/cgal-4.8.ebuild | 87 ++++++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/sci-mathematics/cgal/Manifest b/sci-mathematics/cgal/Manifest
index 370bd04..2e114da 100644
--- a/sci-mathematics/cgal/Manifest
+++ b/sci-mathematics/cgal/Manifest
@@ -4,3 +4,5 @@ DIST CGAL-4.6.1-doc_html-1.tar.xz 22890352 SHA256 d7259defe9980fa0d333d55050902a
 DIST CGAL-4.6.1.tar.xz 12014652 SHA256 33bd82871ccbaf16dc509f78f3f91dd35d44197cad64bffa63a1671a1812351a SHA512 4227ea03c23f3858a47e0559bc0a3df34e447e18e2b053048378c479b9b7fa2a157cf9aa546d7659a1d4d640218944fe1104a21769144cdfdc8a5144299f4b61 WHIRLPOOL 309deea6268d036b14796b411a7dcdbe75433a6d5eb2296387b05f2957e538cce6e6fe0b23be3921a500eae74db954058ed57aeef8759e44f4038d2fbab884f7
 DIST cgal-4.7-doc_html-1.tar.xz 25248068 SHA256 2a15a16229dd90f991ea976761c8ae3c1f9e09f4023bb4446629c3b948a3b9bd SHA512 7542d1937c8cd8cfd174aa67b74b1e242c1dbbd40ca772eb0b7bdc80a947f0851222b10d098193b5c2cab1fe3f32cd40ab2555248bd99b7a29c296df288dabf7 WHIRLPOOL f7657994ffa71e4c5f30b75060cd87fc46686b5d2e1a05012b36a0c0f2a6b2ddcf40b9fb1ae038c69e3f363d12e92acf6455c2ad2838567d3a1cc31dd4722c54
 DIST cgal-4.7.tar.xz 13673360 SHA256 50bd0a1cad7a8957b09012f831eebaf7d670e2a3467e8f365ec0c71fa5436369 SHA512 8126e861fb091a21a0eaf777205d5d688a0d33f005b91c85b2e5fb91afa66796611ec8a314647a322141169483ab8ff0dba769840bf4fb0f4397cf167172b21f WHIRLPOOL 6f1b0c9855161c0841faf1022742fd09157d5605fb5d5046d2b3bde1f1027b3ee6813ac631fb981f026239e0027434102c16d25b1dfda8619c571adc8639a921
+DIST cgal-4.8-doc_html-1.tar.xz 25996928 SHA256 27e63a868d6103fbedf43d4adf518de94dd8209d65e352aa60b8773a0e3ee1a2 SHA512 f2363b3a21065b079ee192235cfeac66e87466a5f9646b33cf880f12ea646f87caf957dafd1d22199d5414f0ee378e540db42617641b4627106490ed33f21a80 WHIRLPOOL 34e830e0aad057108d9cb16cc12db0a1477351e866ae50b9af5d268b74bc15037c306f869c3f76406c8d8fa88192e3c5471517806589691b8b6502d8a306326f
+DIST cgal-4.8.tar.xz 13509916 SHA256 2483ccf34ae41e830a3e33f2f471aadecf43316fb56bf632e403765ad035ce25 SHA512 9640ba855b968f812876a694502c678737046d1c5ed30c766ceba7ae91ca2731d07b31841aa62c6817b0bacbd36f3bf492f71e0a709ef56cab7ad66ffbfee8d5 WHIRLPOOL 7747ef95005c2f93cef7442becc5a1e6209ad04b9d45ff187b919ea7f3cadf8087634865e177aa2129bb6d8ff054859197d76234b7f55a636eee6fe1dc7dbfce

diff --git a/sci-mathematics/cgal/cgal-4.8.ebuild b/sci-mathematics/cgal/cgal-4.8.ebuild
new file mode 100644
index 0000000..ddcc1e3
--- /dev/null
+++ b/sci-mathematics/cgal/cgal-4.8.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils flag-o-matic
+
+MY_P=CGAL-${PV}
+
+DESCRIPTION="C++ library for geometric algorithms and data structures"
+HOMEPAGE="http://www.cgal.org/"
+SRC_URI="
+	https://github.com/CGAL/cgal/releases/download/releases%2F${MY_P}/${MY_P}.tar.xz -> ${P}.tar.xz
+	doc? ( https://github.com/CGAL/cgal/releases/download/releases%2F${MY_P}/${MY_P}-doc_html.tar.xz -> ${P}-doc_html-1.tar.xz )"
+
+LICENSE="LGPL-3 GPL-3 Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples +gmp mpfi ntl qt5"
+
+RDEPEND="
+	>=dev-cpp/eigen-3.1
+	dev-libs/boost:=
+	dev-libs/mpfr:0
+	sys-libs/zlib
+	x11-libs/libX11
+	virtual/glu
+	virtual/opengl
+	gmp? ( dev-libs/gmp[cxx] )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtopengl:5
+		dev-qt/qtsvg:5
+		dev-qt/qtwidgets:5
+	)
+	mpfi? ( sci-libs/mpfi )
+	ntl? ( dev-libs/ntl )"
+DEPEND="${RDEPEND}
+	app-arch/xz-utils
+	virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+PATCHES=(
+	"${FILESDIR}/${PN}-4.7-fix-buildsystem.patch"
+)
+
+src_prepare() {
+	cmake-utils_src_prepare
+	# modules provided by dev-util/cmake and dev-cpp/eigen
+	rm cmake/modules/Find{Eigen3,GLEW,OpenGL}.cmake || die
+	sed \
+		-e '/install(FILES AUTHORS/d' \
+		-i CMakeLists.txt || die
+
+	# use C++11 threads instead of boost::thread
+	append-cxxflags -std=c++11
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCGAL_INSTALL_LIB_DIR=$(get_libdir)
+		-DCGAL_INSTALL_CMAKE_DIR="${EPREFIX}/usr/share/cmake/Modules/"
+		-DWITH_CGAL_Qt3=OFF
+		-DWITH_LEDA=OFF
+		-DWITH_Eigen3=ON
+		-DWITH_ZLIB=ON
+		-DWITH_GMP="$(usex gmp)"
+		-DWITH_GMPXX="$(usex gmp)"
+		-DWITH_CGAL_Qt5="$(usex qt5)"
+		-DWITH_MPFI="$(usex mpfi)"
+		-DWITH_NTL="$(usex ntl)"
+	)
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+	if use examples; then
+		dodoc -r examples demo
+	fi
+	if use doc; then
+		docinto html/
+		dodoc -r "${WORKDIR}"/doc_html/*
+	fi
+}


             reply	other threads:[~2016-05-03 21:24 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-03 21:24 David Seifert [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-12-27  3:37 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-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=1462310621.70a5086d2c6e58948fe35f1d2ef3f84ac1f18779.soap@gentoo \
    --to=soap@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