commit:     760917faa46ea5b40249680cbfd4031760ff0414
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  4 20:32:01 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul  4 20:32:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=760917fa

media-sound/scream: sync live ebuild

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-sound/scream/scream-9999.ebuild | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/media-sound/scream/scream-9999.ebuild 
b/media-sound/scream/scream-9999.ebuild
index 1c3ead36e4d..019926a23b7 100644
--- a/media-sound/scream/scream-9999.ebuild
+++ b/media-sound/scream/scream-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,8 +7,9 @@ inherit cmake
 
 DESCRIPTION="Plays sound received from network or from a QEMU Windows VM"
 HOMEPAGE="https://github.com/duncanthrax/scream";
+S="${WORKDIR}/${P}/Receivers/unix"
 
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == *9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/duncanthrax/scream.git";
 else
@@ -16,24 +17,25 @@ else
        KEYWORDS="~amd64"
 fi
 
-S="${WORKDIR}/${P}/Receivers/unix"
-
 LICENSE="Ms-PL"
 SLOT="0"
-IUSE="alsa pulseaudio"
+IUSE="alsa jack pulseaudio"
 
 RDEPEND="
        alsa? ( media-libs/alsa-lib )
-       pulseaudio? ( media-sound/pulseaudio )
-"
+       jack? (
+               media-libs/soxr
+               virtual/jack
+       )
+       pulseaudio? ( media-sound/pulseaudio )"
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
 src_configure() {
        local mycmakeargs=(
                -DALSA_ENABLE=$(usex alsa)
+               -DJACK_ENABLE=$(usex jack)
                -DPULSEAUDIO_ENABLE=$(usex pulseaudio)
        )
-
        cmake_src_configure
 }

Reply via email to