Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/scream/
Date: Sun, 04 Jul 2021 20:32:21
Message-Id: 1625430721.760917faa46ea5b40249680cbfd4031760ff0414.soap@gentoo
1 commit: 760917faa46ea5b40249680cbfd4031760ff0414
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 4 20:32:01 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 4 20:32:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=760917fa
7
8 media-sound/scream: sync live ebuild
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 media-sound/scream/scream-9999.ebuild | 18 ++++++++++--------
13 1 file changed, 10 insertions(+), 8 deletions(-)
14
15 diff --git a/media-sound/scream/scream-9999.ebuild b/media-sound/scream/scream-9999.ebuild
16 index 1c3ead36e4d..019926a23b7 100644
17 --- a/media-sound/scream/scream-9999.ebuild
18 +++ b/media-sound/scream/scream-9999.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 2020 Gentoo Authors
21 +# Copyright 2020-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=7
25 @@ -7,8 +7,9 @@ inherit cmake
26
27 DESCRIPTION="Plays sound received from network or from a QEMU Windows VM"
28 HOMEPAGE="https://github.com/duncanthrax/scream"
29 +S="${WORKDIR}/${P}/Receivers/unix"
30
31 -if [[ ${PV} == *9999* ]]; then
32 +if [[ ${PV} == *9999 ]]; then
33 inherit git-r3
34 EGIT_REPO_URI="https://github.com/duncanthrax/scream.git"
35 else
36 @@ -16,24 +17,25 @@ else
37 KEYWORDS="~amd64"
38 fi
39
40 -S="${WORKDIR}/${P}/Receivers/unix"
41 -
42 LICENSE="Ms-PL"
43 SLOT="0"
44 -IUSE="alsa pulseaudio"
45 +IUSE="alsa jack pulseaudio"
46
47 RDEPEND="
48 alsa? ( media-libs/alsa-lib )
49 - pulseaudio? ( media-sound/pulseaudio )
50 -"
51 + jack? (
52 + media-libs/soxr
53 + virtual/jack
54 + )
55 + pulseaudio? ( media-sound/pulseaudio )"
56 DEPEND="${RDEPEND}"
57 BDEPEND="virtual/pkgconfig"
58
59 src_configure() {
60 local mycmakeargs=(
61 -DALSA_ENABLE=$(usex alsa)
62 + -DJACK_ENABLE=$(usex jack)
63 -DPULSEAUDIO_ENABLE=$(usex pulseaudio)
64 )
65 -
66 cmake_src_configure
67 }