1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_5,3_6} )
8 inherit python-any-r1 scons-utils toolchain-funcs
10 DESCRIPTION="An advanced command-line based metronome for JACK"
11 HOMEPAGE="http://das.nasophon.de/klick"
12 SRC_URI="http://das.nasophon.de/download/${P}.tar.gz"
16 KEYWORDS="~amd64 ~ppc ~x86"
17 IUSE="debug osc rubberband"
19 RDEPEND="dev-libs/boost
20 media-libs/libsamplerate
23 osc? ( media-libs/liblo )
24 rubberband? ( media-libs/rubberband )"
26 BDEPEND="virtual/pkgconfig"
29 "${FILESDIR}"/${P}-sconstruct.patch
30 "${FILESDIR}"/${P}-gcc6.patch
33 HTML_DOCS=( doc/manual.html )
38 CXXFLAGS="${CXXFLAGS}"
39 LINKFLAGS="${LDFLAGS}"
40 PREFIX="${EPREFIX}/usr"
44 RUBBERBAND=$(usex rubberband)
49 escons "${MYSCONS[@]}"
53 escons "${MYSCONS[@]}" install