public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/coil64/files/, sci-electronics/coil64/
@ 2023-06-12 11:49 Rui Huang
  0 siblings, 0 replies; only message in thread
From: Rui Huang @ 2023-06-12 11:49 UTC (permalink / raw
  To: gentoo-commits

commit:     818df4a29c6ad4f8175a00f16a1bdf0241d065bf
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Mon Jun 12 11:49:05 2023 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Mon Jun 12 11:49:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=818df4a2

sci-electronics/coil64: new package, add 2.1.27

Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 sci-electronics/coil64/Manifest             |  1 +
 sci-electronics/coil64/coil64-2.1.27.ebuild | 49 +++++++++++++++++
 sci-electronics/coil64/files/coil64.desktop | 10 ++++
 sci-electronics/coil64/files/coil64.svg     | 83 +++++++++++++++++++++++++++++
 sci-electronics/coil64/metadata.xml         | 17 ++++++
 5 files changed, 160 insertions(+)

diff --git a/sci-electronics/coil64/Manifest b/sci-electronics/coil64/Manifest
new file mode 100644
index 000000000..7f12c2336
--- /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 000000000..a762ee189
--- /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 000000000..ca2e0f31b
--- /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 000000000..42339ee25
--- /dev/null
+++ b/sci-electronics/coil64/files/coil64.svg
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="148.00117mm"
+   height="167.65681mm"
+   viewBox="0 0 148.00117 167.65681"
+   version="1.1"
+   id="svg5"
+   xml:space="preserve"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   sodipodi:docname="coil64.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
+     id="namedview7"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     inkscape:document-units="mm"
+     showgrid="false"
+     inkscape:zoom="0.69664703"
+     inkscape:cx="119.14211"
+     inkscape:cy="235.41334"
+     inkscape:window-width="2560"
+     inkscape:window-height="995"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="layer1" /><defs
+     id="defs2"><linearGradient
+       inkscape:collect="always"
+       id="linearGradient8643"><stop
+         style="stop-color:#b9b900;stop-opacity:1;"
+         offset="0"
+         id="stop8639" /><stop
+         style="stop-color:#979700;stop-opacity:1;"
+         offset="1"
+         id="stop8641" /></linearGradient><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient8643"
+       id="linearGradient8645"
+       x1="302.12277"
+       y1="136.50826"
+       x2="248.13101"
+       y2="134.17014"
+       gradientUnits="userSpaceOnUse"
+       spreadMethod="reflect" /></defs><g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-41.334075,-59.541697)"><g
+       id="g10950"
+       transform="matrix(1.0004907,0,0,0.96093667,-190.53135,7.9684727)"><g
+         id="g10135"
+         transform="translate(-0.36792615,8.1196104)"><path
+           id="path3582-3"
+           style="fill:url(#linearGradient8645);fill-opacity:1;stroke:#000000;stroke-width:5;stroke-dasharray:none"
+           d="m 245.79584,68.558902 v 129.282028 0.3514 h 0.0351 a 60.26796,19.681778 0 0 0 60.23301,19.33009 60.26796,19.681778 0 0 0 60.26764,-19.68149 60.26796,19.681778 0 0 0 -0.19999,-1.58957 V 68.558902 Z" /><ellipse
+           style="fill:#b9b900;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-dasharray:none"
+           id="path3582"
+           cx="306.0639"
+           cy="67.731911"
+           rx="60.26796"
+           ry="19.681778" /></g><path
+         id="path2286"
+         style="fill:#110c43;fill-opacity:1;stroke:#000000;stroke-width:2.63952;stroke-dasharray:none"
+         d="m 367.68075,101.78725 a 13.063814,66.566477 84.979005 0 1 -59.86356,13.18239 13.063814,66.566477 84.979005 0 1 -64.42221,-3.53911 13.023236,72.865323 85.462599 0 0 -10.30476,7.79191 13.023236,72.865323 85.462599 0 0 74.24433,7.06613 13.023236,72.865323 85.462599 0 0 71.00815,-18.80472 13.023236,72.865323 85.462599 0 0 -10.66195,-5.6966 z" /><path
+         id="path2286-5"
+         style="fill:#110c43;fill-opacity:1;stroke:#000000;stroke-width:2.63952;stroke-dasharray:none"
+         d="m 367.68075,126.45419 a 13.063814,66.566477 84.979005 0 1 -59.86356,13.18238 13.063814,66.566477 84.979005 0 1 -64.42221,-3.53911 13.023236,72.865323 85.462599 0 0 -10.30476,7.79191 13.023236,72.865323 85.462599 0 0 74.24433,7.06613 13.023236,72.865323 85.462599 0 0 71.00815,-18.80471 13.023236,72.865323 85.462599 0 0 -10.66195,-5.6966 z" /><path
+         id="path2286-3"
+         style="fill:#110c43;fill-opacity:1;stroke:#000000;stroke-width:2.63952;stroke-dasharray:none"
+         d="m 367.68075,151.20024 a 13.063814,66.566477 84.979005 0 1 -59.86356,13.18237 13.063814,66.566477 84.979005 0 1 -64.42221,-3.53911 13.023236,72.865323 85.462599 0 0 -10.30476,7.79191 13.023236,72.865323 85.462599 0 0 74.24433,7.06613 13.023236,72.865323 85.462599 0 0 71.00815,-18.80471 13.023236,72.865323 85.462599 0 0 -10.66195,-5.69659 z" /><path
+         id="path2286-56"
+         style="fill:#110c43;fill-opacity:1;stroke:#000000;stroke-width:2.63952;stroke-dasharray:none"
+         d="m 367.68075,175.74155 a 13.063814,66.566477 84.979005 0 1 -59.86356,13.18237 13.063814,66.566477 84.979005 0 1 -64.4222,-3.53911 13.023236,72.865323 85.462599 0 0 -10.30476,7.79191 13.023236,72.865323 85.462599 0 0 74.24432,7.06613 13.023236,72.865323 85.462599 0 0 71.00815,-18.80471 13.023236,72.865323 85.462599 0 0 -10.66195,-5.69659 z" /></g></g></svg>

diff --git a/sci-electronics/coil64/metadata.xml b/sci-electronics/coil64/metadata.xml
new file mode 100644
index 000000000..39c5c1679
--- /dev/null
+++ b/sci-electronics/coil64/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>vowstar@gmail.com</email>
+		<name>Huang Rui</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">radioacoustick/Coil64</remote-id>
+	</upstream>
+	<longdescription lang="en">
+		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.
+	</longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-12 11:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-12 11:49 [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/coil64/files/, sci-electronics/coil64/ Rui Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox