summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-10-25 10:07:05 +0100
committerJustin Lecher <jlec@gentoo.org>2015-10-25 10:24:01 +0100
commitf7f14ed9a6fd3fabc6f01c792ef2afecefaeb84e (patch)
tree0a8b4b574faf87d8777c06f0d1a2555446c657c3 /sci-biology/treeviewx/treeviewx-0.5.1-r3.ebuild
parentdev-db/wxsqlite3: Version Bump (diff)
downloadgentoo-f7f14ed9a6fd3fabc6f01c792ef2afecefaeb84e.tar.gz
gentoo-f7f14ed9a6fd3fabc6f01c792ef2afecefaeb84e.tar.bz2
gentoo-f7f14ed9a6fd3fabc6f01c792ef2afecefaeb84e.zip
sci-biology/treeviewx: Import debian patchset for wxgtk-3.0 support
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=563970 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-biology/treeviewx/treeviewx-0.5.1-r3.ebuild')
-rw-r--r--sci-biology/treeviewx/treeviewx-0.5.1-r3.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/sci-biology/treeviewx/treeviewx-0.5.1-r3.ebuild b/sci-biology/treeviewx/treeviewx-0.5.1-r3.ebuild
new file mode 100644
index 000000000000..99fe49d602da
--- /dev/null
+++ b/sci-biology/treeviewx/treeviewx-0.5.1-r3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER=3.0
+
+inherit autotools eutils wxwidgets
+
+DESCRIPTION="A phylogenetic tree viewer"
+HOMEPAGE="http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/"
+SRC_URI="http://darwin.zoology.gla.ac.uk/~rpage/${PN}/download/0.5/tv-${PV}.tar.gz"
+LICENSE="GPL-2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/tv-${PV}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-wxt.patch
+ "${FILESDIR}"/${P}-gcc4.3.patch
+ "${FILESDIR}"/${P}-70_choose_tree.patch
+ "${FILESDIR}"/${P}-fix_loading_crash.patch
+ "${FILESDIR}"/${P}-wx30.patch
+ "${FILESDIR}"/${P}-svg.patch
+ "${FILESDIR}"/${P}-treeview-xpm-not-xbm.patch
+ "${FILESDIR}"/${P}-wxstring-maxlen.patch
+ )
+
+src_prepare() {
+ epatch "${PATCHES[@]}"
+ mv configure.{in,ac} || die
+ eautoreconf
+}