Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/alsa-utils: ChangeLog alsa-utils-1.0.21.ebuild
Date: Mon, 31 Aug 2009 10:36:53
Message-Id: E1Mi94h-0002KB-JH@stork.gentoo.org
1 chainsaw 09/08/31 15:45:43
2
3 Modified: ChangeLog
4 Added: alsa-utils-1.0.21.ebuild
5 Log:
6 Version bump, removes several deprecated functions. Besides that, mostly bug fixes and new drivers.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.280 media-sound/alsa-utils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.280&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.280&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?r1=1.279&r2=1.280
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v
19 retrieving revision 1.279
20 retrieving revision 1.280
21 diff -u -r1.279 -r1.280
22 --- ChangeLog 28 Aug 2009 19:08:36 -0000 1.279
23 +++ ChangeLog 31 Aug 2009 15:45:43 -0000 1.280
24 @@ -1,6 +1,14 @@
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.279 2009/08/28 19:08:36 klausman Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.280 2009/08/31 15:45:43 chainsaw Exp $
29 +
30 +*alsa-utils-1.0.21 (31 Aug 2009)
31 +
32 + 31 Aug 2009; <chainsaw@g.o> +alsa-utils-1.0.21.ebuild,
33 + +files/alsa-utils-1.0.21-init_default.patch,
34 + +files/alsa-utils-1.0.21-modprobe.d.patch:
35 + Version bump, removes several deprecated functions. Besides that, mostly
36 + bug fixes and new drivers.
37
38 28 Aug 2009; Tobias Klausmann <klausman@g.o>
39 alsa-utils-1.0.20-r5.ebuild:
40
41
42
43 1.1 media-sound/alsa-utils/alsa-utils-1.0.21.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.21.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.21.ebuild?rev=1.1&content-type=text/plain
47
48 Index: alsa-utils-1.0.21.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.21.ebuild,v 1.1 2009/08/31 15:45:43 chainsaw Exp $
53
54 EAPI=2
55 inherit eutils
56
57 MY_P=${P/_rc/rc}
58
59 DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
60 HOMEPAGE="http://www.alsa-project.org/"
61 SRC_URI="mirror://alsaproject/utils/${MY_P}.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 nls minimal"
67
68 DEPEND=">=sys-libs/ncurses-5.1
69 dev-util/dialog
70 >=media-libs/alsa-lib-${PV}
71 doc? ( app-text/xmlto )"
72 RDEPEND=">=sys-libs/ncurses-5.1
73 dev-util/dialog
74 >=media-libs/alsa-lib-${PV}
75 virtual/modutils
76 !minimal? ( sys-apps/pciutils )"
77
78 S=${WORKDIR}/${MY_P}
79
80 pkg_setup() {
81 if [[ -e "${ROOT}etc/modules.d/alsa" ]]; then
82 eerror "Obsolete config /etc/modules.d/alsa found."
83 die "Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf."
84 fi
85
86 if [[ -e "${ROOT}etc/modprobe.d/alsa" ]]; then
87 eerror "Obsolete config /etc/modprobe.d/alsa found."
88 die "Move /etc/modprobe.d/alsa to /etc/modprobe.d/alsa.conf."
89 fi
90 }
91
92 src_prepare() {
93 epatch "${FILESDIR}"/${P}-modprobe.d.patch \
94 "${FILESDIR}"/${P}-init_default.patch
95 }
96
97 src_configure() {
98 local myconf=""
99 use doc || myconf="--disable-xmlto"
100
101 econf ${myconf} \
102 $(use_enable nls)
103 }
104
105 src_install() {
106 local ALSA_UTILS_DOCS="ChangeLog README TODO
107 seq/aconnect/README.aconnect
108 seq/aseqnet/README.aseqnet"
109
110 emake DESTDIR="${D}" install || die "emake install failed"
111
112 dodoc ${ALSA_UTILS_DOCS} || die
113
114 newinitd "${FILESDIR}/alsasound.initd-r4" alsasound
115 newconfd "${FILESDIR}/alsasound.confd-r3" alsasound
116 insinto /etc/modprobe.d
117 newins "${FILESDIR}/alsa-modules.conf-rc" alsa.conf
118
119 keepdir /var/lib/alsa
120 }
121
122 pkg_postinst() {
123 echo
124 elog "To take advantage of the init script, and automate the process of"
125 elog "saving and restoring sound-card mixer levels you should"
126 elog "add alsasound to the boot runlevel. You can do this as"
127 elog "root like so:"
128 elog " # rc-update add alsasound boot"
129 echo
130 elog "The script will load ALSA modules, if you choose to use a modular"
131 elog "configuration. The Gentoo ALSA developers recommend you to build"
132 elog "your audio drivers into the kernel unless the device is hotpluggable"
133 elog "or you need to supply specific options (such as model= to HD Audio)."
134 echo
135 ewarn "Automated unloading of ALSA modules is deprecated and unsupported."
136 ewarn "Should you choose to use it, bug reports will not be accepted."
137 echo
138 if use minimal; then
139 ewarn "The minimal use flag disables the dependency on pciutils that"
140 ewarn "is needed by alsaconf at runtime."
141 fi
142 }