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-sound/alsa-utils/
Date: Tue, 02 Jun 2020 12:13:21
Message-Id: 1591099985.143f699123e0dce5f840e6bdd693eff66c6a9bb8.asturm@gentoo
1 commit: 143f699123e0dce5f840e6bdd693eff66c6a9bb8
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 31 00:13:16 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 2 12:13:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=143f6991
7
8 media-sound/alsa-utils: 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-sound/alsa-utils/Manifest | 1 -
14 media-sound/alsa-utils/alsa-utils-1.2.1.ebuild | 77 --------------------------
15 2 files changed, 78 deletions(-)
16
17 diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest
18 index 66b8513df62..8fe259cd379 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.1.tar.bz2 1270194 BLAKE2B e5cb4d6c94f09f1eb9044a7f34904bc662ac2eb9ae734f333cf22271b4add1de1032ac38cf064807146095edc2eae452c197b98b4dd63f0004e1705f8e322e4f SHA512 b7729659cd9809197dc30042f522f5103ff41ddc047f13f9c733c93f7e91a26f90cd864c70e654d12ef7a552b1d9ebe2727a24ec9fad03560cb7cdea906662ec
23 DIST alsa-utils-1.2.2.tar.bz2 1274821 BLAKE2B 79b6cd719dbf36ca65b186c6682c9617fb89cb76aa530e4f40850004170703990054b5e96f700c652b11781e0086490824ce2433e33b17c03655fea089f59ceb SHA512 30598c658f3f2ad71a5ce7911b09ae13add54b293bcf3bebb053371d84a91528bd64fd376f167456b2e27e2546a2279019678e099247513e5142b283af756fd9
24
25 diff --git a/media-sound/alsa-utils/alsa-utils-1.2.1.ebuild b/media-sound/alsa-utils/alsa-utils-1.2.1.ebuild
26 deleted file mode 100644
27 index 13b172c0891..00000000000
28 --- a/media-sound/alsa-utils/alsa-utils-1.2.1.ebuild
29 +++ /dev/null
30 @@ -1,77 +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 systemd udev
36 -
37 -DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
38 -HOMEPAGE="https://alsa-project.org/"
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 ~mips ppc ppc64 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 -}