diff --git a/sci-electronics/coil64/Manifest b/sci-electronics/coil64/Manifest new file mode 100644 index 0000000000..7f12c23363 --- /dev/null +++ b/sci-electronics/coil64/Manifest @@ -0,0 +1 @@ +DIST coil64-2.1.27.tar.gz 2185202 BLAKE2B 6f25e2a0592fa2be3eeb9a8c192a571f36cc07fdabeb2592d01b9153a2f4f1dec8a469331c461b060365e5b5f6263dd21b5f4e211595965f477ef73d345a8297 SHA512 d4ff12feff265a7bb58bdef42bb755d82fd6f768d264d190b665b9e3475c8f55a983bfd7e31fe5fce1404c8d0cd1621b9998a122a08a756e45bcffa8f805cdcd diff --git a/sci-electronics/coil64/coil64-2.1.27.ebuild b/sci-electronics/coil64/coil64-2.1.27.ebuild new file mode 100644 index 0000000000..a762ee1891 --- /dev/null +++ b/sci-electronics/coil64/coil64-2.1.27.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 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/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 +" + +DEPEND=" + ${RDEPEND} +" + +src_configure() { + eqmake5 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" +} diff --git a/sci-electronics/coil64/files/coil64.desktop b/sci-electronics/coil64/files/coil64.desktop new file mode 100644 index 0000000000..ca2e0f31bb --- /dev/null +++ b/sci-electronics/coil64/files/coil64.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Coil64 +Comment=Coil inductance calculator (formerly Coil32) +Exec=Coil64 +Icon=coil64 +Terminal=false +StartupNotify=false +Categories=Development;Science; diff --git a/sci-electronics/coil64/files/coil64.svg b/sci-electronics/coil64/files/coil64.svg new file mode 100644 index 0000000000..42339ee25f --- /dev/null +++ b/sci-electronics/coil64/files/coil64.svg @@ -0,0 +1,83 @@ + + + + diff --git a/sci-electronics/coil64/metadata.xml b/sci-electronics/coil64/metadata.xml new file mode 100644 index 0000000000..39c5c16795 --- /dev/null +++ b/sci-electronics/coil64/metadata.xml @@ -0,0 +1,17 @@ + + + + + vowstar@gmail.com + Huang Rui + + + radioacoustick/Coil64 + + + Coil64 is inductance coil calculator, that allows to calculate the + single-layer and multi-layer air core inductors, the ferrite toroid + inductors or chokes, flat square coils on PCB etc. + You can help to translate application by the Crowdin Coil64 project. + +