From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 31A3D13888F for ; Tue, 6 Oct 2015 21:38:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8398DE0870; Tue, 6 Oct 2015 21:38:22 +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 1A360E0870 for ; Tue, 6 Oct 2015 21:38:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B6EB340906 for ; Tue, 6 Oct 2015 21:38:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C770BB02 for ; Tue, 6 Oct 2015 21:38:18 +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: <1444167199.0ffbaf3d097c2600b921cdb7ff084ecfd0f3812e.marbre@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/arrayfire/ChangeLog sci-libs/arrayfire/arrayfire-9999.ebuild X-VCS-Directories: sci-libs/arrayfire/ X-VCS-Committer: marbre X-VCS-Committer-Name: Marius Brehler X-VCS-Revision: 0ffbaf3d097c2600b921cdb7ff084ecfd0f3812e X-VCS-Branch: master Date: Tue, 6 Oct 2015 21:38:18 +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: f582fb6a-b5c2-4feb-b9f0-287b04c53271 X-Archives-Hash: 8f647eef46659bc5368ad5fc9a37301d commit: 0ffbaf3d097c2600b921cdb7ff084ecfd0f3812e Author: Marius Brehler linux sungazer de> AuthorDate: Tue Oct 6 21:33:19 2015 +0000 Commit: Marius Brehler linux sungazer de> CommitDate: Tue Oct 6 21:33:19 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0ffbaf3d sci-libs/arrayfire: Add nonfree use flag Package-Manager: portage-2.2.20.1 sci-libs/arrayfire/ChangeLog | 3 +++ sci-libs/arrayfire/arrayfire-9999.ebuild | 13 ++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog index b369ea9..c12d929 100644 --- a/sci-libs/arrayfire/ChangeLog +++ b/sci-libs/arrayfire/ChangeLog @@ -1,6 +1,9 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Id$ + 06 Oct 2015; Marius Brehler arrayfire-9999.ebuild: + sci-libs/arrayfire: Add nonfree use flag + *arrayfire-3.1.2 (27 Sep 2015) 27 Sep 2015; Marius Brehler diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild index 511aee3..fe86a2b 100644 --- a/sci-libs/arrayfire/arrayfire-9999.ebuild +++ b/sci-libs/arrayfire/arrayfire-9999.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit cmake-utils git-r3 +inherit cmake-utils git-r3 multilib GTEST_PV="1.7.0" @@ -14,9 +14,10 @@ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git git://github.com/${PN}/${PN}.g SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )" KEYWORDS="" -LICENSE="BSD" +LICENSE="BSD + nonfree? ( OpenSIFT )" SLOT="0" -IUSE="+examples +cpu cuda opencl test graphics" +IUSE="+examples +cpu cuda nonfree opencl test graphics" RDEPEND=" >=sys-devel/gcc-4.7:* @@ -65,7 +66,9 @@ pkg_pretend() { src_unpack() { git-r3_src_unpack - find "${WORKDIR}" -name "*_nonfree*" -delete || die + if ! use nonfree; then + find "${WORKDIR}" -name "*_nonfree*" -delete || die + fi if use test; then mkdir -p "${BUILD_DIR}"/third_party/src/ || die @@ -89,7 +92,7 @@ src_configure() { $(cmake-utils_use_build examples EXAMPLES) $(cmake-utils_use_build test TEST) $(cmake-utils_use_build graphics GRAPHICS) - -DBUILD_NONFREE=OFF + $(cmake-utils_use_build nonfree NONFREE) -DUSE_SYSTEM_BOOST_COMPUTE=ON -DUSE_SYSTEM_CLBLAS=ON -DUSE_SYSTEM_CLFFT=ON