1 |
commit: d1d8f35276e259771ba074140f966e2678eb86bd |
2 |
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
3 |
AuthorDate: Sun Sep 27 16:46:29 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 16:48:13 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d1d8f352 |
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.1.2.ebuild | 45 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/sci-visualization/forge/ChangeLog b/sci-visualization/forge/ChangeLog |
17 |
index c467aba..95f9956 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.1.2 (27 Sep 2015) |
25 |
+ |
26 |
+ 27 Sep 2015; Marius Brehler <marbre@××××××××××××××.de> +forge-3.1.2.ebuild: |
27 |
+ sci-visualization/forge: Version bump |
28 |
+ |
29 |
*forge-3.1 (17 Sep 2015) |
30 |
*forge-9999 (17 Sep 2015) |
31 |
|
32 |
|
33 |
diff --git a/sci-visualization/forge/forge-3.1.2.ebuild b/sci-visualization/forge/forge-3.1.2.ebuild |
34 |
new file mode 100644 |
35 |
index 0000000..d844878 |
36 |
--- /dev/null |
37 |
+++ b/sci-visualization/forge/forge-3.1.2.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 |
+} |