From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2687D138334 for ; Fri, 7 Sep 2018 03:03:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF277E07DB; Fri, 7 Sep 2018 03:03:13 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6A12AE07DB for ; Fri, 7 Sep 2018 03:03:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1EAF2335CCF for ; Fri, 7 Sep 2018 03:03:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C43F3C6 for ; Fri, 7 Sep 2018 03:03:07 +0000 (UTC) From: "Virgil Dupras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Virgil Dupras" Message-ID: <1536281758.9ba46ea66636e99b46879d180922113a194aed20.vdupras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/oce/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/oce/Manifest sci-libs/oce/metadata.xml sci-libs/oce/oce-0.18.3.ebuild X-VCS-Directories: sci-libs/oce/ X-VCS-Committer: vdupras X-VCS-Committer-Name: Virgil Dupras X-VCS-Revision: 9ba46ea66636e99b46879d180922113a194aed20 X-VCS-Branch: master Date: Fri, 7 Sep 2018 03:03:07 +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: 3bce030f-beab-4077-a597-183510757309 X-Archives-Hash: 7f54046e433fd57db97ec06a47e098aa commit: 9ba46ea66636e99b46879d180922113a194aed20 Author: Zoltan Puskas sinustrom info> AuthorDate: Wed Aug 1 05:22:48 2018 +0000 Commit: Virgil Dupras gentoo org> CommitDate: Fri Sep 7 00:55:58 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba46ea6 sci-libs/oce: Add OCE-0.18.3 ebuild to tree to satisfy KiCAD-5.0.0 dependency Bug: https://bugs.gentoo.org/661350 sci-libs/oce/Manifest | 1 + sci-libs/oce/metadata.xml | 22 ++++++++++++ sci-libs/oce/oce-0.18.3.ebuild | 76 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+) diff --git a/sci-libs/oce/Manifest b/sci-libs/oce/Manifest new file mode 100644 index 00000000000..07ffde282d2 --- /dev/null +++ b/sci-libs/oce/Manifest @@ -0,0 +1 @@ +DIST OCE-0.18.3.tar.gz 24633768 BLAKE2B c1923fb6310ea30318251fedac371655a575bf4dfcc4c38e7c748d316416e08c33a3f27bd5db7f5b437265cf2f518651d69a6920f9f487dc7e0065a6406c653f SHA512 6fdeb6ca4ce25361379872ccc465799d4a43407974c4f626b32df695e582b9e553cce17af6a6a7ff46ebed9b813d910ad23eb308a5356dabb9b9bbd4f42a8636 diff --git a/sci-libs/oce/metadata.xml b/sci-libs/oce/metadata.xml new file mode 100644 index 00000000000..fe5bc3187c0 --- /dev/null +++ b/sci-libs/oce/metadata.xml @@ -0,0 +1,22 @@ + + + + + zoltan@sinustrom.info + Zoltan Puskas + + + proxy-maint@gentoo.org + Proxy Maintainers + + + oce is a C++ 3D modeling library. It can be used to develop CAD/CAM + softwares. oce stands for opencascade community edition. This project + aims at gathering patches/ changes/ improvements from the OCC community. + + + Enable support for image i/o via media-libs/freeimage + Use gl2ps PostScript printing library + Enable parallel meshing + Enable Virtualisation Toolkit + diff --git a/sci-libs/oce/oce-0.18.3.ebuild b/sci-libs/oce/oce-0.18.3.ebuild new file mode 100644 index 00000000000..90829fcdfbb --- /dev/null +++ b/sci-libs/oce/oce-0.18.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils eutils check-reqs multilib java-pkg-opt-2 + +DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange" +HOMEPAGE="https://github.com/tpaviot/oce" +SRC_URI="https://github.com/tpaviot/oce/archive/OCE-$PV.tar.gz" + +LICENSE="|| ( Open-CASCADE-LGPL-2.1-Exception-1.0 LGPL-2.1 )" +SLOT="${PV}" +KEYWORDS="~amd64" +IUSE="examples freeimage gl2ps +openmp tbb vtk" +REQUIRED_USE="?? ( openmp tbb )" + +MY_P="oce-OCE-${PV}" +S="${WORKDIR}/${MY_P}" +DEPEND=" + dev-lang/tcl:0= + dev-lang/tk:0= + dev-tcltk/itcl + dev-tcltk/itk + dev-tcltk/tix + media-libs/ftgl + media-libs/freetype + virtual/glu + virtual/opengl + x11-libs/libXmu + freeimage? ( media-libs/freeimage ) + gl2ps? ( x11-libs/gl2ps ) + tbb? ( dev-cpp/tbb ) + vtk? ( =sci-libs/vtk-8.1*[boost,imaging,qt5,python,rendering,views,xdmf2] )" +RDEPEND="${DEPEND}" + +CHECKREQS_MEMORY="256M" +CHECKREQS_DISK_BUILD="3584M" + +pkg_setup() { + check-reqs_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare +} + +src_configure() { + # From BUILD.Unix.md + local mycmakeargs=( + -DOCE_INSTALL_PREFIX="/usr" + -DOCE_ENABLE_DEB_FLAG=off + -DOCE_COPY_HEADERS_BUILD=yes + -DOCE_DRAW=yes + -DOCE_WITH_FREEIMAGE=$(usex freeimage) + -DOCE_WITH_GL2PS=$(usex gl2ps) + -DOCE_WITH_VTK=$(usex vtk) + ) + # Mutual exclusion of tbb and openmp flags is guaranteed by REQUIRED_USE. + use tbb && mycmakeargs+=( + -DOCE_MULTITHREAD_LIBRARY="TBB" + ) + use openmp && mycmakeargs+=( + -DOCE_MULTITHREAD_LIBRARY="OPENMP" + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + # If user asked for samples let's copy them to the docs folder + if use examples ; then + dodoc -r samples + fi +}