Gentoo Archives: gentoo-commits

From: Marius Brehler <marbre@××××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/forge/
Date: Tue, 24 Nov 2015 14:36:41
Message-Id: 1448375679.823d3cd97d8a6e5c42d82401ae5c172879795b43.marbre@gentoo
1 commit: 823d3cd97d8a6e5c42d82401ae5c172879795b43
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Tue Nov 24 14:34:39 2015 +0000
4 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
5 CommitDate: Tue Nov 24 14:34:39 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=823d3cd9
7
8 sci-visualization/forge: Version bump
9
10 Package-Manager: portage-2.2.20.1
11
12 sci-visualization/forge/ChangeLog | 5 ++++
13 sci-visualization/forge/forge-3.2.0.ebuild | 45 ++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/sci-visualization/forge/ChangeLog b/sci-visualization/forge/ChangeLog
17 index 5d206bf..abee051 100644
18 --- a/sci-visualization/forge/ChangeLog
19 +++ b/sci-visualization/forge/ChangeLog
20 @@ -2,6 +2,11 @@
21 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
22 # $Id$
23
24 +*forge-3.2.0 (24 Nov 2015)
25 +
26 + 24 Nov 2015; Marius Brehler <marbre@××××××××××××××.de> +forge-3.2.0.ebuild:
27 + sci-visualization/forge: Version bump
28 +
29 27 Sep 2015; Marius Brehler <marbre@××××××××××××××.de> forge-3.1.ebuild:
30 sci-visualization/forge: Set version of glm required
31
32
33 diff --git a/sci-visualization/forge/forge-3.2.0.ebuild b/sci-visualization/forge/forge-3.2.0.ebuild
34 new file mode 100644
35 index 0000000..d844878
36 --- /dev/null
37 +++ b/sci-visualization/forge/forge-3.2.0.ebuild
38 @@ -0,0 +1,45 @@
39 +# Copyright 1999-2015 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +# $Id$
42 +
43 +EAPI=5
44 +
45 +inherit cmake-utils
46 +
47 +DESCRIPTION="High Performance Visualizations for ArrayFire"
48 +HOMEPAGE="http://www.arrayfire.com/"
49 +SRC_URI="https://github.com/arrayfire/${PN}/archive/af${PV}.tar.gz -> ${P}.tar.gz"
50 +KEYWORDS="~amd64"
51 +
52 +LICENSE="BSD"
53 +SLOT="0"
54 +IUSE="examples"
55 +
56 +RDEPEND="
57 + media-libs/glew
58 + >=media-libs/glfw-3.1.1
59 + media-libs/freetype:2
60 + media-libs/fontconfig:1.0
61 + >=media-libs/glm-0.9.7.1
62 + virtual/opengl
63 + "
64 +DEPEND="${RDEPEND}"
65 +
66 +S="${WORKDIR}/${PN}-af${PV}"
67 +
68 +pkg_pretend() {
69 + if [[ ${MERGE_TYPE} != binary ]]; then
70 + if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]] ) ; then
71 + die "Compilation with gcc older than 4.7 is not supported."
72 + fi
73 + fi
74 +}
75 +
76 +src_configure() {
77 + local mycmakeargs=(
78 + $(cmake-utils_use_build examples EXAMPLES)
79 + -DUSE_SYSTEM_GLM=ON
80 + -DUSE_SYSTEM_FREETYPE=ON
81 + )
82 + cmake-utils_src_configure
83 +}