summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiogo Pereira <sir.suriv@gmail.com>2019-03-30 20:50:33 +0000
committerMichał Górny <mgorny@gentoo.org>2019-04-20 08:24:20 +0200
commite96cb12a23f6bb71e33745dc3347e59ad2c3849c (patch)
tree2f01584e04616e389487a826a04dde3cb56d0646 /media-libs
parentdev-python/acme: new package, dependency for acmebot (diff)
downloadgentoo-e96cb12a23f6bb71e33745dc3347e59ad2c3849c.tar.gz
gentoo-e96cb12a23f6bb71e33745dc3347e59ad2c3849c.tar.bz2
gentoo-e96cb12a23f6bb71e33745dc3347e59ad2c3849c.zip
media-libs/libsoundio: version bump to 2.0.0
Closes: https://bugs.gentoo.org/681478 Reported-by: Jan Henke <gentoo@taujhe.de> Signed-off-by: Diogo Pereira <sir.suriv@gmail.com> Package-Manager: Portage-2.3.62, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/11554 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libsoundio/Manifest1
-rw-r--r--media-libs/libsoundio/libsoundio-2.0.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/media-libs/libsoundio/Manifest b/media-libs/libsoundio/Manifest
index 4a44b2910051..dfe8285ee198 100644
--- a/media-libs/libsoundio/Manifest
+++ b/media-libs/libsoundio/Manifest
@@ -1 +1,2 @@
DIST libsoundio-1.1.0.tar.gz 118672 BLAKE2B bafebad3a45cabca18cd1f73c4d8c2a404cacd5c1f23f333678300b4300eb1724faffd60caec7c35925f42c019d4a9bc51685892efb30cd259c2d3f84dae5d59 SHA512 3de35fa83395faea5e6f4478cd82d49615e470b09847fb076647664238e232ff3d4597ca7a07ce06012ae084f11e5d3903b42d8f4afe64c27b1a4b92d2081b5f
+DIST libsoundio-2.0.0.tar.gz 120387 BLAKE2B d4005667767633cf90fbf524cdf102c69e04e4e37cad55b4f9b1af7fb3f89f7b1a6ff47569c86bf5d86649fd34d9d080b8ed74d6da07c4155abadb3cad0797f0 SHA512 347a9be1789a41e778ea8d0efa1d00e03e725a4ab65e3aaf6c71e49138643f08a50a81bd60087d86a3b4d63beaeec617e47ba6b81f829ece8a3ac17418eb5309
diff --git a/media-libs/libsoundio/libsoundio-2.0.0.ebuild b/media-libs/libsoundio/libsoundio-2.0.0.ebuild
new file mode 100644
index 000000000000..33ece577af32
--- /dev/null
+++ b/media-libs/libsoundio/libsoundio-2.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-multilib
+
+DESCRIPTION="C library for cross-platform real-time audio input and output"
+HOMEPAGE="http://libsound.io/"
+SRC_URI="https://github.com/andrewrk/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/2"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa coreaudio examples jack pulseaudio static-libs"
+
+DEPEND="alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+ jack? ( virtual/jack[${MULTILIB_USEDEP}] )
+ pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}"
+
+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
+}