1 |
commit: 91fcfc65788e40eb7b7cde7fafb98def676fdda4 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 22 10:36:30 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 22 10:51:17 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91fcfc65 |
7 |
|
8 |
media-sound/alsa-utils: Bump to version 1.1.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
media-sound/alsa-utils/Manifest | 1 + |
13 |
media-sound/alsa-utils/alsa-utils-1.1.3.ebuild | 74 ++++++++++++++++++++++++++ |
14 |
2 files changed, 75 insertions(+) |
15 |
|
16 |
diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest |
17 |
index 9dfa505..a184307 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.0.29.tar.bz2 1154497 SHA256 5160058f3e14483ced5de919dd473f93932059454530a9b7ef97dcabd6833e9b SHA512 0d83805aa7b1c975524cc5ecd4aa6eb36126bc434458f9e9475e4bd1b14bbb4bf9691096ca7973342a3798e97a361451c078f4595f8f4275db64d6b443ca5928 WHIRLPOOL ccad5115148045e0c5f139d70306e801e250aa3946f60d9cd0a47c84c72f6d8689e53105030589309c98ddd4a7b871bb8dc03f00fcc3d46cc3e08c4718299407 |
22 |
DIST alsa-utils-1.1.1.tar.bz2 1186408 SHA256 89757c9abaf420831b088fce354d492acc170bd02bb50eb7392c175f594b8041 SHA512 3af1e43cb2eab7e5119d83036ab6f4eeb106b66b4a57122cc8df243b6dbda90d39a0290a2af3a904b4929e2d90e8fcded9eda2a38bae1fd8e371a6d7a043376e WHIRLPOOL ea7daaf4055469dd5cb128abbe9a986e2b99b27c59d964041a92e82667e520adadb1e87d38bfa83d5b8ffbc382d7d9401c9d4887ca19546e4d1f34ba1cf7d705 |
23 |
DIST alsa-utils-1.1.2.tar.bz2 1193140 SHA256 7af603c0877d1251599d65b4fbc372e63a54371b888f5c26c6a86ac1d0519071 SHA512 38dc3331e8410123085738e74ca34c860666027ee2f6aaa21f48e726c84d8e6264043c8c7111ce2b1e158a0f38142a04d72a128ee54e00173dc4e4ba514d2f14 WHIRLPOOL 353d636271fd4354e7a7b986c08a3eabdb91bb8239b3d14a2163dea095dee010cd777276901c11df58a4fcba24680770512df4784e446a63941224f9ee79f632 |
24 |
+DIST alsa-utils-1.1.3.tar.bz2 1201424 SHA256 127217a54eea0f9a49700a2f239a2d4f5384aa094d68df04a8eb80132eb6167c SHA512 a0a00578e7f7ed8441628757048412813a0345f0a3f2e085cda7a881ae3c6e22f7cf1e5119f8200e2e4340e42152b91aa5bdc20646b8422adc74ba00e4c59363 WHIRLPOOL 10f1f8f5b7a659dc7ba79c934076eafbbd72f4892b571660a6224fc1061b4e893e2f5a937187a4eb50f2e982c07e097c965a88052451218adcde2e5cd3bfb6f9 |
25 |
|
26 |
diff --git a/media-sound/alsa-utils/alsa-utils-1.1.3.ebuild b/media-sound/alsa-utils/alsa-utils-1.1.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000..9bd9df9 |
29 |
--- /dev/null |
30 |
+++ b/media-sound/alsa-utils/alsa-utils-1.1.3.ebuild |
31 |
@@ -0,0 +1,74 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=6 |
37 |
+inherit eutils systemd udev |
38 |
+ |
39 |
+DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" |
40 |
+HOMEPAGE="http://www.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 |
+ virtual/pkgconfig |
54 |
+ doc? ( app-text/xmlto )" |
55 |
+RDEPEND="${CDEPEND} |
56 |
+ selinux? ( sec-policy/selinux-alsa )" |
57 |
+ |
58 |
+src_configure() { |
59 |
+ local myconf |
60 |
+ use doc || myconf='--disable-xmlto' |
61 |
+ |
62 |
+ # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214 |
63 |
+ econf \ |
64 |
+ --disable-maintainer-mode \ |
65 |
+ $(use_enable bat) \ |
66 |
+ $(use_enable libsamplerate alsaloop) \ |
67 |
+ $(use_enable nls) \ |
68 |
+ $(use_enable ncurses alsamixer) \ |
69 |
+ --disable-alsaconf \ |
70 |
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
71 |
+ --with-udev-rules-dir="$(get_udevdir)"/rules.d \ |
72 |
+ ${myconf} |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ default |
77 |
+ dodoc seq/*/README.* |
78 |
+ |
79 |
+ newinitd "${FILESDIR}"/alsasound.initd-r6 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 |
+} |