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