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