amyedit-1.0-r2.ebuild 861 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 1999-2012 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit autotools eutils flag-o-matic
  5. DESCRIPTION=" AmyEdit is a LaTeX editor"
  6. HOMEPAGE="http://amyedit.sf.net"
  7. SRC_URI="mirror://sourceforge/amyedit/${P}.tar.bz2"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="amd64 ppc x86"
  11. IUSE=""
  12. RDEPEND=">=dev-cpp/gtkmm-2.6:2.4
  13. >=dev-cpp/glibmm-2.14:2
  14. >=dev-libs/libsigc++-2.2
  15. x11-libs/gtksourceview:2.0
  16. dev-cpp/gtksourceviewmm:2.0
  17. app-text/aspell"
  18. DEPEND="${RDEPEND}
  19. dev-util/intltool
  20. virtual/pkgconfig"
  21. src_prepare() {
  22. epatch "${FILESDIR}/${P}-keyfile.patch"
  23. epatch "${FILESDIR}/${P}-signal.patch"
  24. epatch "${FILESDIR}/${P}-gcc45.patch"
  25. epatch "${FILESDIR}/${P}-sourceviewmm2.patch"
  26. rm -rf "${S}/src/gtksourceviewmm" || die
  27. append-cxxflags -std=c++11
  28. mv configure.in configure.ac || die
  29. eautoreconf
  30. }