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: Fri, 04 Dec 2015 17:44:58
Message-Id: 1449250990.071ce103d1be384195c1c7fe7a756cde1faa7a4e.marbre@gentoo
1 commit: 071ce103d1be384195c1c7fe7a756cde1faa7a4e
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Fri Dec 4 17:43:10 2015 +0000
4 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
5 CommitDate: Fri Dec 4 17:43:10 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=071ce103
7
8 sci-visualization/forge: Version bumop
9
10 Package-Manager: portage-2.2.20.1
11
12 sci-visualization/forge/ChangeLog | 5 ++++
13 sci-visualization/forge/forge-3.2.1.ebuild | 46 ++++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/sci-visualization/forge/ChangeLog b/sci-visualization/forge/ChangeLog
17 index 1a510cb..2a3c9a3 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.1 (04 Dec 2015)
25 +
26 + 04 Dec 2015; Marius Brehler <marbre@××××××××××××××.de> +forge-3.2.1.ebuild:
27 + sci-visualization/forge: Version bumop
28 +
29 28 Nov 2015; Marius Brehler <marbre@××××××××××××××.de>
30 -files/forge-3.1-find-glm.patch, -forge-3.1.ebuild:
31 sci-visualization/forge: Drop old
32
33 diff --git a/sci-visualization/forge/forge-3.2.1.ebuild b/sci-visualization/forge/forge-3.2.1.ebuild
34 new file mode 100644
35 index 0000000..e43ff9e
36 --- /dev/null
37 +++ b/sci-visualization/forge/forge-3.2.1.ebuild
38 @@ -0,0 +1,46 @@
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 multilib
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 +
51 +LICENSE="BSD"
52 +SLOT="0"
53 +KEYWORDS="~amd64"
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 + -DFG_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/Forge
82 + )
83 + cmake-utils_src_configure
84 +}