Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/rtaudio/
Date: Thu, 31 Aug 2017 18:36:07
Message-Id: 1504204554.094eb9f3a044315350d60183f7da1aef30169a20.radhermit@gentoo
1 commit: 094eb9f3a044315350d60183f7da1aef30169a20
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 31 18:34:19 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 31 18:35:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=094eb9f3
7
8 media-libs/rtaudio: version bump to 5.0.0
9
10 media-libs/rtaudio/Manifest | 1 +
11 media-libs/rtaudio/rtaudio-5.0.0.ebuild | 62 +++++++++++++++++++++++++++++++++
12 2 files changed, 63 insertions(+)
13
14 diff --git a/media-libs/rtaudio/Manifest b/media-libs/rtaudio/Manifest
15 index 15d08938e6a..4529931ba59 100644
16 --- a/media-libs/rtaudio/Manifest
17 +++ b/media-libs/rtaudio/Manifest
18 @@ -1,2 +1,3 @@
19 DIST rtaudio-4.0.12.tar.gz 330048 SHA256 5179056c796b9582e375d352efa0598e674b9719cf78a85a426517b375ff1cab SHA512 43068cafaf460425334588775bbeee115d1651142d8fa62808880296763952159bff297c482e6d58200cfb6d382205778405993dbbb3a769e4b1228ff0aee3b6 WHIRLPOOL 252fc02dbebdc1777314a97e4acc18ce615f78a82a12cdf6bcf2759867a3da6c755977dec832351c5b86aec7825d07882024179703c746e654a5f7bc2d32b9ce
20 DIST rtaudio-4.1.2.tar.gz 682382 SHA256 294d044da313a430c44d311175a4f51c15d56d87ecf72ad9c236f57772ecffb8 SHA512 1e7f7f0f4dc451d023a7c8ab287fe63034cf6b4e18fe138bab253c307d6dd0cddb669b031f6c21325aaac0ce53002acd2a17dd1e47bd8ac2cb14e058cfce1a21 WHIRLPOOL c1e76424c02c43b7328ea4eb7ff632477d2eace02c9d4b9b4ba029cce4f939263a2f4035288503f65efe9a7bf93ddc797e341d7a64d0864c49f19526125860d3
21 +DIST rtaudio-5.0.0.tar.gz 615284 SHA256 799deae1192da52cc2c15a078ed3b42449580be7d096fe9bc841c5bba0289c57 SHA512 390b6c454c42cf066fa94af397b784430dadc1650de320be377b7bbd09eda8705936bff3ee4327358815c3d5247a38fead81c8778cd85db30a12a6ace742c84a WHIRLPOOL da2f9da5d24d3d427695fc1be017063e437c71c5216bc140b839bf4201af2c3733b438daf5cedd14e9a01946b03d6a72e0551b4fe131e0844a1450bdd2109617
22
23 diff --git a/media-libs/rtaudio/rtaudio-5.0.0.ebuild b/media-libs/rtaudio/rtaudio-5.0.0.ebuild
24 new file mode 100644
25 index 00000000000..e518d5d6b8b
26 --- /dev/null
27 +++ b/media-libs/rtaudio/rtaudio-5.0.0.ebuild
28 @@ -0,0 +1,62 @@
29 +# Copyright 1999-2017 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=6
33 +
34 +inherit ltprune autotools
35 +
36 +DESCRIPTION="A set of cross-platform C++ classes for realtime audio I/O"
37 +HOMEPAGE="https://www.music.mcgill.ca/~gary/rtaudio/"
38 +SRC_URI="https://www.music.mcgill.ca/~gary/${PN}/release/${P}.tar.gz"
39 +
40 +LICENSE="MIT"
41 +SLOT="0/6"
42 +KEYWORDS="~amd64 ~x86"
43 +IUSE="+alsa doc jack pulseaudio static-libs"
44 +REQUIRED_USE="|| ( alsa jack pulseaudio )"
45 +
46 +RDEPEND="alsa? ( media-libs/alsa-lib )
47 + jack? (
48 + media-libs/alsa-lib
49 + media-sound/jack-audio-connection-kit
50 + )
51 + pulseaudio? ( media-sound/pulseaudio )"
52 +DEPEND="${RDEPEND}"
53 +
54 +PATCHES=(
55 + "${FILESDIR}"/${PN}-4.1.2-cflags.patch
56 +)
57 +
58 +src_prepare() {
59 + default
60 +
61 + # don't rebuild docs
62 + export ac_cv_prog_DOXYGEN=
63 +
64 + eautoreconf
65 +}
66 +
67 +src_configure() {
68 + # OSS support requires OSSv4
69 + local myconf=(
70 + $(use_enable static-libs static)
71 + $(use_with jack)
72 + $(use_with alsa)
73 + $(use_with pulseaudio pulse)
74 + --without-oss
75 + )
76 +
77 + econf "${myconf[@]}"
78 +}
79 +
80 +src_install() {
81 + emake DESTDIR="${D}" install
82 +
83 + dodoc readme doc/release.txt
84 + if use doc; then
85 + dodoc -r doc/html
86 + dodoc -r doc/images
87 + fi
88 +
89 + prune_libtool_files
90 +}