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-sound/alsa-utils/
Date: Wed, 01 Jun 2022 07:21:11
Message-Id: 1654068061.48ec739c69ac261c5e2fe010ce981089af3799fd.polynomial-c@gentoo
1 commit: 48ec739c69ac261c5e2fe010ce981089af3799fd
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 1 07:15:27 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=48ec739c
7
8 media-sound/alsa-utils: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 media-sound/alsa-utils/Manifest | 2 -
13 media-sound/alsa-utils/alsa-utils-1.2.4.ebuild | 77 ------------------------
14 media-sound/alsa-utils/alsa-utils-1.2.5.1.ebuild | 77 ------------------------
15 3 files changed, 156 deletions(-)
16
17 diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest
18 index 35d4c14ad691..39571a16c4a5 100644
19 --- a/media-sound/alsa-utils/Manifest
20 +++ b/media-sound/alsa-utils/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST alsa-utils-1.2.4.tar.bz2 1286259 BLAKE2B 41eb0b8186c1956c19d8f8b28863ab54c66ff531b9ec5c48cc6c5ed8ca249d135614112ce412d6adb6f21982235e06a4148591777cce00d17ea537aacbd664ad SHA512 13080abda55269513b3751044dac292d695e273073a62d74ed4a32c68f448a2b015fe16604650821a6398b6ef6a7b6008cb9f0b7fb7f4ee1fa2b4eb2dcf29770
23 -DIST alsa-utils-1.2.5.1.tar.bz2 1326965 BLAKE2B 79f96fd3ba1d92e72dc634dc01439acd3ccd02555c39cc1714c52bbd1e4bc8b68ec7bf5d219a704533e4a61587c3528504ef9cd7c652924d74daafa90f74e42a SHA512 bbafeb9189ec5802965c4e69cf6e7cd4c132ffb77b57f164d6585649890f96edd052c72697171fd629b39e12f78648fea634468df34c1a80255227ca397907bf
24 DIST alsa-utils-1.2.6.tar.bz2 1334063 BLAKE2B 3b81cccc836e0de9f6d98f311dc3a316a02179ec1fc7520da9658192f27e7701c6dc41b04a82639d6269d6943afd8a89cb6477406cbc36ac450e57919cff46f2 SHA512 6842f0f4c2f7cc5ac3ba94736ee259d9988b5d3e0d2b522f858d712e16938d2845fa9ef64f4aa60222b8ef6738e053f9113a5ea24a197f2c0d6c4dbd70030f5e
25 DIST alsa-utils-1.2.7.tar.bz2 1562595 BLAKE2B dd8821c510a98d76e2986d59c01516013f01c632fb6311e6ffd2b10eabbdd68312537d977b1bf2ab48e0f181751ecf58ec1c1da3f8d4f7ee84d8f2623893a091 SHA512 1be8f617315193e6033653ac96a14bd1c3272cd9d8f3776cdb1357f35f5353652acd5975cfc5bd16278cd496f5bf409bb60432818a526282edad9a4c718a97c9
26
27 diff --git a/media-sound/alsa-utils/alsa-utils-1.2.4.ebuild b/media-sound/alsa-utils/alsa-utils-1.2.4.ebuild
28 deleted file mode 100644
29 index 777934934c41..000000000000
30 --- a/media-sound/alsa-utils/alsa-utils-1.2.4.ebuild
31 +++ /dev/null
32 @@ -1,77 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -inherit systemd udev
38 -
39 -DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
40 -HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
41 -SRC_URI="https://www.alsa-project.org/files/pub/utils/${P}.tar.bz2"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0.9"
45 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
46 -IUSE="bat doc +libsamplerate +ncurses nls selinux"
47 -
48 -CDEPEND=">=media-libs/alsa-lib-${PV}
49 - libsamplerate? ( media-libs/libsamplerate )
50 - ncurses? ( >=sys-libs/ncurses-5.7-r7:0= )
51 - bat? ( sci-libs/fftw:= )"
52 -DEPEND="${CDEPEND}
53 - doc? ( app-text/xmlto )"
54 -RDEPEND="${CDEPEND}
55 - selinux? ( sec-policy/selinux-alsa )"
56 -BDEPEND="virtual/pkgconfig"
57 -
58 -PATCHES=(
59 - "${FILESDIR}"/${PN}-1.1.8-missing_header.patch
60 -)
61 -
62 -src_configure() {
63 - local myeconfargs=(
64 - # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214
65 - --disable-alsaconf
66 - --disable-maintainer-mode
67 - --with-asound-state-dir="${EPREFIX}"/var/lib/alsa
68 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
69 - --with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d
70 - $(use_enable bat)
71 - $(use_enable libsamplerate alsaloop)
72 - $(use_enable ncurses alsamixer)
73 - $(use_enable nls)
74 - $(usex doc '' --disable-xmlto)
75 - )
76 - econf "${myeconfargs[@]}"
77 -}
78 -
79 -src_install() {
80 - default
81 - dodoc seq/*/README.*
82 -
83 - newinitd "${FILESDIR}"/alsasound.initd-r8 alsasound
84 - newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound
85 -
86 - insinto /etc/modprobe.d
87 - newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf
88 -
89 - keepdir /var/lib/alsa
90 -
91 - # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not
92 - # scan directory /usr/share/alsa/ucm: No such file or directory
93 - # alsaucm: unable to obtain card list: No such file or directory
94 - keepdir /usr/share/alsa/ucm
95 -}
96 -
97 -pkg_postinst() {
98 - if [[ -z ${REPLACING_VERSIONS} ]]; then
99 - elog
100 - elog "To take advantage of the init script, and automate the process of"
101 - elog "saving and restoring sound-card mixer levels you should"
102 - elog "add alsasound to the boot runlevel. You can do this as"
103 - elog "root like so:"
104 - elog "# rc-update add alsasound boot"
105 - ewarn
106 - ewarn "The ALSA core should be built into the kernel or loaded through other"
107 - ewarn "means. There is no longer any modular auto(un)loading in alsa-utils."
108 - fi
109 -}
110
111 diff --git a/media-sound/alsa-utils/alsa-utils-1.2.5.1.ebuild b/media-sound/alsa-utils/alsa-utils-1.2.5.1.ebuild
112 deleted file mode 100644
113 index 19b3f1451fbe..000000000000
114 --- a/media-sound/alsa-utils/alsa-utils-1.2.5.1.ebuild
115 +++ /dev/null
116 @@ -1,77 +0,0 @@
117 -# Copyright 1999-2021 Gentoo Authors
118 -# Distributed under the terms of the GNU General Public License v2
119 -
120 -EAPI=7
121 -inherit systemd udev
122 -
123 -DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
124 -HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
125 -SRC_URI="https://www.alsa-project.org/files/pub/utils/${P}.tar.bz2"
126 -
127 -LICENSE="GPL-2"
128 -SLOT="0.9"
129 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
130 -IUSE="bat doc +libsamplerate +ncurses nls selinux"
131 -
132 -CDEPEND=">=media-libs/alsa-lib-${PV}
133 - libsamplerate? ( media-libs/libsamplerate )
134 - ncurses? ( >=sys-libs/ncurses-5.7-r7:0= )
135 - bat? ( sci-libs/fftw:= )"
136 -DEPEND="${CDEPEND}
137 - doc? ( app-text/xmlto )"
138 -RDEPEND="${CDEPEND}
139 - selinux? ( sec-policy/selinux-alsa )"
140 -BDEPEND="virtual/pkgconfig"
141 -
142 -PATCHES=(
143 - "${FILESDIR}"/${PN}-1.1.8-missing_header.patch
144 -)
145 -
146 -src_configure() {
147 - local myeconfargs=(
148 - # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214
149 - --disable-alsaconf
150 - --disable-maintainer-mode
151 - --with-asound-state-dir="${EPREFIX}"/var/lib/alsa
152 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
153 - --with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d
154 - $(use_enable bat)
155 - $(use_enable libsamplerate alsaloop)
156 - $(use_enable ncurses alsamixer)
157 - $(use_enable nls)
158 - $(usex doc '' --disable-xmlto)
159 - )
160 - econf "${myeconfargs[@]}"
161 -}
162 -
163 -src_install() {
164 - default
165 - dodoc seq/*/README.*
166 -
167 - newinitd "${FILESDIR}"/alsasound.initd-r8 alsasound
168 - newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound
169 -
170 - insinto /etc/modprobe.d
171 - newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf
172 -
173 - keepdir /var/lib/alsa
174 -
175 - # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not
176 - # scan directory /usr/share/alsa/ucm: No such file or directory
177 - # alsaucm: unable to obtain card list: No such file or directory
178 - keepdir /usr/share/alsa/ucm
179 -}
180 -
181 -pkg_postinst() {
182 - if [[ -z ${REPLACING_VERSIONS} ]]; then
183 - elog
184 - elog "To take advantage of the init script, and automate the process of"
185 - elog "saving and restoring sound-card mixer levels you should"
186 - elog "add alsasound to the boot runlevel. You can do this as"
187 - elog "root like so:"
188 - elog "# rc-update add alsasound boot"
189 - ewarn
190 - ewarn "The ALSA core should be built into the kernel or loaded through other"
191 - ewarn "means. There is no longer any modular auto(un)loading in alsa-utils."
192 - fi
193 -}