summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-08-31 14:34:19 -0400
committerTim Harder <radhermit@gentoo.org>2017-08-31 14:35:54 -0400
commit094eb9f3a044315350d60183f7da1aef30169a20 (patch)
tree3c93f13d31b0e5492e711f5a737f72d80609ce3e /media-libs/rtaudio
parentx11-wm/xpra: Version bump (bug 627888). (diff)
downloadgentoo-094eb9f3a044315350d60183f7da1aef30169a20.tar.gz
gentoo-094eb9f3a044315350d60183f7da1aef30169a20.tar.bz2
gentoo-094eb9f3a044315350d60183f7da1aef30169a20.zip
media-libs/rtaudio: version bump to 5.0.0
Diffstat (limited to 'media-libs/rtaudio')
-rw-r--r--media-libs/rtaudio/Manifest1
-rw-r--r--media-libs/rtaudio/rtaudio-5.0.0.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/media-libs/rtaudio/Manifest b/media-libs/rtaudio/Manifest
index 15d08938e6a2..4529931ba594 100644
--- a/media-libs/rtaudio/Manifest
+++ b/media-libs/rtaudio/Manifest
@@ -1,2 +1,3 @@
DIST rtaudio-4.0.12.tar.gz 330048 SHA256 5179056c796b9582e375d352efa0598e674b9719cf78a85a426517b375ff1cab SHA512 43068cafaf460425334588775bbeee115d1651142d8fa62808880296763952159bff297c482e6d58200cfb6d382205778405993dbbb3a769e4b1228ff0aee3b6 WHIRLPOOL 252fc02dbebdc1777314a97e4acc18ce615f78a82a12cdf6bcf2759867a3da6c755977dec832351c5b86aec7825d07882024179703c746e654a5f7bc2d32b9ce
DIST rtaudio-4.1.2.tar.gz 682382 SHA256 294d044da313a430c44d311175a4f51c15d56d87ecf72ad9c236f57772ecffb8 SHA512 1e7f7f0f4dc451d023a7c8ab287fe63034cf6b4e18fe138bab253c307d6dd0cddb669b031f6c21325aaac0ce53002acd2a17dd1e47bd8ac2cb14e058cfce1a21 WHIRLPOOL c1e76424c02c43b7328ea4eb7ff632477d2eace02c9d4b9b4ba029cce4f939263a2f4035288503f65efe9a7bf93ddc797e341d7a64d0864c49f19526125860d3
+DIST rtaudio-5.0.0.tar.gz 615284 SHA256 799deae1192da52cc2c15a078ed3b42449580be7d096fe9bc841c5bba0289c57 SHA512 390b6c454c42cf066fa94af397b784430dadc1650de320be377b7bbd09eda8705936bff3ee4327358815c3d5247a38fead81c8778cd85db30a12a6ace742c84a WHIRLPOOL da2f9da5d24d3d427695fc1be017063e437c71c5216bc140b839bf4201af2c3733b438daf5cedd14e9a01946b03d6a72e0551b4fe131e0844a1450bdd2109617
diff --git a/media-libs/rtaudio/rtaudio-5.0.0.ebuild b/media-libs/rtaudio/rtaudio-5.0.0.ebuild
new file mode 100644
index 000000000000..e518d5d6b8bb
--- /dev/null
+++ b/media-libs/rtaudio/rtaudio-5.0.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit ltprune autotools
+
+DESCRIPTION="A set of cross-platform C++ classes for realtime audio I/O"
+HOMEPAGE="https://www.music.mcgill.ca/~gary/rtaudio/"
+SRC_URI="https://www.music.mcgill.ca/~gary/${PN}/release/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/6"
+KEYWORDS="~amd64 ~x86"
+IUSE="+alsa doc jack pulseaudio static-libs"
+REQUIRED_USE="|| ( alsa jack pulseaudio )"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ jack? (
+ media-libs/alsa-lib
+ media-sound/jack-audio-connection-kit
+ )
+ pulseaudio? ( media-sound/pulseaudio )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.1.2-cflags.patch
+)
+
+src_prepare() {
+ default
+
+ # don't rebuild docs
+ export ac_cv_prog_DOXYGEN=
+
+ eautoreconf
+}
+
+src_configure() {
+ # OSS support requires OSSv4
+ local myconf=(
+ $(use_enable static-libs static)
+ $(use_with jack)
+ $(use_with alsa)
+ $(use_with pulseaudio pulse)
+ --without-oss
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dodoc readme doc/release.txt
+ if use doc; then
+ dodoc -r doc/html
+ dodoc -r doc/images
+ fi
+
+ prune_libtool_files
+}