Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsa-utils/
Date: Tue, 02 Nov 2021 09:59:11
Message-Id: 1635847113.3ba638aae1589e0518be3bb87fd66e2cacc33f05.sam@gentoo
1 commit: 3ba638aae1589e0518be3bb87fd66e2cacc33f05
2 Author: Niklāvs Koļesņikovs <89q1r14hd <AT> relay <DOT> firefox <DOT> com>
3 AuthorDate: Mon Nov 1 19:43:17 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 2 09:58:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ba638aa
7
8 media-sound/alsa-utils: remove old and never unmasked version
9
10 Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd <AT> relay.firefox.com>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 media-sound/alsa-utils/Manifest | 1 -
14 media-sound/alsa-utils/alsa-utils-1.2.5-r1.ebuild | 79 -----------------------
15 2 files changed, 80 deletions(-)
16
17 diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest
18 index aefefa60b1e..18a001e78c5 100644
19 --- a/media-sound/alsa-utils/Manifest
20 +++ b/media-sound/alsa-utils/Manifest
21 @@ -1,3 +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.5.tar.bz2 1326676 BLAKE2B 52cbe978390e1b5600bf7422e67ece1d24a946d99acddbc059bf6eb3a0b8dfe37cc573167013296e923bf1597973eb55b2580eaf849e088822ba7b2afc14279f SHA512 0e319e553c9c209a46f5c83c50007bd82acf1c9cf78649978b3ab6fbb4349f51c1c7c6a975a8c24d25ba07ad5325e74d2c34dc5c89180998a0f63d1326fde8b1
25
26 diff --git a/media-sound/alsa-utils/alsa-utils-1.2.5-r1.ebuild b/media-sound/alsa-utils/alsa-utils-1.2.5-r1.ebuild
27 deleted file mode 100644
28 index 2c95a68cb14..00000000000
29 --- a/media-sound/alsa-utils/alsa-utils-1.2.5-r1.ebuild
30 +++ /dev/null
31 @@ -1,79 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -inherit systemd udev
37 -
38 -DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
39 -HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
40 -SRC_URI="https://www.alsa-project.org/files/pub/utils/${P}.tar.bz2"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0.9"
44 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
45 -IUSE="bat doc +libsamplerate +ncurses nls selinux"
46 -
47 -CDEPEND=">=media-libs/alsa-lib-${PV}
48 - libsamplerate? ( media-libs/libsamplerate )
49 - ncurses? ( >=sys-libs/ncurses-5.7-r7:0= )
50 - bat? ( sci-libs/fftw:= )"
51 -DEPEND="${CDEPEND}
52 - doc? ( app-text/xmlto )"
53 -RDEPEND="${CDEPEND}
54 - selinux? ( sec-policy/selinux-alsa )"
55 -BDEPEND="virtual/pkgconfig"
56 -
57 -PATCHES=(
58 - "${FILESDIR}"/${PN}-1.2.5-fix-the-nested-iteration.patch # bug #793410
59 - "${FILESDIR}"/${PN}-1.2.5-fix-potential-null-pointer-from-strchr.patch # bug #793410
60 - "${FILESDIR}"/${PN}-1.1.8-missing_header.patch
61 -)
62 -
63 -src_configure() {
64 - local myeconfargs=(
65 - # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214
66 - --disable-alsaconf
67 - --disable-maintainer-mode
68 - --with-asound-state-dir="${EPREFIX}"/var/lib/alsa
69 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
70 - --with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d
71 - $(use_enable bat)
72 - $(use_enable libsamplerate alsaloop)
73 - $(use_enable ncurses alsamixer)
74 - $(use_enable nls)
75 - $(usex doc '' --disable-xmlto)
76 - )
77 - econf "${myeconfargs[@]}"
78 -}
79 -
80 -src_install() {
81 - default
82 - dodoc seq/*/README.*
83 -
84 - newinitd "${FILESDIR}"/alsasound.initd-r8 alsasound
85 - newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound
86 -
87 - insinto /etc/modprobe.d
88 - newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf
89 -
90 - keepdir /var/lib/alsa
91 -
92 - # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not
93 - # scan directory /usr/share/alsa/ucm: No such file or directory
94 - # alsaucm: unable to obtain card list: No such file or directory
95 - keepdir /usr/share/alsa/ucm
96 -}
97 -
98 -pkg_postinst() {
99 - if [[ -z ${REPLACING_VERSIONS} ]]; then
100 - elog
101 - elog "To take advantage of the init script, and automate the process of"
102 - elog "saving and restoring sound-card mixer levels you should"
103 - elog "add alsasound to the boot runlevel. You can do this as"
104 - elog "root like so:"
105 - elog "# rc-update add alsasound boot"
106 - ewarn
107 - ewarn "The ALSA core should be built into the kernel or loaded through other"
108 - ewarn "means. There is no longer any modular auto(un)loading in alsa-utils."
109 - fi
110 -}