Сравнение kicad-9.0.5 с kicad-9999

/usr/portage/sci-electronics/kicad/kicad-9999.ebuild 2026-05-16 19:17:04.857729184 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{11..13} )
6
PYTHON_COMPAT=( python3_{11..14} )
7 7
WX_GTK_VER="3.2-gtk3"
8 8

  
9 9
inherit check-reqs cmake flag-o-matic optfeature python-single-r1 toolchain-funcs wxwidgets xdg-utils
......
21 21
	S="${WORKDIR}/${MY_P}"
22 22

  
23 23
	if [[ ${PV} != *_rc* ]] ; then
24
		KEYWORDS="amd64 ~riscv"
24
		KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
25 25
	fi
26 26
fi
27 27

  
......
33 33
# Licensed under MIT: argparse, compoundfilereader, delaunator, fmt, json_schema_validator, magic_enum nanodbc,
34 34
#                     nlohmann/json, nlohmann/fifo_map, pboettch/json-schema-validator, picoSHA2, rectpack2d,
35 35
#                     sentry-native, thread-pool, tinyspline_lib
36
# Licensed under MIT and BSD: glew
37 36
# Licensed under BSD: pybind11
38 37
# Licensed under BSD2: gzip-hpp
39 38
# Licensed under GPLv2 (or later): dxflib, math_for_graphics, potrace,
......
43 42
# Licensed under CC BY-SA 4.0: all the demo files provided in demos/*
44 43
# Licensed under clause-3 BSD: ibis/kibis files in eeschema/sim/kibis
45 44
# Licensed under CC0: uopamp.lib.spice in some directories in qa/data/eeschema/spice_netlists/
46
LICENSE="GPL-2+ GPL-3+ Boost-1.0 BSD BSD-2 Apache-2.0 ISC MIT ZLIB CC-BY-SA-4.0 CC0-1.0"
45
# Licensed under WTFPL-2 and Apache-2.0: bundled GLAD (replaces former system glew dep)
46
LICENSE="GPL-2+ GPL-3+ Boost-1.0 BSD BSD-2 Apache-2.0 ISC MIT ZLIB CC-BY-SA-4.0 CC0-1.0 WTFPL-2"
47 47
SLOT="0"
48
IUSE="doc examples nls openmp test"
48
IUSE="doc examples nls openmp test wayland"
49 49

  
50 50
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 51

  
......
54 54
# Contains bundled pybind but it's patched for wx
55 55
# See https://gitlab.com/kicad/code/kicad/-/commit/74e4370a9b146b21883d6a2d1df46c7a10bd0424
56 56
# Depend on opencascade:0 to get unslotted variant (so we know path to it), bug #833301
57
# Depend wxGTK version needs to be limited due to switch from EGL to GLX, bug #911120
58 57
# Depends on abseil-cpp via protobuf targets
59 58
COMMON_DEPEND="
59
	app-arch/zstd:=
60 60
	app-crypt/libsecret
61
	app-text/poppler[cairo]
61 62
	dev-cpp/abseil-cpp:=
62 63
	dev-db/unixODBC
63 64
	dev-libs/boost:=[context,nls]
64
	dev-libs/libgit2:=
65
	>=dev-libs/libgit2-1.5:=
66
	dev-libs/libspnav
65 67
	>=dev-libs/protobuf-27.2:=[protobuf,protoc]
66 68
	>=dev-libs/nng-1.10.0:=
69
	media-libs/fontconfig
67 70
	media-libs/freeglut
68
	media-libs/glew:0=
71
	media-libs/freetype:2
69 72
	>=media-libs/glm-0.9.9.1
73
	media-libs/harfbuzz:=
70 74
	media-libs/mesa[X(+)]
71 75
	net-misc/curl
72 76
	>=sci-libs/opencascade-7.5.0:0=
73 77
	>=x11-libs/cairo-1.8.8:=
74 78
	>=x11-libs/pixman-0.30
75
	>sci-electronics/ngspice-27[shared]
79
	>=sci-electronics/ngspice-28[shared]
76 80
	virtual/zlib:=
77
	x11-libs/wxGTK:${WX_GTK_VER}=[X,opengl]
81
	x11-libs/wxGTK:${WX_GTK_VER}=[X,opengl,webkit]
82
	wayland? ( >=dev-libs/wayland-1.20 )
78 83
	$(python_gen_cond_dep '
79 84
		dev-libs/boost:=[context,nls,python,${PYTHON_USEDEP}]
80 85
		>=dev-python/wxpython-4.2.0:*[${PYTHON_USEDEP}]
......
92 97
RDEPEND="${COMMON_DEPEND}
93 98
	sci-electronics/electronics-menu
94 99
"
95
BDEPEND=">=dev-lang/swig-4.0
100
BDEPEND="app-alternatives/ninja
101
	>=dev-lang/swig-4.0
96 102
	doc? ( app-text/doxygen )
97 103
	test? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') )"
98 104

  
......
107 113
	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
108 114

  
109 115
	python-single-r1_pkg_setup
110
	setup-wxwidgets
111 116
	check-reqs_pkg_setup
112 117
}
113 118

  
......
119 124
	fi
120 125
}
121 126

  
127
PATCHES=(
128
	"${FILESDIR}"/${PN}-10.0.0-fix-cmake4-compat.patch # Bug 970924
129
)
130

  
122 131
src_prepare() {
123 132
	filter-lto # Bug 927482
124 133
	cmake_src_prepare
125 134
}
126 135

  
127 136
src_configure() {
137
	setup-wxwidgets
128 138
	xdg_environment_reset
129 139

  
130 140
	local mycmakeargs=(
131 141
		-DKICAD_DOCS="${EPREFIX}/usr/share/doc/${PN}-doc-${PV}"
132 142

  
133 143
		-DKICAD_SCRIPTING_WXPYTHON=ON
134
		-DKICAD_USE_EGL=OFF
135 144

  
136 145
		-DKICAD_BUILD_I18N="$(usex nls)"
137 146
		-DKICAD_I18N_UNIX_STRICT_PATH="$(usex nls)"
......
148 157

  
149 158
		-DKICAD_SPICE_QA="$(usex test)"
150 159
		-DKICAD_BUILD_QA_TESTS="$(usex test)"
160

  
161
		-DKICAD_WAYLAND="$(usex wayland)"
151 162
	)
152 163

  
153 164
	if ! [[ ${PV} == *9999* ]]; then
Спасибо!