From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5DCC4139086 for ; Mon, 2 Jan 2017 08:42:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 983BCE0C4A; Mon, 2 Jan 2017 08:42:06 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 73DFBE0C4A for ; Mon, 2 Jan 2017 08:42:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4D442340DC7 for ; Mon, 2 Jan 2017 08:42:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79A962521 for ; Mon, 2 Jan 2017 08:42:03 +0000 (UTC) From: "Marius Brehler" 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" Message-ID: <1483343645.8db6e73be282bdead8ea3029b74b389ed7f3ae7f.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-0.9.2.ebuild X-VCS-Directories: sci-visualization/forge/ X-VCS-Committer: marbre X-VCS-Committer-Name: Marius Brehler X-VCS-Revision: 8db6e73be282bdead8ea3029b74b389ed7f3ae7f X-VCS-Branch: master Date: Mon, 2 Jan 2017 08:42:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: db9030aa-6fbd-41f8-bbb0-0d25a9076767 X-Archives-Hash: 5e8ce2f79249aa96823812640a243980 commit: 8db6e73be282bdead8ea3029b74b389ed7f3ae7f Author: Marius Brehler linux sungazer de> AuthorDate: Mon Jan 2 07:54:05 2017 +0000 Commit: Marius Brehler linux sungazer de> CommitDate: Mon Jan 2 07:54:05 2017 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8db6e73b sci-visualization/forge: Version bump to 0.9.2 Package-Manager: portage-2.3.0 sci-visualization/forge/forge-0.9.2.ebuild | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/sci-visualization/forge/forge-0.9.2.ebuild b/sci-visualization/forge/forge-0.9.2.ebuild new file mode 100644 index 0000000..87d091c --- /dev/null +++ b/sci-visualization/forge/forge-0.9.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils multilib + +DESCRIPTION="High Performance Visualizations for ArrayFire" +HOMEPAGE="http://www.arrayfire.com/" +SRC_URI="https://github.com/arrayfire/${PN}/archive/v${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/glbinding + >=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=( + -DBUILD_EXAMPLES="$(examples EXAMPLES)" + -DUSE_SYSTEM_GLBINDING=ON + -DFG_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/Forge + ) + cmake-utils_src_configure +}