Gentoo Archives: gentoo-commits

From: "Steve Dibb (beandog)" <beandog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/alsa-utils: ChangeLog alsa-utils-1.0.20-r2.ebuild
Date: Fri, 31 Jul 2009 21:49:45
Message-Id: E1MWzyt-0005fa-6i@stork.gentoo.org
1 beandog 09/07/31 21:49:39
2
3 Modified: ChangeLog
4 Added: alsa-utils-1.0.20-r2.ebuild
5 Log:
6 Remove UNLOAD_ON_STOP and KILLPROC_ON_STOP options
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.269 media-sound/alsa-utils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.269&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.269&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?r1=1.268&r2=1.269
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v
19 retrieving revision 1.268
20 retrieving revision 1.269
21 diff -u -r1.268 -r1.269
22 --- ChangeLog 2 Jul 2009 19:18:42 -0000 1.268
23 +++ ChangeLog 31 Jul 2009 21:49:39 -0000 1.269
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-sound/alsa-utils
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.268 2009/07/02 19:18:42 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.269 2009/07/31 21:49:39 beandog Exp $
29 +
30 +*alsa-utils-1.0.20-r2 (31 Jul 2009)
31 +
32 + 31 Jul 2009; Steve Dibb <beandog@g.o> +alsa-utils-1.0.20-r2.ebuild,
33 + +files/alsasound.confd-r3, +files/alsasound.initd-r3:
34 + Remove UNLOAD_ON_STOP and KILLPROC_ON_STOP options
35
36 02 Jul 2009; Markus Meier <maekke@g.o> alsa-utils-1.0.19-r2.ebuild:
37 amd64 stable, bug #272682
38
39
40
41 1.1 media-sound/alsa-utils/alsa-utils-1.0.20-r2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.20-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.20-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: alsa-utils-1.0.20-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.20-r2.ebuild,v 1.1 2009/07/31 21:49:39 beandog Exp $
51
52 inherit eutils
53
54 MY_P="${P/_rc/rc}"
55
56 DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
57 HOMEPAGE="http://www.alsa-project.org/"
58 SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0.9"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
63 IUSE="doc nls minimal"
64
65 DEPEND=">=sys-libs/ncurses-5.1
66 dev-util/dialog
67 >=media-libs/alsa-lib-${PV}
68 doc? ( app-text/xmlto )"
69 RDEPEND=">=sys-libs/ncurses-5.1
70 dev-util/dialog
71 >=media-libs/alsa-lib-${PV}
72 virtual/modutils
73 !minimal? ( sys-apps/pciutils )"
74
75 S="${WORKDIR}/${MY_P}"
76
77 src_compile() {
78
79 local myconf=""
80 use doc || myconf="--disable-xmlto"
81
82 econf ${myconf} \
83 $(use_enable nls) \
84 || die "configure failed"
85
86 emake || die "make failed"
87 }
88
89 pkg_preinst() {
90 if [[ -a /etc/modules.d/alsa ]] && [[ ! -a /etc/modprobe.d/alsa ]]; then
91 elog "Moving old alsa configuration in modules.d to new"
92 elog "location in modprobe.d in /etc/"
93 mv "${ROOT}/etc/modules.d/alsa" "${ROOT}/etc/modprobe.d/alsa"
94 fi
95 }
96
97 src_install() {
98 local ALSA_UTILS_DOCS="ChangeLog README TODO
99 seq/aconnect/README.aconnect
100 seq/aseqnet/README.aseqnet"
101
102 emake DESTDIR="${D}" install || die "Installation Failed"
103
104 dodoc ${ALSA_UTILS_DOCS} || die
105 newdoc alsamixer/README README.alsamixer || die
106
107 newinitd "${FILESDIR}/alsasound.initd-r3" alsasound
108 newconfd "${FILESDIR}/alsasound.confd-r3" alsasound
109 insinto /etc/modprobe.d
110 newins "${FILESDIR}/alsa-modules.conf-rc" alsa.conf
111
112 keepdir /var/lib/alsa
113 }
114
115 pkg_postinst() {
116 echo
117 elog "To take advantage of the init script, and automate the process of"
118 elog "saving and restoring sound-card mixer levels you should"
119 elog "add alsasound to the boot runlevel. You can do this as"
120 elog "root like so:"
121 elog " # rc-update add alsasound boot"
122 echo
123 elog "The script will load ALSA modules, if you choose to use a modular"
124 elog "configuration. The Gentoo ALSA developers recommend you to build"
125 elog "your audio drivers into the kernel unless the device is hotpluggable"
126 elog "or you need to supply specific options (such as model= to HD Audio)."
127 echo
128 ewarn "Automated unloading of ALSA modules is deprecated and unsupported."
129 ewarn "Should you choose to use it, bug reports will not be accepted."
130 echo
131 if use minimal; then
132 ewarn "The minimal use flag disables the dependency on pciutils that"
133 ewarn "is needed by alsaconf at runtime."
134 fi
135 }