From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/opencascade/
Date: Sun, 9 Aug 2015 13:58:37 +0000 (UTC) [thread overview]
Message-ID: <1439128706.40b3fd64ec9c5d6d94f0f0897740bc77622c24a1.xmw@gentoo> (raw)
commit: 40b3fd64ec9c5d6d94f0f0897740bc77622c24a1
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 9 13:58:26 2015 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Sun Aug 9 13:58:26 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b3fd64
sci-libs/opencascade: add USE=vtk (bug 557022, thanks Helmut Jarausch).
Package-Manager: portage-2.2.20
sci-libs/opencascade/metadata.xml | 3 ++-
sci-libs/opencascade/opencascade-6.9.0.ebuild | 9 +++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/sci-libs/opencascade/metadata.xml b/sci-libs/opencascade/metadata.xml
index ccbd7c2..7d64287 100644
--- a/sci-libs/opencascade/metadata.xml
+++ b/sci-libs/opencascade/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="freeimage">Enable support for image i/o via media-libs/freeimage</flag>
<flag name="gl2ps">Use gl2ps PostScript printing library</flag>
- <flag name="tbb">tEnable multithreading with the Intel Threads Building Block dev-cpp/tbb</flag>
+ <flag name="tbb">Enable multithreading with the Intel Threads Building Block dev-cpp/tbb</flag>
+ <flag name="vtk">Enable Virtualisation Toolkit</flag>
</use>
</pkgmetadata>
diff --git a/sci-libs/opencascade/opencascade-6.9.0.ebuild b/sci-libs/opencascade/opencascade-6.9.0.ebuild
index da82dfc..1f59e16 100644
--- a/sci-libs/opencascade/opencascade-6.9.0.ebuild
+++ b/sci-libs/opencascade/opencascade-6.9.0.ebuild
@@ -13,8 +13,9 @@ SRC_URI="http://files.opencascade.com/OCCT/OCC_${PV}_release/opencascade-${PV}.t
LICENSE="|| ( Open-CASCADE-LGPL-2.1-Exception-1.0 LGPL-2.1 )"
SLOT="${PV}"
KEYWORDS="~amd64 ~x86"
-IUSE="debug doc examples freeimage gl2ps java qt4 +tbb"
+IUSE="debug doc examples freeimage gl2ps java qt4 +tbb +vtk"
+MY_VTK="vtk-6.1"
DEPEND="app-eselect/eselect-opencascade
dev-lang/tcl:0=
dev-lang/tk:0=
@@ -28,7 +29,8 @@ DEPEND="app-eselect/eselect-opencascade
freeimage? ( media-libs/freeimage )
gl2ps? ( x11-libs/gl2ps )
java? ( virtual/jdk:= )
- tbb? ( dev-cpp/tbb )"
+ tbb? ( dev-cpp/tbb )
+ vtk? ( =sci-libs/${MY_VTK}* )"
RDEPEND="${DEPEND}"
# http://bugs.gentoo.org/show_bug.cgi?id=352435
@@ -108,6 +110,7 @@ TCL_LIBRARY=${my_sys_lib}/tcl$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*
-e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \
-e "s:\$qt/include:\$qt/include/qt4:g"\
-e "s:\$qt/lib:\$qt/$(get_libdir)/qt4:g"\
+ -e "/CSF_VTK_LIB=/s:-${MY_VTK/vtk-}::g" \
-i configure.ac || die
eautoreconf
}
@@ -124,6 +127,8 @@ src_configure() {
$(usex tbb "--with-tbb-include=${EROOT}usr" "") \
$(usex tbb "--with-tbb-library=${EROOT}usr" "") \
$(use java && echo "--with-java-include=$(java-config -O)/include" || echo "--without-java-include") \
+ $(usex vtk "--with-vtk-include=${EROOT}usr/include/${MY_VTK}" "") \
+ $(usex vtk "--with-vtk-library=${EROOT}usr/$(get_libdir)" "") \
$(use_enable debug) \
$(use_enable !debug production)
}
next reply other threads:[~2015-08-09 13:58 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-09 13:58 Michael Weber [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-08-23 11:15 [gentoo-commits] repo/gentoo:master commit in: sci-libs/opencascade/ Michael Weber
2016-06-17 15:14 Michael Weber
2016-09-26 12:04 Michael Weber
2016-11-06 10:29 David Seifert
2016-11-19 17:56 David Seifert
2017-01-31 8:37 Robin H. Johnson
2017-06-04 22:52 Michael Weber
2017-11-06 1:58 Andreas Sturmlechner
2017-12-22 11:37 Michael Weber
2017-12-22 11:44 Michael Weber
2018-04-05 12:31 Andreas Sturmlechner
2019-01-15 23:13 Patrice Clement
2019-02-06 22:38 Patrice Clement
2019-04-21 18:24 Andreas Sturmlechner
2020-01-03 19:08 Andreas Sturmlechner
2020-04-01 14:38 Joonas Niilola
2020-04-26 11:00 David Seifert
2020-04-27 14:42 Matthias Maier
2020-10-26 10:15 Joonas Niilola
2021-02-07 17:07 Conrad Kostecki
2021-02-18 9:36 Joonas Niilola
2021-02-22 18:57 Sam James
2021-03-01 8:26 Joonas Niilola
2021-05-04 22:02 Sam James
2021-06-04 7:38 Joonas Niilola
2021-06-04 7:38 Joonas Niilola
2021-10-24 4:06 Sam James
2021-10-29 22:23 Sam James
2021-11-04 7:35 Ionen Wolkens
2021-11-06 6:03 Sam James
2021-11-06 6:03 Sam James
2021-11-06 6:03 Sam James
2021-11-06 6:03 Sam James
2022-01-10 1:04 Sam James
2022-01-13 1:25 Sam James
2022-01-15 22:14 Sam James
2022-01-15 22:14 Sam James
2022-01-15 22:14 Sam James
2022-01-16 0:24 Sam James
2022-01-16 1:31 Sam James
2022-03-16 22:51 Sam James
2022-03-16 22:51 Sam James
2022-03-16 22:51 Sam James
2022-03-16 22:54 Sam James
2022-05-19 12:12 Joonas Niilola
2022-06-03 11:01 Joonas Niilola
2022-06-14 16:01 Joonas Niilola
2022-06-14 16:01 Joonas Niilola
2022-06-21 10:14 Andrew Ammerlaan
2022-07-26 14:22 Joonas Niilola
2022-07-27 19:03 Conrad Kostecki
2022-08-14 16:06 Florian Schmaus
2022-09-25 7:20 Joonas Niilola
2022-09-27 13:57 Andrew Ammerlaan
2022-12-13 14:11 Andrew Ammerlaan
2022-12-19 14:47 Andreas Sturmlechner
2022-12-19 14:49 Andreas Sturmlechner
2022-12-31 15:36 Sam James
2023-01-04 5:50 Sam James
2023-01-04 5:50 Sam James
2023-01-27 7:46 Joonas Niilola
2023-02-06 19:49 Sam James
2023-07-31 8:43 Joonas Niilola
2024-03-23 8:34 Sam James
2024-03-26 20:25 Sam James
2024-04-14 14:28 Andrew Ammerlaan
2024-04-14 14:28 Andrew Ammerlaan
2024-08-25 15:44 Sam James
2024-08-25 15:44 Sam James
2024-11-23 16:08 Sam James
2024-11-23 16:08 Sam James
2024-11-23 21:08 Sam James
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=1439128706.40b3fd64ec9c5d6d94f0f0897740bc77622c24a1.xmw@gentoo \
--to=xmw@gentoo.org \
--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