From 9452a6e87b6c2c70513bc47a2470bf9f1168920e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Jun 2020 10:39:22 +0100 Subject: gentoo resync : 13.06.2020 --- sci-libs/oce/Manifest | 2 +- sci-libs/oce/oce-0.18.3-r1.ebuild | 78 --------------------------------------- sci-libs/oce/oce-0.18.3-r2.ebuild | 78 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 79 deletions(-) delete mode 100644 sci-libs/oce/oce-0.18.3-r1.ebuild create mode 100644 sci-libs/oce/oce-0.18.3-r2.ebuild (limited to 'sci-libs/oce') diff --git a/sci-libs/oce/Manifest b/sci-libs/oce/Manifest index fe29e968db28..084a5f6595b7 100644 --- a/sci-libs/oce/Manifest +++ b/sci-libs/oce/Manifest @@ -1,4 +1,4 @@ AUX oce-0.18.3-test-fix.patch 1273 BLAKE2B 40c3fec8e3d5b703c39a2eee32d663e6dc7c6a1bad6a9885608679cb86f8047d6a50e1f625beac50dca045393f0d0290b5ca9d56a7498ba869a4af5028eb1fa0 SHA512 822bee12ee259801a3a242d3877fa3c6dd07043f65857d635a4790cdfd936be4016d1441e4dd3b8e7ff1cd1d187d1ab8fc7634e39376e91d06d8666d38632689 DIST OCE-0.18.3.tar.gz 24633768 BLAKE2B c1923fb6310ea30318251fedac371655a575bf4dfcc4c38e7c748d316416e08c33a3f27bd5db7f5b437265cf2f518651d69a6920f9f487dc7e0065a6406c653f SHA512 6fdeb6ca4ce25361379872ccc465799d4a43407974c4f626b32df695e582b9e553cce17af6a6a7ff46ebed9b813d910ad23eb308a5356dabb9b9bbd4f42a8636 -EBUILD oce-0.18.3-r1.ebuild 1809 BLAKE2B d2c1de828d9b1845077f114fe78af3061bcb3d30d15217144c21c6b7f2cadade1b0b3370f8802602ef6397c39956c58f7a0a933e237955afbb197fe2486b3369 SHA512 9537e2bf8ff0234ddbb87c9e4ac42021545167e544f10f947b8f24cdf90bbb319247f213d75ffdf36419e5a8df111d302d44f57586442184f1b124e3d2d23dfe +EBUILD oce-0.18.3-r2.ebuild 1753 BLAKE2B 082fa7ed288dadee1c41b1101b2b7b39f25a2a8bd7885c48b41d2e6e47cc5be27fdab6a0b93a1a802a284c9875a429544c54ef3d3feebfafe474f3ce4cb431a8 SHA512 5b7f1ca1b72a45dc034ca6440ce9eb7474acd880947097a6fe14b2889992ddc844cfe0d89905883bc0eed3b9858a6af76342aa51cd4943be0231b8b9810515f7 MISC metadata.xml 900 BLAKE2B aec66b3c98aaaadf1727f4522a79ad01e8d195ac62799a5112a2d61ca9d916635ff110f99840f97ebad81a1324780d15218757c1b982536ae9e14945699e6b5b SHA512 86a44a573579df2416b949b62fe931172681f36bf7af9f90f7224e3fc433cb7091c3ef757581337aa87d80962a4800fa03e005e5360233f570f7d926553735ba diff --git a/sci-libs/oce/oce-0.18.3-r1.ebuild b/sci-libs/oce/oce-0.18.3-r1.ebuild deleted file mode 100644 index 0835a64d2bf5..000000000000 --- a/sci-libs/oce/oce-0.18.3-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# 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 ~x86" -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" - -PATCHES=( "${FILESDIR}"/"${P}-test-fix.patch" ) - -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 -} diff --git a/sci-libs/oce/oce-0.18.3-r2.ebuild b/sci-libs/oce/oce-0.18.3-r2.ebuild new file mode 100644 index 000000000000..1ff4e66c4a60 --- /dev/null +++ b/sci-libs/oce/oce-0.18.3-r2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake check-reqs 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 ~x86" +IUSE="examples freeimage gl2ps +openmp tbb vtk" +REQUIRED_USE="?? ( openmp tbb )" + +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*[boost,imaging,qt5,python,rendering,views,xdmf2] )" +RDEPEND="${DEPEND}" + +CHECKREQS_MEMORY="256M" +CHECKREQS_DISK_BUILD="3584M" + +PATCHES=( "${FILESDIR}"/"${P}-test-fix.patch" ) + +S="${WORKDIR}/oce-OCE-${PV}" + +pkg_setup() { + check-reqs_pkg_setup +} + +src_prepare() { + cmake_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_src_configure +} + +src_install() { + cmake_src_install + + # If user asked for samples let's copy them to the docs folder + if use examples ; then + dodoc -r samples + fi +} -- cgit v1.2.3