Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/alsa-plugins/
Date: Wed, 01 Jun 2022 07:21:12
Message-Id: 1654068061.d214aed71454e68fef761387f30114f7fa30e213.polynomial-c@gentoo
1 commit: d214aed71454e68fef761387f30114f7fa30e213
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 1 07:15:57 2022 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 1 07:21:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d214aed7
7
8 media-plugins/alsa-plugins: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 media-plugins/alsa-plugins/Manifest | 2 -
13 .../alsa-plugins/alsa-plugins-1.2.2.ebuild | 95 ----------------------
14 .../alsa-plugins/alsa-plugins-1.2.5.ebuild | 95 ----------------------
15 3 files changed, 192 deletions(-)
16
17 diff --git a/media-plugins/alsa-plugins/Manifest b/media-plugins/alsa-plugins/Manifest
18 index 5512d43b9060..66c48830c5ef 100644
19 --- a/media-plugins/alsa-plugins/Manifest
20 +++ b/media-plugins/alsa-plugins/Manifest
21 @@ -1,3 +1 @@
22 -DIST alsa-plugins-1.2.2.tar.bz2 406494 BLAKE2B 64148e3e6fcf651a2ac62b6b5f3cc915fe6718d35fea53da08f6f4b1a5ff06ba29e69b8cd2a95e3b9edf3880570b1d0b9267239f705043dab592c27fdd150ef3 SHA512 25a7dfaa64be024447d889b5cde668f1308d197f54880548a82d50beb4ac0dbff33b415da1e26dc5229408c934247a9bd38acfb0f82ca388deac0d77ab3cdadb
23 -DIST alsa-plugins-1.2.5.tar.bz2 406134 BLAKE2B a1bb2f187c92a2999722e22775baf2c1fc4240162bb71f454c60359ef61b46934ff8ecd5af97589bafe2c7f737530cf5a4dcc139af7ed001d8dfe24bf3ae045c SHA512 32aa475ec4af040861c2bfb01eac71042242d2109d3c5102d0111f3327e3f6c9031c32cbb50eb4b6568a6bd9408691a047a39972f09d6087e31ec11f19ddc9cf
24 DIST alsa-plugins-1.2.6.tar.bz2 408596 BLAKE2B bead0b9514725560a4fb738c4b1e14b148bf888cc82e0d7611cb6c494ed97a7e366b57f233095372c26a7bd614655bd58a6505202910de421561b540c94d5cca SHA512 ac54a6f227f1ca5f6e01e08d869e7c06f4bcd68f148932e1902a6fcf3e5ccd3667ac4d8c1a00b77e4b5cb27e17c01cf7526ded4aaf35c4b26fc69e14e6e341f9
25
26 diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.2.2.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.2.2.ebuild
27 deleted file mode 100644
28 index b6e088bd7f06..000000000000
29 --- a/media-plugins/alsa-plugins/alsa-plugins-1.2.2.ebuild
30 +++ /dev/null
31 @@ -1,95 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -inherit autotools flag-o-matic multilib multilib-minimal
37 -
38 -DESCRIPTION="ALSA extra plugins"
39 -HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
40 -SRC_URI="https://www.alsa-project.org/files/pub/plugins/${P}.tar.bz2"
41 -
42 -LICENSE="GPL-2 LGPL-2.1"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux"
45 -IUSE="arcam_av debug ffmpeg jack libsamplerate +mix oss pulseaudio speex +usb_stream"
46 -
47 -RDEPEND="
48 - >=media-libs/alsa-lib-${PV}:=[${MULTILIB_USEDEP}]
49 - ffmpeg? ( media-video/ffmpeg:0=[${MULTILIB_USEDEP}] )
50 - jack? ( virtual/jack[${MULTILIB_USEDEP}] )
51 - libsamplerate? ( >=media-libs/libsamplerate-0.1.8-r1:=[${MULTILIB_USEDEP}] )
52 - pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
53 - speex? (
54 - >=media-libs/speex-1.2.0:=[${MULTILIB_USEDEP}]
55 - media-libs/speexdsp[${MULTILIB_USEDEP}]
56 - )
57 -"
58 -DEPEND="${RDEPEND}"
59 -BDEPEND="virtual/pkgconfig"
60 -
61 -src_prepare() {
62 - default
63 -
64 - # For some reasons the polyp/pulse plugin does fail with alsaplayer with a
65 - # failed assert. As the code works just fine with asserts disabled, for now
66 - # disable them waiting for a better solution.
67 - sed \
68 - -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \
69 - -i pulse/Makefile.am || die
70 -
71 - eautoreconf
72 -}
73 -
74 -multilib_src_configure() {
75 - use debug || append-cppflags -DNDEBUG
76 -
77 - local myeconfargs=(
78 - # default does not contain $prefix: bug #673464
79 - --with-alsalconfdir="${EPREFIX}"/etc/alsa/conf.d
80 -
81 - --with-speex="$(usex speex lib no)"
82 - $(use_enable arcam_av arcamav)
83 - $(use_enable ffmpeg libav)
84 - $(use_enable jack)
85 - $(use_enable libsamplerate samplerate)
86 - $(use_enable mix)
87 - $(use_enable oss)
88 - $(use_enable pulseaudio)
89 - $(use_enable speex speexdsp)
90 - $(use_enable usb_stream usbstream)
91 - )
92 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
93 -}
94 -
95 -multilib_src_install_all() {
96 - einstalldocs
97 -
98 - cd doc || die
99 - dodoc upmix.txt vdownmix.txt README-pcm-oss
100 - use jack && dodoc README-jack
101 - use libsamplerate && dodoc samplerate.txt
102 - use ffmpeg && dodoc lavrate.txt a52.txt
103 -
104 - if use pulseaudio; then
105 - dodoc README-pulse
106 - # install ALSA configuration files
107 - # making PA to be used by alsa clients
108 - insinto /usr/share/alsa
109 - doins "${FILESDIR}"/pulse-default.conf
110 - insinto /usr/share/alsa/alsa.conf.d
111 - doins "${FILESDIR}"/51-pulseaudio-probe.conf
112 - dosym ../../../usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf \
113 - /etc/alsa/conf.d/51-pulseaudio-probe.conf #670960
114 - fi
115 -
116 - find "${ED}" -type f \( -name '*.a' -o -name '*.la' \) -delete || die
117 -}
118 -
119 -pkg_postinst() {
120 - if use pulseaudio; then
121 - einfo "The PulseAudio device is now set as the default device if the"
122 - einfo "PulseAudio server is found to be running. Any custom"
123 - einfo "configuration in /etc/asound.conf or ~/.asoundrc for this"
124 - einfo "purpose should now be unnecessary."
125 - fi
126 -}
127
128 diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.2.5.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.2.5.ebuild
129 deleted file mode 100644
130 index 3b7332e08747..000000000000
131 --- a/media-plugins/alsa-plugins/alsa-plugins-1.2.5.ebuild
132 +++ /dev/null
133 @@ -1,95 +0,0 @@
134 -# Copyright 1999-2022 Gentoo Authors
135 -# Distributed under the terms of the GNU General Public License v2
136 -
137 -EAPI=7
138 -inherit autotools flag-o-matic multilib multilib-minimal
139 -
140 -DESCRIPTION="ALSA extra plugins"
141 -HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
142 -SRC_URI="https://www.alsa-project.org/files/pub/plugins/${P}.tar.bz2"
143 -
144 -LICENSE="GPL-2 LGPL-2.1"
145 -SLOT="0"
146 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux"
147 -IUSE="arcam_av debug ffmpeg jack libsamplerate +mix oss pulseaudio speex +usb_stream"
148 -
149 -RDEPEND="
150 - >=media-libs/alsa-lib-${PV}:=[${MULTILIB_USEDEP}]
151 - ffmpeg? ( media-video/ffmpeg:0=[${MULTILIB_USEDEP}] )
152 - jack? ( virtual/jack[${MULTILIB_USEDEP}] )
153 - libsamplerate? ( >=media-libs/libsamplerate-0.1.8-r1:=[${MULTILIB_USEDEP}] )
154 - pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
155 - speex? (
156 - >=media-libs/speex-1.2.0:=[${MULTILIB_USEDEP}]
157 - media-libs/speexdsp[${MULTILIB_USEDEP}]
158 - )
159 -"
160 -DEPEND="${RDEPEND}"
161 -BDEPEND="virtual/pkgconfig"
162 -
163 -src_prepare() {
164 - default
165 -
166 - # For some reasons the polyp/pulse plugin does fail with alsaplayer with a
167 - # failed assert. As the code works just fine with asserts disabled, for now
168 - # disable them waiting for a better solution.
169 - sed \
170 - -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \
171 - -i pulse/Makefile.am || die
172 -
173 - eautoreconf
174 -}
175 -
176 -multilib_src_configure() {
177 - use debug || append-cppflags -DNDEBUG
178 -
179 - local myeconfargs=(
180 - # default does not contain $prefix: bug #673464
181 - --with-alsalconfdir="${EPREFIX}"/etc/alsa/conf.d
182 -
183 - --with-speex="$(usex speex lib no)"
184 - $(use_enable arcam_av arcamav)
185 - $(use_enable ffmpeg libav)
186 - $(use_enable jack)
187 - $(use_enable libsamplerate samplerate)
188 - $(use_enable mix)
189 - $(use_enable oss)
190 - $(use_enable pulseaudio)
191 - $(use_enable speex speexdsp)
192 - $(use_enable usb_stream usbstream)
193 - )
194 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
195 -}
196 -
197 -multilib_src_install_all() {
198 - einstalldocs
199 -
200 - cd doc || die
201 - dodoc upmix.txt vdownmix.txt README-pcm-oss
202 - use jack && dodoc README-jack
203 - use libsamplerate && dodoc samplerate.txt
204 - use ffmpeg && dodoc lavrate.txt a52.txt
205 -
206 - if use pulseaudio; then
207 - dodoc README-pulse
208 - # install ALSA configuration files
209 - # making PA to be used by alsa clients
210 - insinto /usr/share/alsa
211 - doins "${FILESDIR}"/pulse-default.conf
212 - insinto /usr/share/alsa/alsa.conf.d
213 - doins "${FILESDIR}"/51-pulseaudio-probe.conf
214 - dosym ../../../usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf \
215 - /etc/alsa/conf.d/51-pulseaudio-probe.conf #670960
216 - fi
217 -
218 - find "${ED}" -type f \( -name '*.a' -o -name '*.la' \) -delete || die
219 -}
220 -
221 -pkg_postinst() {
222 - if use pulseaudio; then
223 - einfo "The PulseAudio device is now set as the default device if the"
224 - einfo "PulseAudio server is found to be running. Any custom"
225 - einfo "configuration in /etc/asound.conf or ~/.asoundrc for this"
226 - einfo "purpose should now be unnecessary."
227 - fi
228 -}