summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-05-15 06:36:22 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-05-15 06:36:22 +0000
commit710dcb41b17a2ea4287bcc13a6eac35d85f0512b (patch)
tree0e84cdfaee9882f9b491095b92324f6c1acbf02d /sci-libs/openfoam
parentVersion bump (diff)
downloadgentoo-2-710dcb41b17a2ea4287bcc13a6eac35d85f0512b.tar.gz
gentoo-2-710dcb41b17a2ea4287bcc13a6eac35d85f0512b.tar.bz2
gentoo-2-710dcb41b17a2ea4287bcc13a6eac35d85f0512b.zip
Make opendx dependency optional #469754
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sci-libs/openfoam')
-rw-r--r--sci-libs/openfoam/ChangeLog6
-rw-r--r--sci-libs/openfoam/metadata.xml3
-rw-r--r--sci-libs/openfoam/openfoam-2.2.0.ebuild8
3 files changed, 12 insertions, 5 deletions
diff --git a/sci-libs/openfoam/ChangeLog b/sci-libs/openfoam/ChangeLog
index a838f112f366..cb32a3802d82 100644
--- a/sci-libs/openfoam/ChangeLog
+++ b/sci-libs/openfoam/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/openfoam
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/openfoam/ChangeLog,v 1.14 2013/03/17 15:56:44 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/openfoam/ChangeLog,v 1.15 2013/05/15 06:36:22 patrick Exp $
+
+ 15 May 2013; Patrick Lauer <patrick@gentoo.org> metadata.xml,
+ openfoam-2.2.0.ebuild:
+ Make opendx dependency optional #469754
17 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml:
Add proxy-maintainers to metadata.xml
diff --git a/sci-libs/openfoam/metadata.xml b/sci-libs/openfoam/metadata.xml
index 13a5d3d2b8cc..557f42bc2a90 100644
--- a/sci-libs/openfoam/metadata.xml
+++ b/sci-libs/openfoam/metadata.xml
@@ -10,4 +10,7 @@
<email>oli.borm@web.de</email>
<name>Oliver Borm</name>
</maintainer>
+ <use>
+ <flag name="opendx"> Install opendx visualisation tool</flag>
+ </use>
</pkgmetadata>
diff --git a/sci-libs/openfoam/openfoam-2.2.0.ebuild b/sci-libs/openfoam/openfoam-2.2.0.ebuild
index 4fb18707a758..44cd215224ac 100644
--- a/sci-libs/openfoam/openfoam-2.2.0.ebuild
+++ b/sci-libs/openfoam/openfoam-2.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/openfoam/openfoam-2.2.0.ebuild,v 1.1 2013/03/11 05:34:35 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/openfoam/openfoam-2.2.0.ebuild,v 1.2 2013/05/15 06:36:22 patrick Exp $
EAPI="2"
@@ -17,7 +17,7 @@ SRC_URI="http://downloads.sourceforge.net/project/foam/foam/${PV}/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="2.2"
KEYWORDS="~amd64 ~x86"
-IUSE="doc examples"
+IUSE="doc examples opendx"
DEPEND="!=sci-libs/openfoam-bin-${MY_PV}*
!=sci-libs/openfoam-kernel-${MY_PV}*
@@ -28,8 +28,8 @@ DEPEND="!=sci-libs/openfoam-bin-${MY_PV}*
sci-libs/parmetis
sci-libs/parmgridgen
sci-libs/scotch
- sci-visualization/opendx
- virtual/mpi"
+ virtual/mpi
+ opendx? ( sci-visualization/opendx )"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}