diff options
author | Diogo Pereira <sir.suriv@gmail.com> | 2017-07-19 20:58:47 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-07-30 13:21:18 +0200 |
commit | 0a2f5eefa68db963df3aca103e3e682c8de5ba44 (patch) | |
tree | 84391528d1b0253f63e1c8603cb72879151af3b9 /media-libs/libsoundio/libsoundio-1.1.0-r1.ebuild | |
parent | x11-drivers/xf86-video-virtualbox: add missing dependencies (diff) | |
download | gentoo-0a2f5eefa68db963df3aca103e3e682c8de5ba44.tar.gz gentoo-0a2f5eefa68db963df3aca103e3e682c8de5ba44.tar.bz2 gentoo-0a2f5eefa68db963df3aca103e3e682c8de5ba44.zip |
media-libs/libsoundio: add jack2 support
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/5144
Diffstat (limited to 'media-libs/libsoundio/libsoundio-1.1.0-r1.ebuild')
-rw-r--r-- | media-libs/libsoundio/libsoundio-1.1.0-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/media-libs/libsoundio/libsoundio-1.1.0-r1.ebuild b/media-libs/libsoundio/libsoundio-1.1.0-r1.ebuild new file mode 100644 index 000000000000..09ee009fe3ed --- /dev/null +++ b/media-libs/libsoundio/libsoundio-1.1.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib + +DESCRIPTION="C library for cross-platform real-time audio input and output" +HOMEPAGE="http://libsound.io/" +SRC_URI="http://libsound.io/release/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/1" +KEYWORDS="~amd64 ~x86" +IUSE="alsa coreaudio examples jack pulseaudio static-libs" + +DEPEND="alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) + jack? ( || ( + >=media-sound/jack-audio-connection-kit-0.125.0[${MULTILIB_USEDEP}] + >=media-sound/jack2-1.9.11_rc1[${MULTILIB_USEDEP}] ) ) + pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}_missing_include.patch" ) + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_ALSA=$(usex alsa) + -DENABLE_COREAUDIO=$(usex coreaudio) + -DENABLE_JACK=$(usex jack) + -DENABLE_PULSEAUDIO=$(usex pulseaudio) + -DENABLE_WASAPI=no + -DBUILD_STATIC_LIBS=$(usex static-libs) + -DBUILD_EXAMPLE_PROGRAMS=$(multilib_native_usex examples) + -DBUILD_TESTS=no + ) + cmake-utils_src_configure +} |