flowcanvas-0.7.1-r1.ebuild 959 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. PYTHON_COMPAT=( python2_7 )
  5. PYTHON_REQ_USE='threads(+)'
  6. inherit waf-utils python-any-r1 eutils
  7. DESCRIPTION="Gtkmm/Gnomecanvasmm widget for boxes and lines environments"
  8. HOMEPAGE="http://wiki.drobilla.net/FlowCanvas"
  9. SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
  10. LICENSE="GPL-2"
  11. SLOT="0"
  12. KEYWORDS="amd64 x86"
  13. IUSE="debug doc"
  14. RDEPEND="dev-libs/boost
  15. >=dev-cpp/gtkmm-2.4:2.4
  16. >=dev-cpp/libgnomecanvasmm-2.6:2.6
  17. media-gfx/graphviz"
  18. DEPEND="${RDEPEND}
  19. ${PYTHON_DEPS}
  20. virtual/pkgconfig
  21. doc? ( app-doc/doxygen )"
  22. DOCS=( AUTHORS README ChangeLog )
  23. src_prepare() {
  24. epatch "${FILESDIR}/ldconfig2.patch"
  25. has_version '>=media-gfx/graphviz-2.34' && epatch "${FILESDIR}/gv234.patch"
  26. }
  27. src_configure() {
  28. waf-utils_src_configure \
  29. --htmldir=/usr/share/doc/${PF}/html \
  30. $(use debug && echo "--debug") \
  31. $(use doc && echo "--doc")
  32. }