commit: 823d3cd97d8a6e5c42d82401ae5c172879795b43 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> AuthorDate: Tue Nov 24 14:34:39 2015 +0000 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> CommitDate: Tue Nov 24 14:34:39 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=823d3cd9
sci-visualization/forge: Version bump Package-Manager: portage-2.2.20.1 sci-visualization/forge/ChangeLog | 5 ++++ sci-visualization/forge/forge-3.2.0.ebuild | 45 ++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/sci-visualization/forge/ChangeLog b/sci-visualization/forge/ChangeLog index 5d206bf..abee051 100644 --- a/sci-visualization/forge/ChangeLog +++ b/sci-visualization/forge/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Id$ +*forge-3.2.0 (24 Nov 2015) + + 24 Nov 2015; Marius Brehler <[email protected]> +forge-3.2.0.ebuild: + sci-visualization/forge: Version bump + 27 Sep 2015; Marius Brehler <[email protected]> forge-3.1.ebuild: sci-visualization/forge: Set version of glm required diff --git a/sci-visualization/forge/forge-3.2.0.ebuild b/sci-visualization/forge/forge-3.2.0.ebuild new file mode 100644 index 0000000..d844878 --- /dev/null +++ b/sci-visualization/forge/forge-3.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="High Performance Visualizations for ArrayFire" +HOMEPAGE="http://www.arrayfire.com/" +SRC_URI="https://github.com/arrayfire/${PN}/archive/af${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +LICENSE="BSD" +SLOT="0" +IUSE="examples" + +RDEPEND=" + media-libs/glew + >=media-libs/glfw-3.1.1 + media-libs/freetype:2 + media-libs/fontconfig:1.0 + >=media-libs/glm-0.9.7.1 + virtual/opengl + " +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-af${PV}" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]] ) ; then + die "Compilation with gcc older than 4.7 is not supported." + fi + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_build examples EXAMPLES) + -DUSE_SYSTEM_GLM=ON + -DUSE_SYSTEM_FREETYPE=ON + ) + cmake-utils_src_configure +}
