1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT
=( python3_
{6,7,8,9,10,11} )
7 PYTHON_REQ_USE
='threads(+)'
9 inherit flag-o-matic python-single-r1 waf-utils
11 DESCRIPTION
="LADI Session Handler - a session management system for JACK applications"
12 HOMEPAGE
="https://ladish.org"
14 EGIT_REPO_URI
="https://git.nedk.org/lad/ladish.git"
15 EGIT_BRANCH
="1-stable"
23 IUSE
="debug doc lash gtk"
24 REQUIRED_USE
="${PYTHON_REQUIRED_USE}"
26 RDEPEND
="media-libs/alsa-lib
27 media-sound/jack2[dbus]
30 lash? ( !media-sound/lash )
36 >=dev-cpp/libgnomecanvasmm-2.6.0
40 doc? ( app-doc/doxygen )
43 DOCS
=( AUTHORS README NEWS
)
46 "${FILESDIR}/${PN}-configure-gladish.patch"
51 sed -i -e "s/RELEASE = False/RELEASE = True/" wscript
52 append-cxxflags
'-std=c++11'
57 local -a mywafconfargs
=(
59 $
(usex debug
--debug '')
60 $
(usex doc
--doxygen '')
61 $
(usex gtk
'--enable-gladish' '')
62 $
(usex lash
'--enable-liblash' '')
64 waf-utils_src_configure
"${mywafconfargs[@]}"
68 use doc
&& HTML_DOCS
="${S}/build/default/html/*"
70 python_fix_shebang
"${ED}"