summaryrefslogtreecommitdiff
path: root/sci-electronics/xnec2c
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/xnec2c')
-rw-r--r--sci-electronics/xnec2c/Manifest2
-rw-r--r--sci-electronics/xnec2c/xnec2c-4.4.16.ebuild56
2 files changed, 58 insertions, 0 deletions
diff --git a/sci-electronics/xnec2c/Manifest b/sci-electronics/xnec2c/Manifest
index 1fd1c5547226..24433f414c5f 100644
--- a/sci-electronics/xnec2c/Manifest
+++ b/sci-electronics/xnec2c/Manifest
@@ -1,5 +1,7 @@
DIST xnec2c-v4.4.12.tar.gz 1496988 BLAKE2B dbcea1e24382b9f2bb6e881007b44dcf99b9caa7f970ecbb1363e1a0e232d9d1bda6fe68f90622d81cdc69b3b9ff6019dd4b123d6a79f8c6bd088dbd804354b8 SHA512 0d1711260d7f69633d9e6bb559f3b56c2a25414f75ed913c643c0aaad5e4062834ce6c7c7816741f65436173b331e6f8f957c4a624a77214414865bac94ab7e8
DIST xnec2c-v4.4.14.tar.gz 1509461 BLAKE2B 26aca7e4e328dff4e418d16499312bd3137fc9c46b382e928c1916fa111cfb7da2e891274ac414691b0e40520146a7c9da4781fa2864f1abcade247c2732fa89 SHA512 8fa407bf47a1cd600ddffb51b89b6f8ac869a6c8c5d8d1420a494d14c6d8c03e8a6ff845dcff3ac64aca0373d32980a0e1f4f615806df178cdef2eae2190212f
+DIST xnec2c-v4.4.16.tar.gz 1509642 BLAKE2B d816ccbc8535b8a045f14cf6dd0e8b586a076fa2600fd3c0d71fd471efb6e63e739c20b3fa8427934e9e2cf71a9c12b701cbe44b5c4ffb96c78eeaa63fc5cbc5 SHA512 e7ccb0fe844c09ef36114835546f53ff92e053cf05fe64232efb3d7958b0860f86ef930296eb419dbe9b2ec2e9e0697de7e4fef3e2ec139566e585cf9b2cdba9
EBUILD xnec2c-4.4.12.ebuild 1061 BLAKE2B ff49968725592577e469900b89b320fa00d9f0150237995be2c7dd05192dd44163bebd2a4be31b5f4446c68805d39cba993470dde60b81b2d93fd063317392dd SHA512 83ee7d3ec855c3e4936528c8d814b971eacd77f3489dc52dfd9298950f54846d35f67822c9fc2d3ca7b69abfa1cab460e13cb78269b0716113cfd370e46528d3
EBUILD xnec2c-4.4.14.ebuild 1062 BLAKE2B c42edfeb5b6a0b51ba5f2231d972e37e2cbc93ef536770b3c890f314b16484f80366834d0242eb38d07b660aed1e84d980324f4520da61a20cd10eb8c6bddb7f SHA512 8c0e1bd9f3caf3c122003ef4dfe8f987a3cc91d7a01944496f3d62cf811563ffbfc481f435aa1e7f6de75fdb034b17550ceb3de89353eba5b3ca9e6b7d71825b
+EBUILD xnec2c-4.4.16.ebuild 1062 BLAKE2B 144249211779def6d4cfc9116a515b3478e7e7ef6b395b732f3ce7615cd23ed17be87a72f4cb35c0d6234154f738264416aaa5639de3a6c544b9a79a0bf7901f SHA512 4d6aeb4b53d6cd80fd3cc99edac95f9558aa89e51d4c990838c8a41fe7ff357a11309c35b9dd535f97fd6f77acc2fc6f0dbdeec383acf344dfc7334b0b8aab82
MISC metadata.xml 1635 BLAKE2B 97a6599a38ecf5914360b4e5376fcb6be56890a91e0274027c327d69fd41459a740a5ad4e2255e48c676bfabbc60a5fc3abd13fa7f9157ac3572e24fa11752a3 SHA512 7564946c202c11ab3be96071962e07870fe97433fae5a9998dbf0cc62de0c83885fadb71741a824aa45e643641baa77bb887ea70687fa15559119fd22d83eed3
diff --git a/sci-electronics/xnec2c/xnec2c-4.4.16.ebuild b/sci-electronics/xnec2c/xnec2c-4.4.16.ebuild
new file mode 100644
index 000000000000..a04f45020702
--- /dev/null
+++ b/sci-electronics/xnec2c/xnec2c-4.4.16.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools xdg-utils
+
+MY_P=${PN}-v${PV}
+
+DESCRIPTION="A GTK+ graphical interactive version of nec2c"
+HOMEPAGE="https://www.xnec2c.org"
+SRC_URI="https://www.xnec2c.org/releases/${MY_P}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+RDEPEND="dev-libs/glib:2
+ x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+src_prepare() {
+ eapply_user
+ # bug 896176
+ sed -i -e "s/-D_FORTIFY_SOURCE=2//g" configure.ac || die
+ eautoreconf
+}
+
+src_install() {
+ default
+ docompress -x /usr/share/man
+
+ rm -R "${D}/usr/share/doc/${P}" || die
+ dodoc AUTHORS README.md doc/*.txt
+ use doc && dodoc -r doc/*.html doc/images
+
+ if ! use examples ; then
+ rm -R "${D}/usr/share/${PN}/examples" || die
+ fi
+}
+
+pkg_postinst() {
+ xdg_mimeinfo_database_update
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_mimeinfo_database_update
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}