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: Mon, 02 Jan 2017 08:42:07
Message-Id: 1483343645.8db6e73be282bdead8ea3029b74b389ed7f3ae7f.marbre@gentoo
1 commit: 8db6e73be282bdead8ea3029b74b389ed7f3ae7f
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Mon Jan 2 07:54:05 2017 +0000
4 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
5 CommitDate: Mon Jan 2 07:54:05 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8db6e73b
7
8 sci-visualization/forge: Version bump to 0.9.2
9
10 Package-Manager: portage-2.3.0
11
12 sci-visualization/forge/forge-0.9.2.ebuild | 46 ++++++++++++++++++++++++++++++
13 1 file changed, 46 insertions(+)
14
15 diff --git a/sci-visualization/forge/forge-0.9.2.ebuild b/sci-visualization/forge/forge-0.9.2.ebuild
16 new file mode 100644
17 index 0000000..87d091c
18 --- /dev/null
19 +++ b/sci-visualization/forge/forge-0.9.2.ebuild
20 @@ -0,0 +1,46 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=6
26 +
27 +inherit cmake-utils multilib
28 +
29 +DESCRIPTION="High Performance Visualizations for ArrayFire"
30 +HOMEPAGE="http://www.arrayfire.com/"
31 +SRC_URI="https://github.com/arrayfire/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
32 +
33 +LICENSE="BSD"
34 +SLOT="0"
35 +KEYWORDS="~amd64"
36 +IUSE="examples"
37 +
38 +RDEPEND="
39 + media-libs/glew:=
40 + >=media-libs/glfw-3.1.1
41 + media-libs/freetype:2
42 + media-libs/fontconfig:1.0
43 + media-libs/glbinding
44 + >=media-libs/glm-0.9.7.1
45 + virtual/opengl
46 + "
47 +DEPEND="${RDEPEND}"
48 +
49 +#S="${WORKDIR}/${PN}-af${PV}"
50 +
51 +pkg_pretend() {
52 + if [[ ${MERGE_TYPE} != binary ]]; then
53 + if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]] ) ; then
54 + die "Compilation with gcc older than 4.7 is not supported."
55 + fi
56 + fi
57 +}
58 +
59 +src_configure() {
60 + local mycmakeargs=(
61 + -DBUILD_EXAMPLES="$(examples EXAMPLES)"
62 + -DUSE_SYSTEM_GLBINDING=ON
63 + -DFG_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/Forge
64 + )
65 + cmake-utils_src_configure
66 +}