From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1299128-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 446AD13933E
	for <garchives@archives.gentoo.org>; Sun,  4 Jul 2021 20:32:23 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DE66DE0837;
	Sun,  4 Jul 2021 20:32:20 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id A1A17E0826
	for <gentoo-commits@lists.gentoo.org>; Sun,  4 Jul 2021 20:32:20 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A32FA342B0C
	for <gentoo-commits@lists.gentoo.org>; Sun,  4 Jul 2021 20:32:19 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D7D4B7C1
	for <gentoo-commits@lists.gentoo.org>; Sun,  4 Jul 2021 20:32:17 +0000 (UTC)
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" <soap@gentoo.org>
Message-ID: <1625430718.3e2b16e0ca6ad0a80f2e971d6aa11a9eae281124.soap@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/scream/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-sound/scream/Manifest media-sound/scream/scream-3.7.ebuild
X-VCS-Directories: media-sound/scream/
X-VCS-Committer: soap
X-VCS-Committer-Name: David Seifert
X-VCS-Revision: 3e2b16e0ca6ad0a80f2e971d6aa11a9eae281124
X-VCS-Branch: master
Date: Sun,  4 Jul 2021 20:32:17 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 6243e635-c9d6-4ce3-8383-e680b86d8965
X-Archives-Hash: 370034026b412dad823f591c16253b59

commit:     3e2b16e0ca6ad0a80f2e971d6aa11a9eae281124
Author:     Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Sun Jul  4 20:31:58 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul  4 20:31:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e2b16e0

media-sound/scream: add 3.7

Closes: https://github.com/gentoo/gentoo/pull/21308
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-sound/scream/Manifest          |  1 +
 media-sound/scream/scream-3.7.ebuild | 41 ++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/media-sound/scream/Manifest b/media-sound/scream/Manifest
index d7e02efe74d..56f199b270f 100644
--- a/media-sound/scream/Manifest
+++ b/media-sound/scream/Manifest
@@ -1 +1,2 @@
 DIST scream-3.6.tar.gz 999237 BLAKE2B d199d9658958ac53d973c25421ee3a7f2c1ec9666c34596639942bcbfa5efb60e4aad033adc2fdbd810f676f412357283dc5fda6224752587498f7636ade1662 SHA512 4fd07a808d8f0ead3551061e96fe2f9b54ef6f34d1d615fb6454185fc6ffc67f71afb08a876550363cb3f8c15bbff461936808031e5aba5885626c92880e92ec
+DIST scream-3.7.tar.gz 1021097 BLAKE2B b7918359d71852cc923bcfebd7f01b7ecec12146199b99d50840d02748410cbead6b385ebcbbced20d9d75771a4331220547276a65e86281bbe5072b8af9bbf7 SHA512 5801bed5fff40d17548edb689f37b277bdba7520ab1c0daa4fad79429ade6ad806f90e4197c753f2257bac84ff4f7cc1e2c1209102b60a5bc001b92d42b4ceda

diff --git a/media-sound/scream/scream-3.7.ebuild b/media-sound/scream/scream-3.7.ebuild
new file mode 100644
index 00000000000..019926a23b7
--- /dev/null
+++ b/media-sound/scream/scream-3.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/duncanthrax/scream.git"
+else
+	SRC_URI="https://github.com/duncanthrax/scream/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="Ms-PL"
+SLOT="0"
+IUSE="alsa jack pulseaudio"
+
+RDEPEND="
+	alsa? ( media-libs/alsa-lib )
+	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
+}