diff options
author | Pacho Ramos <pacho@gentoo.org> | 2023-11-24 14:58:04 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-11-24 15:30:30 +0100 |
commit | d580e7856c66ece37bfa7809b745e6e9dc9336bc (patch) | |
tree | a014ff248d7f1cd8e92ab5adefce34c49f93a57b /sci-biology/treeviewx/treeviewx-0.5.1.20100823_p4.ebuild | |
parent | net-wireless/limesuite: add 23.11.0 (diff) | |
download | gentoo-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/treeviewx/treeviewx-0.5.1.20100823_p4.ebuild')
-rw-r--r-- | sci-biology/treeviewx/treeviewx-0.5.1.20100823_p4.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
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" +} |