Gentoo Archives: gentoo-commits

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