From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-856854-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 643F41388C3 for <garchives@archives.gentoo.org>; Tue, 12 Jan 2016 11:07:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95FFB21C00F; Tue, 12 Jan 2016 11:07:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0823A21C018 for <gentoo-commits@lists.gentoo.org>; Tue, 12 Jan 2016 11:07:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9E71340A8E for <gentoo-commits@lists.gentoo.org>; Tue, 12 Jan 2016 11:07:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E717CB1 for <gentoo-commits@lists.gentoo.org>; Tue, 12 Jan 2016 11:07:15 +0000 (UTC) From: "Marius Brehler" <marbre@linux.sungazer.de> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marius Brehler" <marbre@linux.sungazer.de> Message-ID: <1452596647.85fe1643e21a4148f208576d80254edf1b01a580.marbre@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/forge/ X-VCS-Repository: proj/sci X-VCS-Files: sci-visualization/forge/forge-3.2.2.ebuild X-VCS-Directories: sci-visualization/forge/ X-VCS-Committer: marbre X-VCS-Committer-Name: Marius Brehler X-VCS-Revision: 85fe1643e21a4148f208576d80254edf1b01a580 X-VCS-Branch: master Date: Tue, 12 Jan 2016 11:07:15 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 87010f3e-ba68-4165-bb95-42cb5f0a8e56 X-Archives-Hash: 7271fb1c760f74423dce1aae97811979 commit: 85fe1643e21a4148f208576d80254edf1b01a580 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> AuthorDate: Tue Jan 12 11:04:07 2016 +0000 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> CommitDate: Tue Jan 12 11:04:07 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=85fe1643 sci-visualization/forge: Version bump to 3.2.2 Package-Manager: portage-2.2.26 sci-visualization/forge/forge-3.2.2.ebuild | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/sci-visualization/forge/forge-3.2.2.ebuild b/sci-visualization/forge/forge-3.2.2.ebuild new file mode 100644 index 0000000..e10e8c7 --- /dev/null +++ b/sci-visualization/forge/forge-3.2.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils multilib + +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" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +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 + -DFG_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/Forge + ) + cmake-utils_src_configure +}