1 |
commit: 3e2b16e0ca6ad0a80f2e971d6aa11a9eae281124 |
2 |
Author: Alexey Sokolov <sokolov <AT> google <DOT> com> |
3 |
AuthorDate: Sun Jul 4 20:31:58 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 4 20:31:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e2b16e0 |
7 |
|
8 |
media-sound/scream: add 3.7 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/21308 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
12 |
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> |
13 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
14 |
|
15 |
media-sound/scream/Manifest | 1 + |
16 |
media-sound/scream/scream-3.7.ebuild | 41 ++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 42 insertions(+) |
18 |
|
19 |
diff --git a/media-sound/scream/Manifest b/media-sound/scream/Manifest |
20 |
index d7e02efe74d..56f199b270f 100644 |
21 |
--- a/media-sound/scream/Manifest |
22 |
+++ b/media-sound/scream/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST scream-3.6.tar.gz 999237 BLAKE2B d199d9658958ac53d973c25421ee3a7f2c1ec9666c34596639942bcbfa5efb60e4aad033adc2fdbd810f676f412357283dc5fda6224752587498f7636ade1662 SHA512 4fd07a808d8f0ead3551061e96fe2f9b54ef6f34d1d615fb6454185fc6ffc67f71afb08a876550363cb3f8c15bbff461936808031e5aba5885626c92880e92ec |
25 |
+DIST scream-3.7.tar.gz 1021097 BLAKE2B b7918359d71852cc923bcfebd7f01b7ecec12146199b99d50840d02748410cbead6b385ebcbbced20d9d75771a4331220547276a65e86281bbe5072b8af9bbf7 SHA512 5801bed5fff40d17548edb689f37b277bdba7520ab1c0daa4fad79429ade6ad806f90e4197c753f2257bac84ff4f7cc1e2c1209102b60a5bc001b92d42b4ceda |
26 |
|
27 |
diff --git a/media-sound/scream/scream-3.7.ebuild b/media-sound/scream/scream-3.7.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..019926a23b7 |
30 |
--- /dev/null |
31 |
+++ b/media-sound/scream/scream-3.7.ebuild |
32 |
@@ -0,0 +1,41 @@ |
33 |
+# Copyright 2020-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit cmake |
39 |
+ |
40 |
+DESCRIPTION="Plays sound received from network or from a QEMU Windows VM" |
41 |
+HOMEPAGE="https://github.com/duncanthrax/scream" |
42 |
+S="${WORKDIR}/${P}/Receivers/unix" |
43 |
+ |
44 |
+if [[ ${PV} == *9999 ]]; then |
45 |
+ inherit git-r3 |
46 |
+ EGIT_REPO_URI="https://github.com/duncanthrax/scream.git" |
47 |
+else |
48 |
+ SRC_URI="https://github.com/duncanthrax/scream/archive/${PV}.tar.gz -> ${P}.tar.gz" |
49 |
+ KEYWORDS="~amd64" |
50 |
+fi |
51 |
+ |
52 |
+LICENSE="Ms-PL" |
53 |
+SLOT="0" |
54 |
+IUSE="alsa jack pulseaudio" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ alsa? ( media-libs/alsa-lib ) |
58 |
+ jack? ( |
59 |
+ media-libs/soxr |
60 |
+ virtual/jack |
61 |
+ ) |
62 |
+ pulseaudio? ( media-sound/pulseaudio )" |
63 |
+DEPEND="${RDEPEND}" |
64 |
+BDEPEND="virtual/pkgconfig" |
65 |
+ |
66 |
+src_configure() { |
67 |
+ local mycmakeargs=( |
68 |
+ -DALSA_ENABLE=$(usex alsa) |
69 |
+ -DJACK_ENABLE=$(usex jack) |
70 |
+ -DPULSEAUDIO_ENABLE=$(usex pulseaudio) |
71 |
+ ) |
72 |
+ cmake_src_configure |
73 |
+} |