Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/alsa-plugins/
Date: Tue, 02 Jun 2020 12:13:21
Message-Id: 1591099986.c4b20fae3fbd3d53983b44281b50c08a325aa5ab.asturm@gentoo
1 commit: c4b20fae3fbd3d53983b44281b50c08a325aa5ab
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 31 00:14:20 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 2 12:13:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4b20fae
7
8 media-plugins/alsa-plugins: Drop 1.2.1
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-plugins/alsa-plugins/Manifest | 1 -
14 .../alsa-plugins/alsa-plugins-1.2.1.ebuild | 100 ---------------------
15 2 files changed, 101 deletions(-)
16
17 diff --git a/media-plugins/alsa-plugins/Manifest b/media-plugins/alsa-plugins/Manifest
18 index 6aa6ffd910a..48bfb576b88 100644
19 --- a/media-plugins/alsa-plugins/Manifest
20 +++ b/media-plugins/alsa-plugins/Manifest
21 @@ -1,2 +1 @@
22 -DIST alsa-plugins-1.2.1.tar.bz2 406309 BLAKE2B 2ac26ad87fcdcc4452ec32b2b437d3be4308f13ce2a8e24150f319805b6d684edc6be9e51654f27c1a5bbc01a7caa9eb70250be405dc6921ecd93ee417f24cdf SHA512 a49ef9290b66855112e301a5fd5a0932f13a50254e164f3340f2b342a36469532ee783beabfe5e95870dbf4cd81ca1e8d0415d94c8c7ee963133fb3c343721de
23 DIST alsa-plugins-1.2.2.tar.bz2 406494 BLAKE2B 64148e3e6fcf651a2ac62b6b5f3cc915fe6718d35fea53da08f6f4b1a5ff06ba29e69b8cd2a95e3b9edf3880570b1d0b9267239f705043dab592c27fdd150ef3 SHA512 25a7dfaa64be024447d889b5cde668f1308d197f54880548a82d50beb4ac0dbff33b415da1e26dc5229408c934247a9bd38acfb0f82ca388deac0d77ab3cdadb
24
25 diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.2.1.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.2.1.ebuild
26 deleted file mode 100644
27 index 63868db995a..00000000000
28 --- a/media-plugins/alsa-plugins/alsa-plugins-1.2.1.ebuild
29 +++ /dev/null
30 @@ -1,100 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -inherit autotools flag-o-matic multilib multilib-minimal
36 -
37 -DESCRIPTION="ALSA extra plugins"
38 -HOMEPAGE="http://www.alsa-project.org/"
39 -SRC_URI="https://www.alsa-project.org/files/pub/plugins/${P}.tar.bz2"
40 -
41 -LICENSE="GPL-2 LGPL-2.1"
42 -SLOT="0"
43 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux"
44 -IUSE="arcam_av debug ffmpeg jack libsamplerate +mix oss pulseaudio speex +usb_stream"
45 -
46 -RDEPEND="
47 - >=media-libs/alsa-lib-${PV}:=[${MULTILIB_USEDEP}]
48 - ffmpeg? ( media-video/ffmpeg:0= )
49 - jack? ( virtual/jack[${MULTILIB_USEDEP}] )
50 - libsamplerate? ( >=media-libs/libsamplerate-0.1.8-r1:=[${MULTILIB_USEDEP}] )
51 - pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
52 - speex? (
53 - >=media-libs/speex-1.2.0:=[${MULTILIB_USEDEP}]
54 - media-libs/speexdsp[${MULTILIB_USEDEP}]
55 - )
56 -"
57 -DEPEND="${RDEPEND}"
58 -BDEPEND="virtual/pkgconfig"
59 -
60 -src_prepare() {
61 - default
62 -
63 - # For some reasons the polyp/pulse plugin does fail with alsaplayer with a
64 - # failed assert. As the code works just fine with asserts disabled, for now
65 - # disable them waiting for a better solution.
66 - sed \
67 - -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \
68 - -i pulse/Makefile.am || die
69 -
70 - eautoreconf
71 -}
72 -
73 -multilib_src_configure() {
74 - use debug || append-cppflags -DNDEBUG
75 -
76 - local myeconfargs=(
77 - # default does not contain $prefix: bug #673464
78 - --with-alsalconfdir="${EPREFIX}"/etc/alsa/conf.d
79 -
80 - --with-speex="$(usex speex lib no)"
81 - $(use_enable arcam_av arcamav)
82 - $(use_enable ffmpeg libav)
83 - $(use_enable jack)
84 - $(use_enable libsamplerate samplerate)
85 - $(use_enable mix)
86 - $(use_enable oss)
87 - $(use_enable pulseaudio)
88 - $(use_enable speex speexdsp)
89 - $(use_enable usb_stream usbstream)
90 - )
91 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
92 -}
93 -
94 -multilib_src_install_all() {
95 - einstalldocs
96 -
97 - cd doc || die
98 - dodoc upmix.txt vdownmix.txt README-pcm-oss
99 - use jack && dodoc README-jack
100 - use libsamplerate && dodoc samplerate.txt
101 - use ffmpeg && dodoc lavrate.txt a52.txt
102 -
103 - if use pulseaudio; then
104 - dodoc README-pulse
105 - # install ALSA configuration files
106 - # making PA to be used by alsa clients
107 - insinto /usr/share/alsa
108 - doins "${FILESDIR}"/pulse-default.conf
109 - insinto /usr/share/alsa/alsa.conf.d
110 - doins "${FILESDIR}"/51-pulseaudio-probe.conf
111 - # bug #410261, comment 5+
112 - # seems to work fine without any path
113 - sed \
114 - -e "s:/usr/lib/alsa-lib/::" \
115 - -i "${ED}"/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf || die #410261
116 - dosym ../../../usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf \
117 - /etc/alsa/conf.d/51-pulseaudio-probe.conf #670960
118 - fi
119 -
120 - find "${ED}" -type f \( -name '*.a' -o -name '*.la' \) -delete || die
121 -}
122 -
123 -pkg_postinst() {
124 - if use pulseaudio; then
125 - einfo "The PulseAudio device is now set as the default device if the"
126 - einfo "PulseAudio server is found to be running. Any custom"
127 - einfo "configuration in /etc/asound.conf or ~/.asoundrc for this"
128 - einfo "purpose should now be unnecessary."
129 - fi
130 -}