public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marius Brehler" <marbre@linux.sungazer.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
Date: Tue,  6 Oct 2015 21:38:18 +0000 (UTC)	[thread overview]
Message-ID: <1444167199.0ffbaf3d097c2600b921cdb7ff084ecfd0f3812e.marbre@gentoo> (raw)

commit:     0ffbaf3d097c2600b921cdb7ff084ecfd0f3812e
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Oct  6 21:33:19 2015 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> 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 <marbre@linux.sungazer.de> arrayfire-9999.ebuild:
+  sci-libs/arrayfire: Add nonfree use flag
+
 *arrayfire-3.1.2 (27 Sep 2015)
 
   27 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>

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


             reply	other threads:[~2015-10-06 21:38 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06 21:38 Marius Brehler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-22 12:00 [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/ Horea Christian
2021-01-20  8:40 Andrew Ammerlaan
2021-01-19  2:04 Aisha Tammy
2020-12-23  2:46 Aisha Tammy
2020-09-25 12:16 Aisha Tammy
2020-09-25  2:33 Aisha Tammy
2020-09-25  2:33 Aisha Tammy
2020-09-25  2:33 Aisha Tammy
2020-09-25  2:33 Aisha Tammy
2020-09-25  2:33 Aisha Tammy
2020-09-25  2:33 Aisha Tammy
2017-03-26  8:18 Justin Lecher
2017-01-02  8:42 Marius Brehler
2016-11-29 10:16 Marius Brehler
2016-11-24 10:55 Marius Brehler
2016-05-20 14:03 Marius Brehler
2016-05-19  7:14 Marius Brehler
2016-01-12 11:07 Marius Brehler
2016-01-12 11:07 Marius Brehler
2016-01-08 13:16 Marius Brehler
2015-12-19 12:36 Marius Brehler
2015-12-04 17:44 Marius Brehler
2015-11-28 18:21 Marius Brehler
2015-11-24 14:36 Marius Brehler
2015-11-02  7:49 Marius Brehler
2015-10-06 21:38 Marius Brehler
2015-10-01  6:06 Justin Lecher
2015-09-17 21:56 Jauhien Piatlicki
2015-09-15 13:34 Justin Lecher
2015-09-13 18:34 Justin Lecher
2015-09-09  7:11 Justin Lecher
2015-09-09  7:11 Justin Lecher
2015-08-27 15:01 Justin Lecher
2015-06-05 10:47 Justin Lecher
2015-06-03 10:21 Justin Lecher
2015-05-24  8:14 Justin Lecher
2015-02-20  2:02 Christoph Junghans
2015-02-02 12:06 Justin Lecher
2015-01-22 10:14 Justin Lecher
2015-01-22  0:09 Christoph Junghans
2015-01-15  6:53 Justin Lecher
2015-01-13  2:06 Christoph Junghans
2015-01-13  2:06 Christoph Junghans
2015-01-13  2:06 Christoph Junghans
2015-01-13  2:06 Christoph Junghans
2015-01-13  2:06 Christoph Junghans
2015-01-11  9:09 Justin Lecher
2015-01-11  9:09 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444167199.0ffbaf3d097c2600b921cdb7ff084ecfd0f3812e.marbre@gentoo \
    --to=marbre@linux.sungazer.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox