summaryrefslogtreecommitdiff
path: root/sci-electronics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-26 09:07:40 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-26 09:07:40 +0100
commite0dcb1c4ea48292b379fadd53f55f1df42cf7eab (patch)
tree59cec624e76be908cb33251387eb4b1f042151d5 /sci-electronics
parentbc9ef8effb5fec9ca32cb92dcd35672461c0153b (diff)
gentoo auto-resync : 26:09:2022 - 09:07:40
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/Manifest.gzbin8884 -> 8889 bytes
-rw-r--r--sci-electronics/xnec2c/Manifest2
-rw-r--r--sci-electronics/xnec2c/xnec2c-4.4.12.ebuild53
3 files changed, 55 insertions, 0 deletions
diff --git a/sci-electronics/Manifest.gz b/sci-electronics/Manifest.gz
index 51b8b468baf3..4c7e18765b40 100644
--- a/sci-electronics/Manifest.gz
+++ b/sci-electronics/Manifest.gz
Binary files differ
diff --git a/sci-electronics/xnec2c/Manifest b/sci-electronics/xnec2c/Manifest
index da14461ca1ff..826fb5c08fd0 100644
--- a/sci-electronics/xnec2c/Manifest
+++ b/sci-electronics/xnec2c/Manifest
@@ -1,3 +1,5 @@
DIST xnec2c-v4.4.11.tar.gz 1061014 BLAKE2B f7af594a1f97b0ad9d93b57235afaf04a8500768396c49608c96849b761828206f2c48afbdb067c9a4138732d4d4e6ad7f6f90a5a547487928efdfe77d3bad88 SHA512 9b5bf71ae45b4d70030eb78793d54d2aa8691afcfcb398b8b23be6508d77a510e5e8a26b6c978b9ea6031fbf5903fd765263d4b19691011187daf58feac612e2
+DIST xnec2c-v4.4.12.tar.gz 1496988 BLAKE2B dbcea1e24382b9f2bb6e881007b44dcf99b9caa7f970ecbb1363e1a0e232d9d1bda6fe68f90622d81cdc69b3b9ff6019dd4b123d6a79f8c6bd088dbd804354b8 SHA512 0d1711260d7f69633d9e6bb559f3b56c2a25414f75ed913c643c0aaad5e4062834ce6c7c7816741f65436173b331e6f8f957c4a624a77214414865bac94ab7e8
EBUILD xnec2c-4.4.11.ebuild 987 BLAKE2B 8dd5bc27a43fc5fec236d579e288cc7eac8b067ddd7c4335d2c48c47e1fd3403eb878cda75ac3fd8e01173cf8f85e62786c416c26379a0bf933102c67354a88b SHA512 6e206d36ffdefe3879316477eb324dbb11c7d2e098f2bc96040cdc750ff9728e7049c9f28ac3d0db6729ff1e2117c12a4ec53624bd35ae31571ddd08d74dc18c
+EBUILD xnec2c-4.4.12.ebuild 989 BLAKE2B 7eb5ba8d638b81fc4058228bd1c8eb17037d2b0ca869e28dd6d4f9b46d558be996427d46d3b2c242ebc5a319c0619aafab0d7cd0e30cdc3b6ad73a1c143d830f SHA512 f9af501ed02ed7ec26d16cef9b4d7e7811eb04eb08107ebee0efde9f8b3403ec09fa4d8bea9407dc963bb95c854da4a9f98a637fada1fbc8c5b04544d9df3dc8
MISC metadata.xml 1635 BLAKE2B 97a6599a38ecf5914360b4e5376fcb6be56890a91e0274027c327d69fd41459a740a5ad4e2255e48c676bfabbc60a5fc3abd13fa7f9157ac3572e24fa11752a3 SHA512 7564946c202c11ab3be96071962e07870fe97433fae5a9998dbf0cc62de0c83885fadb71741a824aa45e643641baa77bb887ea70687fa15559119fd22d83eed3
diff --git a/sci-electronics/xnec2c/xnec2c-4.4.12.ebuild b/sci-electronics/xnec2c/xnec2c-4.4.12.ebuild
new file mode 100644
index 000000000000..3d142cf6f7a4
--- /dev/null
+++ b/sci-electronics/xnec2c/xnec2c-4.4.12.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 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"
+
+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"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ eapply_user
+ 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
+}