1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 # oes not work with python3
6 PYTHON_COMPAT=( python2_7 )
7 PYTHON_REQ_USE='threads(+)'
8 inherit eutils flag-o-matic waf-utils python-any-r1
10 DESCRIPTION="A GTK+ widget for interactive graph-like environments"
11 HOMEPAGE="http://drobilla.net/software/ganv/"
12 SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
17 IUSE="+fdgl +graphviz introspection nls"
23 graphviz? ( media-gfx/graphviz[gtk] )
26 dev-libs/gobject-introspection:=[doctool] )
31 nls? ( virtual/libintl )
35 "${FILESDIR}"/${P}-no-fdgl.patch
39 append-cxxflags -std=c++11
40 waf-utils_src_configure \
41 $(use graphviz || echo "--no-graphviz") \
42 $(use fdgl || echo "--no-fdgl") \
43 $(use nls || echo "--no-nls") \
44 $(use introspection && echo "--gir")