1 # Copyright 1999-2023 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 xdg-utils
11 DESCRIPTION
="LADI Session Handler - a session management system for JACK applications"
12 HOMEPAGE
="https://ladish.org"
14 EGIT_REPO_URI
="https://github.com/LADI/ladish.git"
16 KEYWORDS
="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
23 IUSE
="debug doc lash gtk"
24 REQUIRED_USE
="${PYTHON_REQUIRED_USE}"
26 RDEPEND
="media-libs/alsa-lib
30 lash? ( !media-sound/lash )
36 >=dev-cpp/libgnomecanvasmm-2.6.0
40 doc? ( app-doc/doxygen )
41 >=media-sound/jack2-2.21.0
44 DOCS
=( AUTHORS README NEWS
)
51 append-cxxflags
'-std=c++11'
56 local -a mywafconfargs
=(
58 $
(usex debug
--debug '')
59 $
(usex doc
--doxygen '')
60 $
(usex gtk
'--enable-gladish' '')
61 $
(usex lash
'--enable-liblash' '')
63 waf-utils_src_configure
"${mywafconfargs[@]}"
67 use doc
&& HTML_DOCS
="${S}/build/default/html/*"
69 python_fix_shebang
"${ED}"