Gentoo Archives: gentoo-commits

From: "Christian Heim (phreak)" <phreak@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/alsa-utils: ChangeLog alsa-utils-1.0.14-r2.ebuild
Date: Wed, 03 Oct 2007 14:50:47
Message-Id: E1Id5Pn-0006DK-Bp@stork.gentoo.org
1 phreak 07/10/03 14:41:31
2
3 Modified: ChangeLog
4 Added: alsa-utils-1.0.14-r2.ebuild
5 Log:
6 Revision bump, removing the wrong call to modules-update, module-init-tools has been stable for a looong while.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.217 media-sound/alsa-utils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.217&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.217&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?r1=1.216&r2=1.217
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v
19 retrieving revision 1.216
20 retrieving revision 1.217
21 diff -u -r1.216 -r1.217
22 --- ChangeLog 17 Sep 2007 17:06:31 -0000 1.216
23 +++ ChangeLog 3 Oct 2007 14:41:30 -0000 1.217
24 @@ -1,6 +1,14 @@
25 # ChangeLog for media-sound/alsa-utils
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.216 2007/09/17 17:06:31 phreak Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.217 2007/10/03 14:41:30 phreak Exp $
29 +
30 +*alsa-utils-1.0.14-r2 (03 Oct 2007)
31 +
32 + 03 Oct 2007; Christian Heim <phreak@g.o>
33 + +files/alsa-utils-1.0.14-alsaconf-modules-update.patch,
34 + +alsa-utils-1.0.14-r2.ebuild:
35 + Revision bump, removing the wrong call to modules-update, module-init-tools
36 + has been stable for a looong while.
37
38 17 Sep 2007; Christian Heim <phreak@g.o>
39 +files/alsa-utils-1.0.15_rc1-seq.patch, alsa-utils-1.0.15_rc1.ebuild:
40
41
42
43 1.1 media-sound/alsa-utils/alsa-utils-1.0.14-r2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.14-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.14-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: alsa-utils-1.0.14-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2007 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.14-r2.ebuild,v 1.1 2007/10/03 14:41:30 phreak Exp $
53
54 WANT_AUTOMAKE="latest"
55 WANT_AUTOCONF="latest"
56
57 inherit eutils autotools
58
59 MY_P="${P/_rc/rc}"
60
61 DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
62 HOMEPAGE="http://www.alsa-project.org/"
63 SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2"
64
65 LICENSE="GPL-2"
66 SLOT="0.9"
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
68 IUSE="nls midi"
69
70 DEPEND=">=sys-libs/ncurses-5.1
71 dev-util/dialog
72 >=media-libs/alsa-lib-1.0.14"
73 RDEPEND="${DEPEND}
74 virtual/modutils
75 sys-apps/pciutils"
76
77 S="${WORKDIR}/${MY_P}"
78
79 pkg_setup() {
80 if use midi && ! built_with_use --missing true media-libs/alsa-lib midi; then
81 eerror ""
82 eerror "To be able to build alsa-utils with midi support you need"
83 eerror "to have built media-libs/alsa-lib with midi USE flag."
84 die "Missing midi USE flag on media-libs/alsa-lib"
85 fi
86 }
87
88 src_unpack() {
89 unpack ${A}
90 cd "${S}"
91
92 epatch "${FILESDIR}/${PN}-1.0.11_rc2-nls.patch"
93 epatch "${FILESDIR}/${PN}-1.0.11_rc5-alsaconf-redirect.patch"
94 epatch "${FILESDIR}/${P}-seq.patch"
95 epatch "${FILESDIR}/${P}-remove-debug-printing.patch"
96 epatch "${FILESDIR}"/${P}-alsaconf-modules-update.patch
97
98 AT_M4DIR="m4" eautoreconf
99 }
100
101 src_compile() {
102 econf \
103 $(use_enable nls) \
104 $(use_enable midi sequencer) \
105 || die "configure failed"
106
107 emake || die "make failed"
108 }
109
110 src_install() {
111 local ALSA_UTILS_DOCS="ChangeLog README TODO
112 seq/aconnect/README.aconnect
113 seq/aseqnet/README.aseqnet"
114
115 emake DESTDIR="${D}" install || die "Installation Failed"
116
117 dodoc ${ALSA_UTILS_DOCS}
118 newdoc alsamixer/README README.alsamixer
119
120 newinitd "${FILESDIR}/alsasound.initd" alsasound
121 newconfd "${FILESDIR}/alsasound.confd" alsasound
122 insinto /etc/modules.d
123 newins "${FILESDIR}/alsa-modules.conf-rc" alsa
124
125 keepdir /var/lib/alsa
126 }
127
128 pkg_postinst() {
129 echo
130 elog "To take advantage of the init script, and automate the process of"
131 elog "loading and unloading the ALSA sound drivers as well as"
132 elog "storing and restoring sound-card mixer levels you should"
133 elog "add alsasound to the boot runlevel. You can do this as"
134 elog "root like so:"
135 elog " # rc-update add alsasound boot"
136 echo
137 }
138
139
140
141 --
142 gentoo-commits@g.o mailing list