Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/scream/
Date: Sun, 24 May 2020 19:03:48
Message-Id: 1590329160.e42a801a0c7d7fa43a3c05e8d7a78c7641348752.andrewammerlaan@gentoo
1 commit: e42a801a0c7d7fa43a3c05e8d7a78c7641348752
2 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
3 AuthorDate: Sun May 24 14:06:00 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sun May 24 14:06:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e42a801a
7
8 media-sound/scream: new package
9
10 Bug: https://bugs.gentoo.org/718800
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
13
14 media-sound/scream/Manifest | 1 +
15 media-sound/scream/metadata.xml | 11 ++++++++++
16 media-sound/scream/scream-3.5.ebuild | 41 +++++++++++++++++++++++++++++++++++
17 media-sound/scream/scream-9999.ebuild | 41 +++++++++++++++++++++++++++++++++++
18 4 files changed, 94 insertions(+)
19
20 diff --git a/media-sound/scream/Manifest b/media-sound/scream/Manifest
21 new file mode 100644
22 index 0000000..e2f3b4d
23 --- /dev/null
24 +++ b/media-sound/scream/Manifest
25 @@ -0,0 +1 @@
26 +DIST scream-3.5.tar.gz 995382 BLAKE2B 96e5d0d0fe49a215ec78cb02be45fab700af90dd6ccce2e5f44f39aa3544046cf5b650ed0efadd7173ca01c382fc38f644bd237c4447695df024f03da6c1beb7 SHA512 39c61521160cc7d42a7934df42928b0198b85606fd5feb2c28a3ccb80714243398041aaa7dfef71d037570ecd30d8c790271589716643a87bda96478c14690d0
27
28 diff --git a/media-sound/scream/metadata.xml b/media-sound/scream/metadata.xml
29 new file mode 100644
30 index 0000000..368ae35
31 --- /dev/null
32 +++ b/media-sound/scream/metadata.xml
33 @@ -0,0 +1,11 @@
34 +<?xml version="1.0" encoding="UTF-8"?>
35 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
36 +<pkgmetadata>
37 + <maintainer type="person">
38 + <email>alexey+gentoo@××××××××.org</email>
39 + <name>Alexey Sokolov</name>
40 + </maintainer>
41 + <upstream>
42 + <remote-id type="github">duncanthrax/scream</remote-id>
43 + </upstream>
44 +</pkgmetadata>
45
46 diff --git a/media-sound/scream/scream-3.5.ebuild b/media-sound/scream/scream-3.5.ebuild
47 new file mode 100644
48 index 0000000..e246e9d
49 --- /dev/null
50 +++ b/media-sound/scream/scream-3.5.ebuild
51 @@ -0,0 +1,41 @@
52 +# Copyright 2020 Gentoo Authors
53 +# Distributed under the terms of the GNU General Public License v2
54 +
55 +EAPI=7
56 +
57 +inherit cmake
58 +
59 +DESCRIPTION="Plays sound received from network or from a QEMU Windows VM"
60 +HOMEPAGE="https://github.com/duncanthrax/scream"
61 +
62 +if [[ ${PV} == *9999* ]]; then
63 + inherit git-r3
64 + EGIT_REPO_URI=${EGIT_REPO_URI:-"https://github.com/duncanthrax/scream.git"}
65 +else
66 + SRC_URI="https://github.com/duncanthrax/scream/archive/${PV}.tar.gz -> ${P}.tar.gz"
67 + KEYWORDS="~amd64 ~x86"
68 +fi
69 +
70 +S="${S}/Receivers/unix"
71 +
72 +LICENSE="Ms-PL"
73 +SLOT="0"
74 +IUSE="alsa pulseaudio"
75 +
76 +BDEPEND="
77 + virtual/pkgconfig
78 +"
79 +DEPEND="
80 + alsa? ( media-libs/alsa-lib )
81 + pulseaudio? ( media-sound/pulseaudio )
82 +"
83 +RDEPEND="${DEPEND}"
84 +
85 +src_configure() {
86 + local mycmakeargs=(
87 + -DALSA_ENABLE=$(usex alsa)
88 + -DPULSEAUDIO_ENABLE=$(usex pulseaudio)
89 + )
90 +
91 + cmake_src_configure
92 +}
93
94 diff --git a/media-sound/scream/scream-9999.ebuild b/media-sound/scream/scream-9999.ebuild
95 new file mode 100644
96 index 0000000..e246e9d
97 --- /dev/null
98 +++ b/media-sound/scream/scream-9999.ebuild
99 @@ -0,0 +1,41 @@
100 +# Copyright 2020 Gentoo Authors
101 +# Distributed under the terms of the GNU General Public License v2
102 +
103 +EAPI=7
104 +
105 +inherit cmake
106 +
107 +DESCRIPTION="Plays sound received from network or from a QEMU Windows VM"
108 +HOMEPAGE="https://github.com/duncanthrax/scream"
109 +
110 +if [[ ${PV} == *9999* ]]; then
111 + inherit git-r3
112 + EGIT_REPO_URI=${EGIT_REPO_URI:-"https://github.com/duncanthrax/scream.git"}
113 +else
114 + SRC_URI="https://github.com/duncanthrax/scream/archive/${PV}.tar.gz -> ${P}.tar.gz"
115 + KEYWORDS="~amd64 ~x86"
116 +fi
117 +
118 +S="${S}/Receivers/unix"
119 +
120 +LICENSE="Ms-PL"
121 +SLOT="0"
122 +IUSE="alsa pulseaudio"
123 +
124 +BDEPEND="
125 + virtual/pkgconfig
126 +"
127 +DEPEND="
128 + alsa? ( media-libs/alsa-lib )
129 + pulseaudio? ( media-sound/pulseaudio )
130 +"
131 +RDEPEND="${DEPEND}"
132 +
133 +src_configure() {
134 + local mycmakeargs=(
135 + -DALSA_ENABLE=$(usex alsa)
136 + -DPULSEAUDIO_ENABLE=$(usex pulseaudio)
137 + )
138 +
139 + cmake_src_configure
140 +}