summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2023-11-24 14:58:04 +0100
committerPacho Ramos <pacho@gentoo.org>2023-11-24 15:30:30 +0100
commitd580e7856c66ece37bfa7809b745e6e9dc9336bc (patch)
treea014ff248d7f1cd8e92ab5adefce34c49f93a57b /sci-biology
parentnet-wireless/limesuite: add 23.11.0 (diff)
downloadgentoo-d580e7856c66ece37bfa7809b745e6e9dc9336bc.tar.gz
gentoo-d580e7856c66ece37bfa7809b745e6e9dc9336bc.tar.bz2
gentoo-d580e7856c66ece37bfa7809b745e6e9dc9336bc.zip
sci-biology/treeviewx: add 0.5.1.20100823_p4
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/treeviewx/Manifest3
-rw-r--r--sci-biology/treeviewx/treeviewx-0.5.1.20100823_p4.ebuild50
2 files changed, 53 insertions, 0 deletions
diff --git a/sci-biology/treeviewx/Manifest b/sci-biology/treeviewx/Manifest
index 1394d9f7afb1..35a6577e59df 100644
--- a/sci-biology/treeviewx/Manifest
+++ b/sci-biology/treeviewx/Manifest
@@ -1 +1,4 @@
+DIST treeviewx-0.5.1.20100823_p4.tar.gz 358644 BLAKE2B 3b7291415ab536230ac95decdc028dfdf60edcd986c91f76f7dacf5ec65fc31234c4d7023a9ec0fa420b68c9fe85278f8ae25106daa050872750dc5127362c46 SHA512 aec1351cfe58e1d11053c8bd3edbdf2ca74fb4bb5453bde72aa2a1b14623c69540fe7cef20f506291dad0b9358f6c37ea59feb493376b20dbdf3f7fb7df9844e
+DIST treeviewx_0.5.1+git20100823.7e4d0e9-4.debian.tar.xz 13880 BLAKE2B 6ab73fa79fe9a07dde17ae771edcee8d4f4e1aa25aef5fff66de4a86ee8e24c0edf9c8a4b721c12e1675083b493c65fadfff8bc79d50f28cb54a5b2cd47104a4 SHA512 4e3dbf0fd0383a0a07f924d2e59e9ed74b20c03fe57edc8e728f99dfff0a28f1c366f8a38f52f637d104b1abf98f8023abcdaff7394045642e53f5d7bb6723fd
+DIST treeviewx_128.png 16298 BLAKE2B 4a5f08352cd21f30e69f77403ecb79d95e8610e672979bbc46b72059bfe02edb711206260bb0b11eb733c544d584df7c9e778fe20ab2f768f18c49362cb72f11 SHA512 4986f86b7a0d4f57bd16aecb504a743ae060c2c5d3015ab2a6057e9df52ab132e6d071b5f992fc2de88529b5166f119654cbfb6c952e16d7e02d18f6d6143ee8
DIST tv-0.5.1.tar.gz 426745 BLAKE2B 080c4e09f441fd83da3406990bbe97f9e29fa531f47a65533ca887580f8a3ec561bb4766e66e2ef4764f68eee86fdabf48481cece56ddda90f9ffdc3c80b3a1a SHA512 45a7ac6dff5b22771e4428d6b1ee528c0039956a462658d28d4f588b6df32620d8f69b3bcf5ca23643e2bdd5361da00625fcb1495bcf4f74d44ee22022c63143
diff --git a/sci-biology/treeviewx/treeviewx-0.5.1.20100823_p4.ebuild b/sci-biology/treeviewx/treeviewx-0.5.1.20100823_p4.ebuild
new file mode 100644
index 000000000000..c5233f056c4d
--- /dev/null
+++ b/sci-biology/treeviewx/treeviewx-0.5.1.20100823_p4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER="3.2-gtk3"
+inherit autotools desktop wxwidgets
+
+DESCRIPTION="A phylogenetic tree viewer"
+HOMEPAGE="https://github.com/rdmpage/treeviewx"
+COMMIT="7e4d0e96dfdde51a92a1634b41d7284142a19afa"
+SRC_URI="https://github.com/rdmpage/treeviewx/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_$(ver_cut 1-3)+git$(ver_cut 4).${COMMIT:0:7}-${PV/*_p}.debian.tar.xz
+ https://dev.gentoo.org/~pacho/${PN}/${PN}_128.png"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.5.1-AM_PROG_AR.patch
+)
+
+src_prepare() {
+ default
+
+ # Debian patches
+ for p in $(<"${WORKDIR}"/debian/patches/series) ; do
+ eapply -p1 "${WORKDIR}/debian/patches/${p}"
+ done
+
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+src_configure() {
+ setup-wxwidgets
+ default
+}
+
+src_install() {
+ default
+ newicon -s 128 "${DISTDIR}"/${PN}_128.png ${PN}.png
+ newicon bitmaps/treeview.xpm ${PN}.xpm
+ make_desktop_entry tv "TreeView X"
+}