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 E3D381386F1 for ; Sun, 9 Aug 2015 13:58:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C288E0807; Sun, 9 Aug 2015 13:58:50 +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 EB4E7E0807 for ; Sun, 9 Aug 2015 13:58:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A7FC73409A6 for ; Sun, 9 Aug 2015 13:58:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8BF9112 for ; Sun, 9 Aug 2015 13:58:37 +0000 (UTC) From: "Michael Weber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Weber" Message-ID: <1439128706.40b3fd64ec9c5d6d94f0f0897740bc77622c24a1.xmw@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/opencascade/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/opencascade/metadata.xml sci-libs/opencascade/opencascade-6.9.0.ebuild X-VCS-Directories: sci-libs/opencascade/ X-VCS-Committer: xmw X-VCS-Committer-Name: Michael Weber X-VCS-Revision: 40b3fd64ec9c5d6d94f0f0897740bc77622c24a1 X-VCS-Branch: master Date: Sun, 9 Aug 2015 13:58:37 +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: 7391e922-4dda-4087-bf8b-fec1ca58c2d2 X-Archives-Hash: 3602c18bd8c6b6f4297d5239bc1d331f commit: 40b3fd64ec9c5d6d94f0f0897740bc77622c24a1 Author: Michael Weber gentoo org> AuthorDate: Sun Aug 9 13:58:26 2015 +0000 Commit: Michael Weber gentoo 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 @@ Enable support for image i/o via media-libs/freeimage Use gl2ps PostScript printing library - tEnable multithreading with the Intel Threads Building Block dev-cpp/tbb + Enable multithreading with the Intel Threads Building Block dev-cpp/tbb + Enable Virtualisation Toolkit 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) }