blob: 8f0b557f908b261b8db19087bd71756c9e174a5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Quite universal circuit simulator with SPICE"
HOMEPAGE="https://ra3xdh.github.io/"
SRC_URI="https://github.com/ra3xdh/qucs_s/releases/download/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
inherit cmake xdg optfeature
DEPEND="
dev-qt/qtbase:6[gui,widgets,xml]
dev-qt/qtsvg:6
dev-qt/qtcharts:6
"
RDEPEND="
${DEPEND}
"
BDEPEND="
dev-qt/qttools:6[linguist]
sys-devel/flex
sys-devel/bison
dev-util/gperf
app-text/dos2unix
"
pkg_postinst() {
optfeature "Result postprocessing in Octave" sci-mathematics/octave
optfeature_header "Install optional simulator backends:"
optfeature "Ngspice" sci-electronics/ngspice
xdg_pkg_postinst
}
pkg_postrm() {
xdg_pkg_postrm
}
|