1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
7 PYTHON_REQ_USE='threads(+)'
9 inherit python-single-r1 waf-utils multilib
11 DESCRIPTION="A simple but extensible successor of LADSPA"
12 HOMEPAGE="http://lv2plug.in/"
13 SRC_URI="http://lv2plug.in/spec/${P}.tar.bz2"
17 KEYWORDS="amd64 ~mips ppc ppc64 x86"
19 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
23 plugins? ( x11-libs/gtk+:2 media-libs/libsndfile )"
25 dev-python/lxml[${PYTHON_USEDEP}]
26 dev-python/pygments[${PYTHON_USEDEP}]
27 dev-python/rdflib[${PYTHON_USEDEP}]
28 !<media-libs/slv2-0.4.2
32 plugins? ( virtual/pkgconfig )
33 doc? ( app-doc/doxygen dev-python/rdflib )"
34 DOCS=( "README.md" "NEWS" )
37 waf-utils_src_configure \
38 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
39 --lv2dir="${EPREFIX}"/usr/$(get_libdir)/lv2 \
40 $(use plugins || echo " --no-plugins") \
41 $(use doc && echo " --docs" )
47 python_fix_shebang "${D}"