summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2020-08-30 09:54:27 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2020-08-30 09:55:05 +0200
commitc8388c2d58228dc862c7407d18558b0f3a55fe72 (patch)
tree49c21594ef79acfa1d4e9b1cb593884ff5da203a /sci-electronics/xnec2c
parentdev-haskell/recaptcha: drop old (diff)
downloadgentoo-c8388c2d58228dc862c7407d18558b0f3a55fe72.tar.gz
gentoo-c8388c2d58228dc862c7407d18558b0f3a55fe72.tar.bz2
gentoo-c8388c2d58228dc862c7407d18558b0f3a55fe72.zip
sci-electronics/xnec2c: Version bump
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'sci-electronics/xnec2c')
-rw-r--r--sci-electronics/xnec2c/Manifest1
-rw-r--r--sci-electronics/xnec2c/xnec2c-4.1.1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/sci-electronics/xnec2c/Manifest b/sci-electronics/xnec2c/Manifest
index f0a3dd7775a1..ee715c61bc76 100644
--- a/sci-electronics/xnec2c/Manifest
+++ b/sci-electronics/xnec2c/Manifest
@@ -1 +1,2 @@
DIST xnec2c-3.5.1.tar.bz2 995554 BLAKE2B 697a7f1d5d89e108ebc02b6f21a3e9593cf617778f3b19c2bee2d901095c48e639b86922d360c752b8e9ecf1cb1dfd58169c33df3ee2d620968c236db334ba39 SHA512 3ba4bbe9d013176ced4d5aa584cd1e4b55caeb193cd3ec905e460421ed21038ff44dea332a3aa0650c34df6ef6bf5a2a9cbf5da7c7ba892b82c2fe7e253d99f5
+DIST xnec2c-4.1.1.tar.bz2 947969 BLAKE2B 81794dc557d5cc845043be97e07b628e69dcd26fddb3886d11bf31374eba0187491ad9787187f8f4a19cf04f644288c680d3b8778a7b6e144209951b25bbfbf1 SHA512 3a97521f568d79158d5d224958e4cb3708de8214476ba228f9ce0ac122899eb9b06f596d5b0c43a85a18dbd6d86e0751f1a70128c14dd8972f10deeb5a1db980
diff --git a/sci-electronics/xnec2c/xnec2c-4.1.1.ebuild b/sci-electronics/xnec2c/xnec2c-4.1.1.ebuild
new file mode 100644
index 000000000000..002559b18a75
--- /dev/null
+++ b/sci-electronics/xnec2c/xnec2c-4.1.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit xdg-utils
+
+DESCRIPTION="A GTK+ graphical interactive version of nec2c"
+HOMEPAGE="https://www.qsl.net/5b4az/pages/nec2.html"
+SRC_URI="https://www.qsl.net/5b4az/pkg/nec2/xnec2c/${P}.tar.bz2"
+
+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_install() {
+ default
+ rm -R "${D}/usr/share/doc/${PN}" || die
+
+ docompress -x /usr/share/man
+ dodoc AUTHORS README doc/*.txt
+ use doc && dodoc -r doc/*.html doc/images
+ if use examples ; then
+ docinto examples
+ dodoc examples/*
+ fi
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}