diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2022-09-26 07:57:44 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2022-09-26 08:00:53 +0200 |
commit | 3e2bc00da26120fde685703411dc880340bdfaf7 (patch) | |
tree | ed98f8f5bbb08634f21f128ad83519640b955ad4 /sci-electronics/xnec2c | |
parent | dev-libs/expat: Remove old (diff) | |
download | gentoo-3e2bc00da26120fde685703411dc880340bdfaf7.tar.gz gentoo-3e2bc00da26120fde685703411dc880340bdfaf7.tar.bz2 gentoo-3e2bc00da26120fde685703411dc880340bdfaf7.zip |
sci-electronics/xnec2c: add 4.4.12
Adds support for >=dev-libs/glib-2.74
Bug: https://bugs.gentoo.org/872236
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'sci-electronics/xnec2c')
-rw-r--r-- | sci-electronics/xnec2c/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/xnec2c/xnec2c-4.4.12.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sci-electronics/xnec2c/Manifest b/sci-electronics/xnec2c/Manifest index eb5069f605ab..3656205642d2 100644 --- a/sci-electronics/xnec2c/Manifest +++ b/sci-electronics/xnec2c/Manifest @@ -1 +1,2 @@ DIST xnec2c-v4.4.11.tar.gz 1061014 BLAKE2B f7af594a1f97b0ad9d93b57235afaf04a8500768396c49608c96849b761828206f2c48afbdb067c9a4138732d4d4e6ad7f6f90a5a547487928efdfe77d3bad88 SHA512 9b5bf71ae45b4d70030eb78793d54d2aa8691afcfcb398b8b23be6508d77a510e5e8a26b6c978b9ea6031fbf5903fd765263d4b19691011187daf58feac612e2 +DIST xnec2c-v4.4.12.tar.gz 1496988 BLAKE2B dbcea1e24382b9f2bb6e881007b44dcf99b9caa7f970ecbb1363e1a0e232d9d1bda6fe68f90622d81cdc69b3b9ff6019dd4b123d6a79f8c6bd088dbd804354b8 SHA512 0d1711260d7f69633d9e6bb559f3b56c2a25414f75ed913c643c0aaad5e4062834ce6c7c7816741f65436173b331e6f8f957c4a624a77214414865bac94ab7e8 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 +} |