blob: 211dd295248ac884b86e9528c55c9861194821f7 (
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
46
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
MY_PN="${PN/c/C}"
inherit desktop qmake-utils xdg
DESCRIPTION="Coil64 is inductance coil calculator"
HOMEPAGE="
https://coil32.net
https://github.com/radioacoustick/Coil64
"
if [[ "${PV}" == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/radioacoustick/${MY_PN}.git"
else
SRC_URI="https://github.com/radioacoustick/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
S="${WORKDIR}/${MY_PN}-${PV}"
fi
LICENSE="GPL-3"
SLOT="0"
RDEPEND="
dev-qt/qt5compat:6
dev-qt/qtbase:6[gui,network,widgets]
"
DEPEND="
${RDEPEND}
"
src_configure() {
eqmake6 PREFIX="${EPREFIX}"/usr
}
src_install() {
default
dobin "${S}/${MY_PN}"
dosym "${MY_PN}" "/usr/bin/${PN}"
doicon -s scalable "${FILESDIR}/${PN}.svg"
domenu "${FILESDIR}/${PN}.desktop"
}
|