You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.3 KiB
60 lines
1.3 KiB
5 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
7 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
|
||
4 years ago
|
PYTHON_COMPAT=( python3_{6,7} )
|
||
7 years ago
|
PYTHON_REQ_USE='threads(+)'
|
||
|
|
||
|
inherit python-single-r1 waf-utils multilib-build multilib-minimal
|
||
|
|
||
|
DESCRIPTION="A simple but extensible successor of LADSPA"
|
||
4 years ago
|
HOMEPAGE="https://lv2plug.in/"
|
||
|
SRC_URI="https://lv2plug.in/spec/${P}.tar.bz2"
|
||
7 years ago
|
|
||
|
LICENSE="MIT"
|
||
|
SLOT="0"
|
||
4 years ago
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||
7 years ago
|
IUSE="doc plugins"
|
||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||
|
|
||
4 years ago
|
BDEPEND="
|
||
|
plugins? ( virtual/pkgconfig )
|
||
|
doc? ( app-doc/doxygen dev-python/rdflib )
|
||
|
"
|
||
|
CDEPEND="
|
||
7 years ago
|
${PYTHON_DEPS}
|
||
4 years ago
|
plugins? ( x11-libs/gtk+:2 media-libs/libsndfile )
|
||
|
"
|
||
|
DEPEND="${CDEPEND}"
|
||
|
RDEPEND="
|
||
|
${CDEPEND}
|
||
5 years ago
|
$(python_gen_cond_dep '
|
||
|
dev-python/lxml[${PYTHON_MULTI_USEDEP}]
|
||
|
dev-python/pygments[${PYTHON_MULTI_USEDEP}]
|
||
|
dev-python/rdflib[${PYTHON_MULTI_USEDEP}]
|
||
|
')
|
||
4 years ago
|
"
|
||
7 years ago
|
DOCS=( "README.md" "NEWS" )
|
||
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
multilib_copy_sources
|
||
|
}
|
||
|
|
||
|
multilib_src_configure() {
|
||
|
waf-utils_src_configure \
|
||
|
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||
|
--lv2dir="${EPREFIX}"/usr/$(get_libdir)/lv2 \
|
||
|
$(use plugins || echo " --no-plugins") \
|
||
|
$(multilib_native_usex doc --docs "")
|
||
|
}
|
||
|
|
||
|
multilib_src_install() {
|
||
|
waf-utils_src_install
|
||
|
}
|
||
|
|
||
|
multilib_src_install_all() {
|
||
|
python_fix_shebang "${D}"
|
||
|
}
|