1 # Copyright 1999-2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="C library for cross-platform real-time audio input and output"
9 HOMEPAGE="http://libsound.io/"
10 SRC_URI="https://github.com/andrewrk/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="amd64 ~arm64 x86"
15 IUSE="alsa coreaudio examples jack pulseaudio static-libs"
18 alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
19 jack? ( virtual/jack[${MULTILIB_USEDEP}] )
20 pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
24 multilib_src_configure() {
26 -DENABLE_ALSA=$(usex alsa)
27 -DENABLE_COREAUDIO=$(usex coreaudio)
28 -DENABLE_JACK=$(usex jack)
29 -DENABLE_PULSEAUDIO=$(usex pulseaudio)
31 -DBUILD_STATIC_LIBS=$(usex static-libs)
32 -DBUILD_EXAMPLE_PROGRAMS=$(multilib_native_usex examples)