Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/alsa-utils: ChangeLog alsa-utils-1.0.17.ebuild
Date: Sat, 02 Aug 2008 21:00:35
Message-Id: E1KPODI-0004Be-Mr@stork.gentoo.org
1 betelgeuse 08/08/02 21:00:32
2
3 Modified: ChangeLog
4 Added: alsa-utils-1.0.17.ebuild
5 Log:
6 Version bump. Fixes bug #227043. Thanks to chutzpah for the help.
7 (Portage version: 2.2_rc4/cvs/Linux 2.6.26-gentoo i686)
8
9 Revision Changes Path
10 1.242 media-sound/alsa-utils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.242&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.242&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?r1=1.241&r2=1.242
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v
19 retrieving revision 1.241
20 retrieving revision 1.242
21 diff -u -r1.241 -r1.242
22 --- ChangeLog 5 Jun 2008 07:43:04 -0000 1.241
23 +++ ChangeLog 2 Aug 2008 21:00:32 -0000 1.242
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-sound/alsa-utils
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.241 2008/06/05 07:43:04 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.242 2008/08/02 21:00:32 betelgeuse Exp $
29 +
30 +*alsa-utils-1.0.17 (02 Aug 2008)
31 +
32 + 02 Aug 2008; Petteri Räty <betelgeuse@g.o>
33 + +files/alsa-utils-1.0.17-seq.patch, +alsa-utils-1.0.17.ebuild:
34 + Version bump. Fixes bug #227043. Thanks to chutzpah for the help.
35
36 05 Jun 2008; Raúl Porcel <armin76@g.o> alsa-utils-1.0.16.ebuild:
37 ia64 stable
38 @@ -930,9 +936,9 @@
39 11 Jul 2003; Arcady Genkin <agenkin@g.o> :
40 Version update.
41
42 -*alsa-utils-0.9.4 (03 June 2003)
43 +*alsa-utils-0.9.4 (03 Jun 2003)
44
45 - 03 June 2003; Arcady Genkin <agenkin@g.o> :
46 + 03 Jun 2003; Arcady Genkin <agenkin@g.o> :
47 Version update.
48
49 *alsa-utils-0.9.3 (04 May 2003)
50
51
52
53 1.1 media-sound/alsa-utils/alsa-utils-1.0.17.ebuild
54
55 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.17.ebuild?rev=1.1&view=markup
56 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.17.ebuild?rev=1.1&content-type=text/plain
57
58 Index: alsa-utils-1.0.17.ebuild
59 ===================================================================
60 # Copyright 1999-2008 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.17.ebuild,v 1.1 2008/08/02 21:00:32 betelgeuse Exp $
63
64 inherit eutils autotools
65
66 MY_P="${P/_rc/rc}"
67
68 DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
69 HOMEPAGE="http://www.alsa-project.org/"
70 SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2"
71
72 LICENSE="GPL-2"
73 SLOT="0.9"
74 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
75 IUSE="nls midi minimal"
76
77 DEPEND=">=sys-libs/ncurses-5.1
78 dev-util/dialog
79 >=media-libs/alsa-lib-${PV}"
80 RDEPEND="${DEPEND}
81 virtual/modutils
82 !minimal? ( sys-apps/pciutils )"
83
84 S="${WORKDIR}/${MY_P}"
85
86 pkg_setup() {
87 if use midi && ! built_with_use --missing true media-libs/alsa-lib midi; then
88 eerror ""
89 eerror "To be able to build alsa-utils with midi support you need"
90 eerror "to have built media-libs/alsa-lib with midi USE flag."
91 die "Missing midi USE flag on media-libs/alsa-lib"
92 fi
93 }
94
95 src_unpack() {
96 unpack ${A}
97 cd "${S}"
98
99 epatch "${FILESDIR}/${PN}-1.0.11_rc2-nls.patch"
100 epatch "${FILESDIR}/${PN}-1.0.11_rc5-alsaconf-redirect.patch"
101 epatch "${FILESDIR}/${PN}-1.0.14-alsaconf-modules-update.patch"
102 epatch "${FILESDIR}/${PN}-1.0.17-seq.patch"
103
104 AT_M4DIR="m4" eautoreconf
105 }
106
107 src_compile() {
108 econf $(use_enable nls) \
109 $(use_enable midi sequencer) \
110 || die "configure failed"
111
112 emake || die "make failed"
113 }
114
115 pkg_preinst() {
116 if [[ -a /etc/modules.d/alsa ]] && [[ ! -a /etc/modprobe.d/alsa ]]; then
117 elog "Moving old alsa configuration in modules.d to new"
118 elog "location in modprobe.d in /etc/"
119 mv "${ROOT}/etc/modules.d/alsa" "${ROOT}/etc/modprobe.d/alsa"
120 fi
121 }
122
123 src_install() {
124 local ALSA_UTILS_DOCS="ChangeLog README TODO
125 seq/aconnect/README.aconnect
126 seq/aseqnet/README.aseqnet"
127
128 emake DESTDIR="${D}" install || die "Installation Failed"
129
130 dodoc ${ALSA_UTILS_DOCS} || die
131 newdoc alsamixer/README README.alsamixer || die
132
133 newinitd "${FILESDIR}/alsasound.initd" alsasound
134 newconfd "${FILESDIR}/alsasound.confd" alsasound
135 insinto /etc/modprobe.d
136 newins "${FILESDIR}/alsa-modules.conf-rc" alsa
137
138 keepdir /var/lib/alsa
139 }
140
141 pkg_postinst() {
142 echo
143 elog "To take advantage of the init script, and automate the process of"
144 elog "loading and unloading the ALSA sound drivers as well as"
145 elog "storing and restoring sound-card mixer levels you should"
146 elog "add alsasound to the boot runlevel. You can do this as"
147 elog "root like so:"
148 elog " # rc-update add alsasound boot"
149 echo
150 if use minimal; then
151 ewarn "The minimal use flag disables the dependency on pciutils that"
152 ewarn "is needed by alsaconf at runtime."
153 fi
154 }