summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiogo Pereira <sir.suriv@gmail.com>2016-09-30 20:21:47 +0100
committerDavid Seifert <soap@gentoo.org>2016-10-22 14:00:46 +0200
commit2df78d1c02a6239bdf264d095c8012fc2d4698ce (patch)
treecc12bd5d2e634bcf014e99e5c957c17e1437b475 /media-libs/libsoundio
parentdev-python/pyzor-1.0.0-r0: stable on alpha (diff)
downloadgentoo-2df78d1c02a6239bdf264d095c8012fc2d4698ce.tar.gz
gentoo-2df78d1c02a6239bdf264d095c8012fc2d4698ce.tar.bz2
gentoo-2df78d1c02a6239bdf264d095c8012fc2d4698ce.zip
media-libs/libsoundio: add jack support
Closes: https://github.com/gentoo/gentoo/pull/2440 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/libsoundio')
-rw-r--r--media-libs/libsoundio/libsoundio-1.1.0.ebuild10
-rw-r--r--media-libs/libsoundio/metadata.xml1
2 files changed, 6 insertions, 5 deletions
diff --git a/media-libs/libsoundio/libsoundio-1.1.0.ebuild b/media-libs/libsoundio/libsoundio-1.1.0.ebuild
index 0cde6b72e9fb..d656a02c9a50 100644
--- a/media-libs/libsoundio/libsoundio-1.1.0.ebuild
+++ b/media-libs/libsoundio/libsoundio-1.1.0.ebuild
@@ -13,21 +13,23 @@ SRC_URI="http://libsound.io/release/${P}.tar.gz"
LICENSE="MIT"
SLOT="0/1"
KEYWORDS="~amd64"
-IUSE="alsa coreaudio examples pulseaudio static-libs"
+IUSE="alsa coreaudio examples jack pulseaudio static-libs"
+# Build fails with <=media-sound/jack2-1.9.10
+# See https://github.com/andrewrk/libsoundio/issues/7
+# Only jack1 is supported for the time being
DEPEND="alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+ jack? ( >=media-sound/jack-audio-connection-kit-0.125.0[${MULTILIB_USEDEP}] )
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}_missing_include.patch" )
-# ENABLE_JACK does not support the current version of jack1
-# See https://github.com/andrewrk/libsoundio/issues/11
multilib_src_configure() {
local mycmakeargs=(
-DENABLE_ALSA=$(usex alsa)
-DENABLE_COREAUDIO=$(usex coreaudio)
- -DENABLE_JACK=no
+ -DENABLE_JACK=$(usex jack)
-DENABLE_PULSEAUDIO=$(usex pulseaudio)
-DENABLE_WASAPI=no
-DBUILD_STATIC_LIBS=$(usex static-libs)
diff --git a/media-libs/libsoundio/metadata.xml b/media-libs/libsoundio/metadata.xml
index f013d8f4d25a..ee1f8b21b59f 100644
--- a/media-libs/libsoundio/metadata.xml
+++ b/media-libs/libsoundio/metadata.xml
@@ -4,7 +4,6 @@
<maintainer type="person">
<email>sir.suriv@gmail.com</email>
<name>Diogo Pereira</name>
- <description>Proxy maintainer. Assign bugs to him.</description>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>