1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 PYTHON_COMPAT=( python2_7 )
8 PYTHON_REQ_USE='threads(+)'
10 inherit waf-utils python-any-r1 eutils flag-o-matic
12 DESCRIPTION="Gtkmm/Gnomecanvasmm widget for boxes and lines environments"
13 HOMEPAGE="http://wiki.drobilla.net/FlowCanvas"
14 SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
21 RDEPEND="dev-libs/boost
22 >=dev-cpp/gtkmm-2.4:2.4
23 >=dev-cpp/libgnomecanvasmm-2.6:2.6
28 doc? ( app-doc/doxygen )"
30 DOCS=( AUTHORS README ChangeLog )
33 epatch "${FILESDIR}/ldconfig2.patch"
34 has_version '>=media-gfx/graphviz-2.34' && epatch "${FILESDIR}/gv234.patch"
35 append-cxxflags -std=c++11
39 waf-utils_src_configure \
40 --htmldir=/usr/share/doc/${PF}/html \
41 $(use debug && echo "--debug") \
42 $(use doc && echo "--doc")