treeviewx-0.5.1-r3.ebuild 894 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. WX_GTK_VER=3.0
  5. inherit autotools eutils wxwidgets
  6. DESCRIPTION="A phylogenetic tree viewer"
  7. HOMEPAGE="http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/"
  8. SRC_URI="http://darwin.zoology.gla.ac.uk/~rpage/${PN}/download/0.5/tv-${PV}.tar.gz"
  9. LICENSE="GPL-2"
  10. KEYWORDS="amd64 x86"
  11. SLOT="0"
  12. IUSE=""
  13. DEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]"
  14. RDEPEND="${DEPEND}"
  15. S="${WORKDIR}/tv-${PV}"
  16. PATCHES=(
  17. "${FILESDIR}"/${PN}-wxt.patch
  18. "${FILESDIR}"/${P}-gcc4.3.patch
  19. "${FILESDIR}"/${P}-70_choose_tree.patch
  20. "${FILESDIR}"/${P}-fix_loading_crash.patch
  21. "${FILESDIR}"/${P}-wx30.patch
  22. "${FILESDIR}"/${P}-svg.patch
  23. "${FILESDIR}"/${P}-treeview-xpm-not-xbm.patch
  24. "${FILESDIR}"/${P}-wxstring-maxlen.patch
  25. )
  26. src_prepare() {
  27. epatch "${PATCHES[@]}"
  28. mv configure.{in,ac} || die
  29. eautoreconf
  30. }