sci-electronics/kicad: Disable sci-libs/oce usage

OCE is an unmaintained fork of sci-libs/opencascade and is going to be
dropped. KiCAD still can be built and used with OCCT for 3D modeling.

Bug: https://bugs.gentoo.org/832625
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
Closes: https://github.com/gentoo/gentoo/pull/24108
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Zoltan Puskas
2022-02-07 21:46:49 +01:00
committed by Andreas Sturmlechner
parent abc40f8969
commit bbc8951f36
2 changed files with 2 additions and 6 deletions
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,11 +16,10 @@ SRC_URI="https://gitlab.com/kicad/code/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-2+ GPL-3+ Boost-1.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc examples github +ngspice occ +oce openmp +python"
IUSE="doc examples github +ngspice +occ openmp +python"
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
?? ( occ oce )
"
COMMON_DEPEND="
@@ -37,7 +36,6 @@ COMMON_DEPEND="
>sci-electronics/ngspice-27[shared]
)
occ? ( <sci-libs/opencascade-7.5.3:=[vtk(+)] )
oce? ( sci-libs/oce )
python? (
$(python_gen_cond_dep '
>=dev-libs/boost-1.61:=[context,nls,threads(+),python,${PYTHON_USEDEP}]
@@ -103,7 +101,6 @@ src_configure() {
-DKICAD_SCRIPTING_ACTION_MENU="$(usex python)"
-DKICAD_SPICE="$(usex ngspice)"
-DKICAD_USE_OCC="$(usex occ)"
-DKICAD_USE_OCE="$(usex oce)"
-DKICAD_INSTALL_DEMOS="$(usex examples)"
-DCMAKE_SKIP_RPATH="ON"
)
-1
View File
@@ -13,7 +13,6 @@
<flag name="github">Add github support into PCB editor</flag>
<flag name="ngspice">Enable circuit simulation</flag>
<flag name="occ">Enable viewing 3D rendering of designs via <pkg>sci-libs/opencascade</pkg></flag>
<flag name="oce">Enable viewing 3D rendering of designs via <pkg>sci-libs/oce</pkg></flag>
<flag name="python">Enable python scripting support</flag>
<flag name="pcm">Enable plugin content manager</flag>
</use>