sci-libs/opencascade: Switch to cmake.eclass
authorAndreas Sturmlechner <asturm@gentoo.org>
Fri, 3 Jan 2020 19:00:07 +0000 (20:00 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 3 Jan 2020 19:00:07 +0000 (20:00 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sci-libs/opencascade/opencascade-7.4.0.ebuild

index 5c0a6496857e5efa63c22ef7ef4b7706741a45d5..372cacad7c8189cb40009c2e474bbd877d05b2b7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # TODO:
@@ -7,7 +7,7 @@
 
 EAPI=7
 
-inherit check-reqs cmake-utils flag-o-matic java-pkg-opt-2 multilib
+inherit check-reqs cmake flag-o-matic java-pkg-opt-2
 
 DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
 HOMEPAGE="https://www.opencascade.com"
@@ -77,7 +77,7 @@ pkg_setup() {
 }
 
 src_prepare() {
-       cmake-utils_src_prepare
+       cmake_src_prepare
        use java && java-pkg-opt-2_src_prepare
 }
 
@@ -104,7 +104,7 @@ src_configure() {
 
        use examples && mycmakeargs+=( -DBUILD_SAMPLES_QT=$(usex qt5) )
 
-       cmake-utils_src_configure
+       cmake_src_configure
 
        # prepare /etc/env.d file
        sed -e 's|VAR_CASROOT|'${EROOT%}'/usr/'$(get_libdir)'/'${P}'/ros|g' < "${FILESDIR}/${P}.env.in" >> "${T}/${PV}" || die
@@ -122,7 +122,7 @@ src_configure() {
 }
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
 
        # respect slotting
        insinto "/etc/env.d/${PN}"