21 |
21 |
S="${WORKDIR}/${PN}-${MY_PV}"
|
22 |
22 |
|
23 |
23 |
if [[ ${PV} != *_rc* ]] ; then
|
24 |
|
KEYWORDS="amd64 ~arm64 ~riscv ~x86"
|
|
24 |
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
25 |
25 |
fi
|
26 |
26 |
fi
|
27 |
27 |
|
28 |
28 |
# BSD for bundled pybind
|
29 |
29 |
LICENSE="GPL-2+ GPL-3+ Boost-1.0 BSD"
|
30 |
30 |
SLOT="0"
|
31 |
|
IUSE="doc examples +ngspice nls openmp"
|
|
31 |
IUSE="doc examples nls openmp"
|
32 |
32 |
|
33 |
33 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
34 |
34 |
|
... | ... | |
47 |
47 |
>=sci-libs/opencascade-7.3.0:0=
|
48 |
48 |
>=x11-libs/cairo-1.8.8:=
|
49 |
49 |
>=x11-libs/pixman-0.30
|
50 |
|
<=x11-libs/wxGTK-3.2.2.1-r2:${WX_GTK_VER}[X,opengl]
|
|
50 |
>sci-electronics/ngspice-27[shared]
|
51 |
51 |
sys-libs/zlib
|
|
52 |
>=x11-libs/wxGTK-3.2.2.1-r3:${WX_GTK_VER}[X,opengl]
|
52 |
53 |
$(python_gen_cond_dep '
|
53 |
54 |
dev-libs/boost:=[context,nls,python,${PYTHON_USEDEP}]
|
54 |
55 |
~dev-python/wxpython-4.2.0:*[${PYTHON_USEDEP}]
|
55 |
56 |
')
|
56 |
57 |
${PYTHON_DEPS}
|
57 |
|
ngspice? (
|
58 |
|
>sci-electronics/ngspice-27[shared]
|
59 |
|
)
|
60 |
58 |
nls? (
|
61 |
59 |
sys-devel/gettext
|
62 |
60 |
)
|
... | ... | |
73 |
71 |
BDEPEND+=" >=x11-misc/util-macros-1.18"
|
74 |
72 |
fi
|
75 |
73 |
|
76 |
|
CHECKREQS_DISK_BUILD="900M"
|
|
74 |
CHECKREQS_DISK_BUILD="1500M"
|
77 |
75 |
|
78 |
76 |
PATCHES=(
|
79 |
77 |
"${FILESDIR}"/${PN}-7.0.0-werror.patch
|
... | ... | |
102 |
100 |
-DKICAD_DOCS="${EPREFIX}/usr/share/doc/${PN}-doc-${PV}"
|
103 |
101 |
|
104 |
102 |
-DKICAD_SCRIPTING_WXPYTHON=ON
|
105 |
|
-DKICAD_USE_EGL=ON
|
|
103 |
-DKICAD_USE_EGL=OFF
|
106 |
104 |
|
107 |
105 |
-DKICAD_BUILD_I18N="$(usex nls)"
|
108 |
106 |
-DKICAD_I18N_UNIX_STRICT_PATH="$(usex nls)"
|
... | ... | |
112 |
110 |
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
|
113 |
111 |
-DPYTHON_LIBRARY="$(python_get_library_path)"
|
114 |
112 |
|
115 |
|
-DKICAD_SPICE="$(usex ngspice)"
|
116 |
|
|
117 |
113 |
-DKICAD_INSTALL_DEMOS="$(usex examples)"
|
118 |
114 |
-DCMAKE_SKIP_RPATH="ON"
|
119 |
115 |
|