1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit ltprune multilib-minimal
7 DESCRIPTION="A free, cross-platform, open-source, audio I/O library"
8 HOMEPAGE="http://www.portaudio.com/"
9 SRC_URI="http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz"
13 KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux"
14 IUSE="alsa +cxx debug doc jack oss static-libs"
16 RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
17 jack? ( virtual/jack[${MULTILIB_USEDEP}] )"
19 doc? ( app-doc/doxygen )
26 multilib_src_configure() {
28 $(use_enable debug debug-output)
30 $(use_enable static-libs static)
36 ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
39 multilib_src_compile() {
40 # workaround parallel build issue
41 emake lib/libportaudio.la
46 multilib-minimal_src_compile
49 doxygen -u Doxyfile || die
50 doxygen Doxyfile || die
54 multilib_src_install_all() {
56 use doc && dodoc -r doc/html