summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-04-28 10:03:01 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-04-28 10:05:14 +0300
commit7064e5d2b9c7d0726fe609a349729721d933162d (patch)
treeadd40bd63c229db6ecb57608e2b21dd18156c81e
parentsys-firmware/midisport-firmware: EAPI=8, fix udev_reload (diff)
downloadgentoo-7064e5d2b9c7d0726fe609a349729721d933162d.tar.gz
gentoo-7064e5d2b9c7d0726fe609a349729721d933162d.tar.bz2
gentoo-7064e5d2b9c7d0726fe609a349729721d933162d.zip
sci-visualization/fig2sxd: add 0.23, EAPI=8
Looks like upstream moved to gitlab. Debian and FreeBSD moved to it, so it looks like indeed upstream move. Closes: https://bugs.gentoo.org/732018 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--sci-visualization/fig2sxd/Manifest1
-rw-r--r--sci-visualization/fig2sxd/fig2sxd-0.23.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/sci-visualization/fig2sxd/Manifest b/sci-visualization/fig2sxd/Manifest
index 821bfecd6197..400b8bd3a525 100644
--- a/sci-visualization/fig2sxd/Manifest
+++ b/sci-visualization/fig2sxd/Manifest
@@ -1 +1,2 @@
+DIST fig2sxd-v0.23.tar.bz2 799014 BLAKE2B 299936b44dbfdb7b1506bcc164982f96aef078eeba3739125dc0f14644ab791e5d6b889ace5293e601481f6e57b3db25c7759e670b3ee02778b88c623a027cbe SHA512 5cc206d33b2495257111868ad75794b5625d8a43234e7deb70f566c70e2ee45a11e2258281416ec1c76730d5c456d58712915b19394c4d65e59325de92819cf1
DIST fig2sxd_0.22.1.orig.tar.gz 26474 BLAKE2B b6d131f37edca2c810bd7366253f70dac4448b1d1504d15e82751b97c8dd8c8f686128b4bac26290902eb93bb833dc926e28901f9d173108e476f1b924f37699 SHA512 cc407f68e1d82f05566cce8d19bc3f64f4b39c338629b393d3c3d7770c6c69499943c247ddc9bebf1193bab6c4896d28c3b771ed29cfa751a0b6184847a0fc4a
diff --git a/sci-visualization/fig2sxd/fig2sxd-0.23.ebuild b/sci-visualization/fig2sxd/fig2sxd-0.23.ebuild
new file mode 100644
index 000000000000..f1f528a263fa
--- /dev/null
+++ b/sci-visualization/fig2sxd/fig2sxd-0.23.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Utility to convert files in xfig format to OpenOffice.org Draw format"
+HOMEPAGE="https://gitlab.com/acfbuerger/fig2sxd"
+SRC_URI="https://gitlab.com/acfbuerger/fig2sxd/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
+S=${WORKDIR}/${PN}-v${PV}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+DEPEND="sys-libs/zlib:="
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md changelog )
+PATCHES=( "${FILESDIR}"/${PN}-0.20-phony-check.patch )
+
+src_compile() {
+ emake CXXFLAGS="${CXXFLAGS}" CXX="$(tc-getCXX)"
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+ einstalldocs
+}