1 |
commit: 7ca96fdd8332bb48c50382fceea0955ad0aa1499 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 1 07:11:24 2022 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 1 07:21:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ca96fdd |
7 |
|
8 |
media-sound/alsa-utils: Bump to version 1.2.7 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
media-sound/alsa-utils/Manifest | 1 + |
13 |
media-sound/alsa-utils/alsa-utils-1.2.7.ebuild | 83 ++++++++++++++++++++++++++ |
14 |
2 files changed, 84 insertions(+) |
15 |
|
16 |
diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest |
17 |
index d47eefde5388..35d4c14ad691 100644 |
18 |
--- a/media-sound/alsa-utils/Manifest |
19 |
+++ b/media-sound/alsa-utils/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST alsa-utils-1.2.4.tar.bz2 1286259 BLAKE2B 41eb0b8186c1956c19d8f8b28863ab54c66ff531b9ec5c48cc6c5ed8ca249d135614112ce412d6adb6f21982235e06a4148591777cce00d17ea537aacbd664ad SHA512 13080abda55269513b3751044dac292d695e273073a62d74ed4a32c68f448a2b015fe16604650821a6398b6ef6a7b6008cb9f0b7fb7f4ee1fa2b4eb2dcf29770 |
22 |
DIST alsa-utils-1.2.5.1.tar.bz2 1326965 BLAKE2B 79f96fd3ba1d92e72dc634dc01439acd3ccd02555c39cc1714c52bbd1e4bc8b68ec7bf5d219a704533e4a61587c3528504ef9cd7c652924d74daafa90f74e42a SHA512 bbafeb9189ec5802965c4e69cf6e7cd4c132ffb77b57f164d6585649890f96edd052c72697171fd629b39e12f78648fea634468df34c1a80255227ca397907bf |
23 |
DIST alsa-utils-1.2.6.tar.bz2 1334063 BLAKE2B 3b81cccc836e0de9f6d98f311dc3a316a02179ec1fc7520da9658192f27e7701c6dc41b04a82639d6269d6943afd8a89cb6477406cbc36ac450e57919cff46f2 SHA512 6842f0f4c2f7cc5ac3ba94736ee259d9988b5d3e0d2b522f858d712e16938d2845fa9ef64f4aa60222b8ef6738e053f9113a5ea24a197f2c0d6c4dbd70030f5e |
24 |
+DIST alsa-utils-1.2.7.tar.bz2 1562595 BLAKE2B dd8821c510a98d76e2986d59c01516013f01c632fb6311e6ffd2b10eabbdd68312537d977b1bf2ab48e0f181751ecf58ec1c1da3f8d4f7ee84d8f2623893a091 SHA512 1be8f617315193e6033653ac96a14bd1c3272cd9d8f3776cdb1357f35f5353652acd5975cfc5bd16278cd496f5bf409bb60432818a526282edad9a4c718a97c9 |
25 |
|
26 |
diff --git a/media-sound/alsa-utils/alsa-utils-1.2.7.ebuild b/media-sound/alsa-utils/alsa-utils-1.2.7.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..46afae5d3434 |
29 |
--- /dev/null |
30 |
+++ b/media-sound/alsa-utils/alsa-utils-1.2.7.ebuild |
31 |
@@ -0,0 +1,83 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
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 ~loong ~mips ~ppc ~ppc64 ~riscv ~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.1.8-missing_header.patch |
59 |
+) |
60 |
+ |
61 |
+src_configure() { |
62 |
+ local myeconfargs=( |
63 |
+ # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214 |
64 |
+ --disable-alsaconf |
65 |
+ --disable-maintainer-mode |
66 |
+ --with-asound-state-dir="${EPREFIX}"/var/lib/alsa |
67 |
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
68 |
+ --with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d |
69 |
+ $(use_enable bat) |
70 |
+ $(use_enable libsamplerate alsaloop) |
71 |
+ $(use_enable ncurses alsamixer) |
72 |
+ $(use_enable nls) |
73 |
+ $(usex doc '' --disable-xmlto) |
74 |
+ ) |
75 |
+ econf "${myeconfargs[@]}" |
76 |
+} |
77 |
+ |
78 |
+src_install() { |
79 |
+ default |
80 |
+ dodoc seq/*/README.* |
81 |
+ |
82 |
+ newinitd "${FILESDIR}"/alsasound.initd-r8 alsasound |
83 |
+ newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound |
84 |
+ |
85 |
+ insinto /etc/modprobe.d |
86 |
+ newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf |
87 |
+ |
88 |
+ keepdir /var/lib/alsa |
89 |
+ |
90 |
+ # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not |
91 |
+ # scan directory /usr/share/alsa/ucm: No such file or directory |
92 |
+ # alsaucm: unable to obtain card list: No such file or directory |
93 |
+ keepdir /usr/share/alsa/ucm |
94 |
+} |
95 |
+ |
96 |
+pkg_postinst() { |
97 |
+ udev_reload |
98 |
+ |
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 |
+} |
111 |
+ |
112 |
+pkg_postrm() { |
113 |
+ udev_reload |
114 |
+} |