summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiogo Pereira <sir.suriv@gmail.com>2017-07-19 21:04:27 +0100
committerDavid Seifert <soap@gentoo.org>2017-07-30 13:21:21 +0200
commit51f2806c9cf5348bbce1ca635600a0b4ec2c97db (patch)
treee6be62da06bcfd81ab60d11428c7e0cdc0018da0 /media-libs
parentmedia-libs/libsoundio: add jack2 support (diff)
downloadgentoo-51f2806c9cf5348bbce1ca635600a0b4ec2c97db.tar.gz
gentoo-51f2806c9cf5348bbce1ca635600a0b4ec2c97db.tar.bz2
gentoo-51f2806c9cf5348bbce1ca635600a0b4ec2c97db.zip
media-libs/libsoundio: drop old
Package-Manager: Portage-2.3.6, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/5144
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libsoundio/Manifest2
-rw-r--r--media-libs/libsoundio/files/libsoundio-1.0.0_clang.patch32
-rw-r--r--media-libs/libsoundio/files/libsoundio-1.0.0_examples_tests.patch182
-rw-r--r--media-libs/libsoundio/files/libsoundio-1.0.0_static-libs.patch52
-rw-r--r--media-libs/libsoundio/libsoundio-1.0.0.ebuild40
-rw-r--r--media-libs/libsoundio/libsoundio-1.0.2.ebuild35
-rw-r--r--media-libs/libsoundio/libsoundio-1.1.0.ebuild39
7 files changed, 0 insertions, 382 deletions
diff --git a/media-libs/libsoundio/Manifest b/media-libs/libsoundio/Manifest
index 433d75fe275d..67c28795c21d 100644
--- a/media-libs/libsoundio/Manifest
+++ b/media-libs/libsoundio/Manifest
@@ -1,3 +1 @@
-DIST libsoundio-1.0.0.tar.gz 112139 SHA256 f05d87916266b6b32020c3e13b78ce9f3a758c43c8f8c8bbaf37578d99e1d3e2 SHA512 d0a0eda701d99ef658ee2858dbf4be2ec872d74bc1c9d05ed5484adcc17e774530c150fcd86cd1213a8dceb6373dfd3319a2c97c506ada0cdfe0f02551c0ddd0 WHIRLPOOL 1720e8eb64dc407a17dfbc9ccc8406184e0fa8c5bcc799553e5af181c9faebc0d0ba75fab0c8d9f6332fec6db1711ae9d6afe4be0e970fd5e9b526511b0a8965
-DIST libsoundio-1.0.2.tar.gz 114311 SHA256 821fc5b94880f09f57178ea7b474216e7dd0d698c8cac98e366d28d3b4f3ac4d SHA512 9110c6dd2f2ee8ed9f4a454b92aea5292b1b222aebe6851d247e964a6aa80f1d95d490e2d3da5d06cbd6853407c4002f02d163fac5631f51e110d57a9b58faa3 WHIRLPOOL 1e82ddf04c42e64e1bc19519ab07265ebd0f56ac2f32bb83ab4710e61cdfaa392ee5103c2a9a23c3a8f71be93cb713b2a4356b07ba03e1e5957f0b7e3b517dff
DIST libsoundio-1.1.0.tar.gz 118672 SHA256 ba0b21397cb3e29dc8f51ed213ae27625f05398c01aefcfbaa860fab42a84281 SHA512 3de35fa83395faea5e6f4478cd82d49615e470b09847fb076647664238e232ff3d4597ca7a07ce06012ae084f11e5d3903b42d8f4afe64c27b1a4b92d2081b5f WHIRLPOOL 4a43e0cb3118502693d95fad90182a3797930ce7797b8fcf411dcd24a053b62df7cc899bf196c4ffb765b9879982b4d08dd17b6b140244e5ce731f0f2fc274c6
diff --git a/media-libs/libsoundio/files/libsoundio-1.0.0_clang.patch b/media-libs/libsoundio/files/libsoundio-1.0.0_clang.patch
deleted file mode 100644
index 9c417c0b63b1..000000000000
--- a/media-libs/libsoundio/files/libsoundio-1.0.0_clang.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 85c219067579e299f9faddd2c24836cf96cc245b Mon Sep 17 00:00:00 2001
-From: Andrew Kelley <superjoe30@gmail.com>
-Date: Thu, 3 Sep 2015 14:05:19 -0700
-Subject: [PATCH] build: fix build on linux with clang
-
-closes #8
----
- src/alsa.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/alsa.cpp b/src/alsa.cpp
-index 18ef1de..8e779a6 100644
---- a/src/alsa.cpp
-+++ b/src/alsa.cpp
-@@ -1016,7 +1016,7 @@ static int instream_wait_for_poll(SoundIoInStreamPrivate *is) {
- }
- }
-
--void outstream_thread_run(void *arg) {
-+static void outstream_thread_run(void *arg) {
- SoundIoOutStreamPrivate *os = (SoundIoOutStreamPrivate *) arg;
- SoundIoOutStream *outstream = &os->pub;
- SoundIoOutStreamAlsa *osa = &os->backend_data.alsa;
-@@ -1367,7 +1367,7 @@ static int outstream_start_alsa(SoundIoPrivate *si, SoundIoOutStreamPrivate *os)
- return 0;
- }
-
--int outstream_begin_write_alsa(SoundIoPrivate *si, SoundIoOutStreamPrivate *os,
-+static int outstream_begin_write_alsa(SoundIoPrivate *si, SoundIoOutStreamPrivate *os,
- struct SoundIoChannelArea **out_areas, int *frame_count)
- {
- *out_areas = nullptr;
diff --git a/media-libs/libsoundio/files/libsoundio-1.0.0_examples_tests.patch b/media-libs/libsoundio/files/libsoundio-1.0.0_examples_tests.patch
deleted file mode 100644
index aa322c1c7896..000000000000
--- a/media-libs/libsoundio/files/libsoundio-1.0.0_examples_tests.patch
+++ /dev/null
@@ -1,182 +0,0 @@
-From a3dd080fda5a3581de0602b5887cda87dca2a915 Mon Sep 17 00:00:00 2001
-From: hasufell <hasufell@hasufell.de>
-Date: Sat, 5 Sep 2015 14:07:22 +0200
-Subject: [PATCH] Make building examples and tests optional
-
----
- CMakeLists.txt | 136 +++++++++++++++++++++++++++++++--------------------------
- 1 file changed, 74 insertions(+), 62 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index c109af4..7fa8247 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -25,6 +25,8 @@ set(LIBSOUNDIO_VERSION "${LIBSOUNDIO_VERSION_MAJOR}.${LIBSOUNDIO_VERSION_MINOR}.
- message("Configuring libsoundio version ${LIBSOUNDIO_VERSION}")
-
- option(BUILD_STATIC_LIBS "Build static libraries" ON)
-+option(BUILD_EXAMPLE_PROGRAMS "Build example programs" ON)
-+option(BUILD_TESTS "Build tests" ON)
- option(ENABLE_JACK "Enable JACK backend" ON)
- option(ENABLE_PULSEAUDIO "Enable PulseAudio backend" ON)
- option(ENABLE_ALSA "Enable ALSA backend" ON)
-@@ -254,80 +256,88 @@ install(FILES
-
- # Example Programs
-
--add_executable(sio_sine example/sio_sine.c)
--set_target_properties(sio_sine PROPERTIES
-- LINKER_LANGUAGE C
-- COMPILE_FLAGS ${EXAMPLE_CFLAGS})
--target_link_libraries(sio_sine libsoundio_shared)
--install(TARGETS sio_sine DESTINATION ${CMAKE_INSTALL_BINDIR})
-+if(BUILD_EXAMPLE_PROGRAMS)
-+ add_executable(sio_sine example/sio_sine.c)
-+ set_target_properties(sio_sine PROPERTIES
-+ LINKER_LANGUAGE C
-+ COMPILE_FLAGS ${EXAMPLE_CFLAGS})
-+ target_link_libraries(sio_sine libsoundio_shared)
-+ install(TARGETS sio_sine DESTINATION ${CMAKE_INSTALL_BINDIR})
-
--add_executable(sio_list_devices example/sio_list_devices.c)
--set_target_properties(sio_list_devices PROPERTIES
-- LINKER_LANGUAGE C
-- COMPILE_FLAGS ${EXAMPLE_CFLAGS})
--target_link_libraries(sio_list_devices libsoundio_shared)
--install(TARGETS sio_list_devices DESTINATION ${CMAKE_INSTALL_BINDIR})
-+ add_executable(sio_list_devices example/sio_list_devices.c)
-+ set_target_properties(sio_list_devices PROPERTIES
-+ LINKER_LANGUAGE C
-+ COMPILE_FLAGS ${EXAMPLE_CFLAGS})
-+ target_link_libraries(sio_list_devices libsoundio_shared)
-+ install(TARGETS sio_list_devices DESTINATION ${CMAKE_INSTALL_BINDIR})
-
--add_executable(sio_microphone example/sio_microphone.c)
--set_target_properties(sio_microphone PROPERTIES
-- LINKER_LANGUAGE C
-- COMPILE_FLAGS ${EXAMPLE_CFLAGS})
--target_link_libraries(sio_microphone libsoundio_shared)
--install(TARGETS sio_microphone DESTINATION ${CMAKE_INSTALL_BINDIR})
-+ add_executable(sio_microphone example/sio_microphone.c)
-+ set_target_properties(sio_microphone PROPERTIES
-+ LINKER_LANGUAGE C
-+ COMPILE_FLAGS ${EXAMPLE_CFLAGS})
-+ target_link_libraries(sio_microphone libsoundio_shared)
-+ install(TARGETS sio_microphone DESTINATION ${CMAKE_INSTALL_BINDIR})
-
--add_executable(sio_record example/sio_record.c)
--set_target_properties(sio_record PROPERTIES
-- LINKER_LANGUAGE C
-- COMPILE_FLAGS ${EXAMPLE_CFLAGS})
--target_link_libraries(sio_record libsoundio_shared)
--install(TARGETS sio_record DESTINATION ${CMAKE_INSTALL_BINDIR})
-+ add_executable(sio_record example/sio_record.c)
-+ set_target_properties(sio_record PROPERTIES
-+ LINKER_LANGUAGE C
-+ COMPILE_FLAGS ${EXAMPLE_CFLAGS})
-+ target_link_libraries(sio_record libsoundio_shared)
-+ install(TARGETS sio_record DESTINATION ${CMAKE_INSTALL_BINDIR})
-+endif()
-
-+if(BUILD_TESTS)
-+ include_directories(
-+ "${CMAKE_SOURCE_DIR}/test"
-+ )
-
--add_executable(unit_tests "${CMAKE_SOURCE_DIR}/test/unit_tests.cpp" ${LIBSOUNDIO_SOURCES})
--target_link_libraries(unit_tests LINK_PUBLIC ${LIBSOUNDIO_LIBS})
--set_target_properties(unit_tests PROPERTIES
-- LINKER_LANGUAGE C
-- COMPILE_FLAGS ${TEST_CFLAGS}
-- LINK_FLAGS ${TEST_LDFLAGS}
--)
-+ add_executable(unit_tests "${CMAKE_SOURCE_DIR}/test/unit_tests.cpp" ${LIBSOUNDIO_SOURCES})
-+ target_link_libraries(unit_tests LINK_PUBLIC ${LIBSOUNDIO_LIBS})
-+ set_target_properties(unit_tests PROPERTIES
-+ LINKER_LANGUAGE C
-+ COMPILE_FLAGS ${TEST_CFLAGS}
-+ LINK_FLAGS ${TEST_LDFLAGS}
-+ )
-
--add_executable(latency "${CMAKE_SOURCE_DIR}/test/latency.cpp" ${LIBSOUNDIO_SOURCES})
--target_link_libraries(latency LINK_PUBLIC ${LIBSOUNDIO_LIBS})
--set_target_properties(latency PROPERTIES
-- LINKER_LANGUAGE C
-- COMPILE_FLAGS ${LIB_CFLAGS}
--)
-+ add_executable(latency "${CMAKE_SOURCE_DIR}/test/latency.cpp" ${LIBSOUNDIO_SOURCES})
-+ target_link_libraries(latency LINK_PUBLIC ${LIBSOUNDIO_LIBS})
-+ set_target_properties(latency PROPERTIES
-+ LINKER_LANGUAGE C
-+ COMPILE_FLAGS ${LIB_CFLAGS}
-+ )
-
--add_executable(underflow test/underflow.c)
--set_target_properties(underflow PROPERTIES
-- LINKER_LANGUAGE C
-- COMPILE_FLAGS ${EXAMPLE_CFLAGS})
--target_link_libraries(underflow libsoundio_shared)
-+ add_executable(underflow test/underflow.c)
-+ set_target_properties(underflow PROPERTIES
-+ LINKER_LANGUAGE C
-+ COMPILE_FLAGS ${EXAMPLE_CFLAGS})
-+ target_link_libraries(underflow libsoundio_shared)
-
--add_executable(backend_disconnect_recover test/backend_disconnect_recover.c)
--set_target_properties(backend_disconnect_recover PROPERTIES
-- LINKER_LANGUAGE C
-- COMPILE_FLAGS ${EXAMPLE_CFLAGS})
--target_link_libraries(backend_disconnect_recover libsoundio_shared)
-+ add_executable(backend_disconnect_recover test/backend_disconnect_recover.c)
-+ set_target_properties(backend_disconnect_recover PROPERTIES
-+ LINKER_LANGUAGE C
-+ COMPILE_FLAGS ${EXAMPLE_CFLAGS})
-+ target_link_libraries(backend_disconnect_recover libsoundio_shared)
-
--add_executable(overflow test/overflow.c)
--set_target_properties(overflow PROPERTIES
-- LINKER_LANGUAGE C
-- COMPILE_FLAGS ${EXAMPLE_CFLAGS})
--target_link_libraries(overflow libsoundio_shared)
-+ add_executable(overflow test/overflow.c)
-+ set_target_properties(overflow PROPERTIES
-+ LINKER_LANGUAGE C
-+ COMPILE_FLAGS ${EXAMPLE_CFLAGS})
-+ target_link_libraries(overflow libsoundio_shared)
-
-
-
--add_custom_target(coverage
-- DEPENDS unit_tests
-- WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
-- COMMAND lcov --directory . --zerocounters --rc lcov_branch_coverage=1
-- COMMAND ./unit_tests
-- COMMAND lcov --directory . --capture --output-file coverage.info --rc lcov_branch_coverage=1
-- COMMAND lcov --remove coverage.info '/usr/*' --output-file coverage.info.cleaned --rc lcov_branch_coverage=1
-- COMMAND genhtml -o coverage coverage.info.cleaned --rc lcov_branch_coverage=1
-- COMMAND rm coverage.info coverage.info.cleaned
--)
-+ add_custom_target(coverage
-+ DEPENDS unit_tests
-+ WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
-+ COMMAND lcov --directory . --zerocounters --rc lcov_branch_coverage=1
-+ COMMAND ./unit_tests
-+ COMMAND lcov --directory . --capture --output-file coverage.info --rc lcov_branch_coverage=1
-+ COMMAND lcov --remove coverage.info '/usr/*' --output-file coverage.info.cleaned --rc lcov_branch_coverage=1
-+ COMMAND genhtml -o coverage coverage.info.cleaned --rc lcov_branch_coverage=1
-+ COMMAND rm coverage.info coverage.info.cleaned
-+ )
-+endif()
-+
-
- add_custom_target(doc
- WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
-@@ -342,6 +352,8 @@ message("\n"
- "* Install Directory : ${CMAKE_INSTALL_PREFIX}\n"
- "* Build Type : ${CMAKE_BUILD_TYPE}\n"
- "* Build static libs : ${BUILD_STATIC_LIBS}\n"
-+ "* Build examples : ${BUILD_EXAMPLE_PROGRAMS}\n"
-+ "* Build tests : ${BUILD_TESTS}\n"
- )
-
- message(
diff --git a/media-libs/libsoundio/files/libsoundio-1.0.0_static-libs.patch b/media-libs/libsoundio/files/libsoundio-1.0.0_static-libs.patch
deleted file mode 100644
index 4b0875c5a62f..000000000000
--- a/media-libs/libsoundio/files/libsoundio-1.0.0_static-libs.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 0a20aec2a14dcfbcbc741d2002985073094634d8 Mon Sep 17 00:00:00 2001
-From: Diogo Pereira <sir.suriv@gmail.com>
-Date: Fri, 4 Sep 2015 17:21:54 +0100
-Subject: [PATCH] Make building static libs optional
-
----
- CMakeLists.txt | 18 +++++++++++-------
- 1 file changed, 11 insertions(+), 7 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 0e66834..c109af4 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -24,6 +24,7 @@ set(LIBSOUNDIO_VERSION_PATCH 0)
- set(LIBSOUNDIO_VERSION "${LIBSOUNDIO_VERSION_MAJOR}.${LIBSOUNDIO_VERSION_MINOR}.${LIBSOUNDIO_VERSION_PATCH}")
- message("Configuring libsoundio version ${LIBSOUNDIO_VERSION}")
-
-+option(BUILD_STATIC_LIBS "Build static libraries" ON)
- option(ENABLE_JACK "Enable JACK backend" ON)
- option(ENABLE_PULSEAUDIO "Enable PulseAudio backend" ON)
- option(ENABLE_ALSA "Enable ALSA backend" ON)
-@@ -237,13 +238,15 @@ target_link_libraries(libsoundio_shared LINK_PUBLIC ${LIBSOUNDIO_LIBS})
- install(TARGETS libsoundio_shared DESTINATION ${CMAKE_INSTALL_LIBDIR})
-
-
--add_library(libsoundio_static STATIC ${LIBSOUNDIO_SOURCES})
--set_target_properties(libsoundio_static PROPERTIES
-- OUTPUT_NAME soundio
-- COMPILE_FLAGS ${LIB_CFLAGS}
-- LINKER_LANGUAGE C
--)
--install(TARGETS libsoundio_static DESTINATION ${CMAKE_INSTALL_LIBDIR})
-+if(BUILD_STATIC_LIBS)
-+ add_library(libsoundio_static STATIC ${LIBSOUNDIO_SOURCES})
-+ set_target_properties(libsoundio_static PROPERTIES
-+ OUTPUT_NAME soundio
-+ COMPILE_FLAGS ${LIB_CFLAGS}
-+ LINKER_LANGUAGE C
-+ )
-+ install(TARGETS libsoundio_static DESTINATION ${CMAKE_INSTALL_LIBDIR})
-+endif()
-
- install(FILES
- ${LIBSOUNDIO_HEADERS}
-@@ -338,6 +341,7 @@ message("\n"
- "--------------------\n"
- "* Install Directory : ${CMAKE_INSTALL_PREFIX}\n"
- "* Build Type : ${CMAKE_BUILD_TYPE}\n"
-+ "* Build static libs : ${BUILD_STATIC_LIBS}\n"
- )
-
- message(
diff --git a/media-libs/libsoundio/libsoundio-1.0.0.ebuild b/media-libs/libsoundio/libsoundio-1.0.0.ebuild
deleted file mode 100644
index 040311337b54..000000000000
--- a/media-libs/libsoundio/libsoundio-1.0.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-multilib
-
-DESCRIPTION="C99 library providing cross-platform audio input and output."
-HOMEPAGE="http://libsound.io/"
-SRC_URI="http://libsound.io/release/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/1"
-KEYWORDS="~amd64"
-IUSE="alsa coreaudio examples pulseaudio static-libs"
-
-DEPEND="alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
- pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )"
-RDEPEND="${DEPEND}"
-
-# All of these patches have been merged upstream (#8, #16, #20)
-PATCHES=( "${FILESDIR}/${P}_clang.patch"
- "${FILESDIR}/${P}_static-libs.patch"
- "${FILESDIR}/${P}_examples_tests.patch" )
-
-# ENABLE_JACK does not support the current version of jack1
-# See https://github.com/andrewrk/libsoundio/issues/11
-multilib_src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_enable alsa ALSA)
- $(cmake-utils_use_enable coreaudio COREAUDIO)
- -DENABLE_JACK=OFF
- $(cmake-utils_use_enable pulseaudio PULSEAUDIO)
- -DENABLE_WASAPI=OFF
- $(cmake-utils_use static-libs BUILD_STATIC_LIBS)
- -DBUILD_EXAMPLE_PROGRAMS=$(multilib_native_usex examples "ON" "OFF")
- -DBUILD_TESTS=OFF
- )
- cmake-utils_src_configure
-}
diff --git a/media-libs/libsoundio/libsoundio-1.0.2.ebuild b/media-libs/libsoundio/libsoundio-1.0.2.ebuild
deleted file mode 100644
index 00674f8faad7..000000000000
--- a/media-libs/libsoundio/libsoundio-1.0.2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-multilib
-
-DESCRIPTION="C99 library providing cross-platform audio input and output"
-HOMEPAGE="http://libsound.io/"
-SRC_URI="http://libsound.io/release/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/1"
-KEYWORDS="~amd64"
-IUSE="alsa coreaudio examples pulseaudio static-libs"
-
-DEPEND="alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
- pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )"
-RDEPEND="${DEPEND}"
-
-# 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_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
-}
diff --git a/media-libs/libsoundio/libsoundio-1.1.0.ebuild b/media-libs/libsoundio/libsoundio-1.1.0.ebuild
deleted file mode 100644
index 5e0e5b0f93cc..000000000000
--- a/media-libs/libsoundio/libsoundio-1.1.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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"
-
-# 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" )
-
-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
-}