Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/alsa-utils: ChangeLog alsa-utils-1.0.27.1.ebuild
Date: Mon, 27 May 2013 13:59:39
Message-Id: 20130527135936.298D821710@flycatcher.gentoo.org
1 ssuominen 13/05/27 13:59:36
2
3 Modified: ChangeLog
4 Added: alsa-utils-1.0.27.1.ebuild
5 Log:
6 Version bump; /lib/udev/rules.d/90-alsa-restore.rules has been removed in favour of the alsasound init script for reliable behavior with separate /var partition.
7
8 (Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.350 media-sound/alsa-utils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.350&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.350&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/ChangeLog?r1=1.349&r2=1.350
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v
20 retrieving revision 1.349
21 retrieving revision 1.350
22 diff -u -r1.349 -r1.350
23 --- ChangeLog 2 May 2013 00:15:14 -0000 1.349
24 +++ ChangeLog 27 May 2013 13:59:35 -0000 1.350
25 @@ -1,6 +1,14 @@
26 # ChangeLog for media-sound/alsa-utils
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.349 2013/05/02 00:15:14 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.350 2013/05/27 13:59:35 ssuominen Exp $
30 +
31 +*alsa-utils-1.0.27.1 (27 May 2013)
32 +
33 + 27 May 2013; Samuli Suominen <ssuominen@g.o>
34 + +alsa-utils-1.0.27.1.ebuild:
35 + Version bump; /lib/udev/rules.d/90-alsa-restore.rules has been removed in
36 + favour of the alsasound init script for reliable behavior with separate /var
37 + partition.
38
39 02 May 2013; Samuli Suominen <ssuominen@g.o>
40 alsa-utils-1.0.27-r1.ebuild:
41
42
43
44 1.1 media-sound/alsa-utils/alsa-utils-1.0.27.1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.27.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.27.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: alsa-utils-1.0.27.1.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.27.1.ebuild,v 1.1 2013/05/27 13:59:35 ssuominen Exp $
54
55 EAPI=5
56 inherit eutils systemd udev
57
58 DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
59 HOMEPAGE="http://www.alsa-project.org/"
60 SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2
61 mirror://alsaproject/driver/alsa-driver-1.0.25.tar.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="0.9"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
66 IUSE="doc +libsamplerate +ncurses nls selinux"
67
68 RDEPEND=">=media-libs/alsa-lib-1.0.27-r2
69 libsamplerate? ( media-libs/libsamplerate )
70 ncurses? ( >=sys-libs/ncurses-5.7-r7 )
71 selinux? ( sec-policy/selinux-alsa )"
72 DEPEND="${RDEPEND}
73 virtual/pkgconfig
74 doc? ( app-text/xmlto )"
75
76 src_prepare() {
77 epatch_user
78 }
79
80 src_configure() {
81 local myconf
82 use doc || myconf='--disable-xmlto'
83
84 # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214
85 econf \
86 --disable-maintainer-mode \
87 $(use_enable libsamplerate alsaloop) \
88 $(use_enable nls) \
89 $(use_enable ncurses alsamixer) \
90 --disable-alsaconf \
91 "$(systemd_with_unitdir)" \
92 --with-udev-rules-dir="$(get_udevdir)"/rules.d \
93 ${myconf}
94 }
95
96 src_install() {
97 emake DESTDIR="${D}" install
98 dodoc ChangeLog README TODO seq/*/README.*
99
100 newbin "${WORKDIR}"/alsa-driver-*/utils/alsa-info.sh alsa-info
101
102 newinitd "${FILESDIR}"/alsasound.initd-r5 alsasound
103 newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound
104
105 insinto /etc/modprobe.d
106 newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf
107
108 keepdir /var/lib/alsa
109
110 # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not
111 # scan directory /usr/share/alsa/ucm: No such file or directory
112 # alsaucm: unable to obtain card list: No such file or directory
113 keepdir /usr/share/alsa/ucm
114 }
115
116 pkg_postinst() {
117 if [[ -z ${REPLACING_VERSIONS} ]]; then
118 elog
119 elog "To take advantage of the init script, and automate the process of"
120 elog "saving and restoring sound-card mixer levels you should"
121 elog "add alsasound to the boot runlevel. You can do this as"
122 elog "root like so:"
123 elog "# rc-update add alsasound boot"
124 ewarn
125 ewarn "The ALSA core should be built into the kernel or loaded through other"
126 ewarn "means. There is no longer any modular auto(un)loading in alsa-utils."
127 fi
128 }