1 |
commit: 9431df036fc9381b6206451af9150b64255028eb |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 17 08:52:05 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 17 09:22:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9431df03 |
7 |
|
8 |
media-sound/alsa-utils: Bump to version 1.1.7 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
media-sound/alsa-utils/Manifest | 1 + |
14 |
media-sound/alsa-utils/alsa-utils-1.1.7.ebuild | 73 ++++++++++++++++++++++++++ |
15 |
2 files changed, 74 insertions(+) |
16 |
|
17 |
diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest |
18 |
index e84a5eb18b9..dd40c40b209 100644 |
19 |
--- a/media-sound/alsa-utils/Manifest |
20 |
+++ b/media-sound/alsa-utils/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST alsa-utils-1.1.2.tar.bz2 1193140 BLAKE2B 8c9d3baae1530a399299379963e68c50d2 |
22 |
DIST alsa-utils-1.1.4.tar.bz2 1202047 BLAKE2B 5da3c543ef6056b99ed56975211a0a788e0672160f21b7579e4f9d6d192b655d81a1350f096ff35547f89c7353532523c592d44cf3d5a740cd2189cb9626144d SHA512 96852b3f5b57d7d9078a20881f28311543d446b69c80450179823a225089df7306456991890a7ef37672c1f55e9c386a7731c94e125504dcda2c88a674c8b4c7 |
23 |
DIST alsa-utils-1.1.5.tar.bz2 1202691 BLAKE2B 2a30079775d7d0abb8e2036f2e2569b392920bd5f60ec5361b9b69d3f1cc1d277225318c7e0c477c6d9608a3c45430cd1e2030069e4cdf1f960a7631985f9eab SHA512 102e9ed34b89219dbad243ad5f61ca65fb8101502566c02f40d4e69abb45baa7a60f24440de1417e0f0e7f55b28db53d365d53a59af11f1ca816e2aa5907153d |
24 |
DIST alsa-utils-1.1.6.tar.bz2 1203722 BLAKE2B e098ecbc5835c8ecd311a4df1ab51a709200b0d3666437f7f059d3842f07e1200a934b951e8e2c8ecedbe0aef4e2c766d875df577662eb21ce989807941ab6b7 SHA512 24d0ffaeeccecb3276d7d35ef51e6de6026a63fa5a1a1e4605b024f54d8097717e97ec9d33cfe50830ad17e4a89268ca24b065039b0df7f9fbe02b570617aa58 |
25 |
+DIST alsa-utils-1.1.7.tar.bz2 1205754 BLAKE2B 419fa61fe85750ed26ab2b1dfe87adc7898f8c95dfe082993c0d5ee7755c4cb6563000555f44267608a2138d033e7011e7c67d98b714fdf1884cc03a8fd50ed3 SHA512 5da9b03e219d67634307bd5bb06b76734db5286221bec11658ce9c4dfca8ed639a4155ed90450f1d6c8db322960bb023ced0873e276500ce24f14fab17ceeb65 |
26 |
|
27 |
diff --git a/media-sound/alsa-utils/alsa-utils-1.1.7.ebuild b/media-sound/alsa-utils/alsa-utils-1.1.7.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..80b674c2678 |
30 |
--- /dev/null |
31 |
+++ b/media-sound/alsa-utils/alsa-utils-1.1.7.ebuild |
32 |
@@ -0,0 +1,73 @@ |
33 |
+# Copyright 1999-2018 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/" |
41 |
+SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0.9" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~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 |
+src_configure() { |
59 |
+ local myeconfargs=( |
60 |
+ # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214 |
61 |
+ --disable-alsaconf |
62 |
+ --disable-maintainer-mode |
63 |
+ --with-asound-state-dir="${EPREFIX}"/var/lib/alsa |
64 |
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
65 |
+ --with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d |
66 |
+ $(use_enable bat) |
67 |
+ $(use_enable libsamplerate alsaloop) |
68 |
+ $(use_enable ncurses alsamixer) |
69 |
+ $(use_enable nls) |
70 |
+ $(usex doc '' --disable-xmlto) |
71 |
+ ) |
72 |
+ econf "${myeconfargs[@]}" |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ default |
77 |
+ dodoc seq/*/README.* |
78 |
+ |
79 |
+ newinitd "${FILESDIR}"/alsasound.initd-r7 alsasound |
80 |
+ newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound |
81 |
+ |
82 |
+ insinto /etc/modprobe.d |
83 |
+ newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf |
84 |
+ |
85 |
+ keepdir /var/lib/alsa |
86 |
+ |
87 |
+ # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not |
88 |
+ # scan directory /usr/share/alsa/ucm: No such file or directory |
89 |
+ # alsaucm: unable to obtain card list: No such file or directory |
90 |
+ keepdir /usr/share/alsa/ucm |
91 |
+} |
92 |
+ |
93 |
+pkg_postinst() { |
94 |
+ if [[ -z ${REPLACING_VERSIONS} ]]; then |
95 |
+ elog |
96 |
+ elog "To take advantage of the init script, and automate the process of" |
97 |
+ elog "saving and restoring sound-card mixer levels you should" |
98 |
+ elog "add alsasound to the boot runlevel. You can do this as" |
99 |
+ elog "root like so:" |
100 |
+ elog "# rc-update add alsasound boot" |
101 |
+ ewarn |
102 |
+ ewarn "The ALSA core should be built into the kernel or loaded through other" |
103 |
+ ewarn "means. There is no longer any modular auto(un)loading in alsa-utils." |
104 |
+ fi |
105 |
+} |