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.15_rc1.ebuild
Date: Mon, 17 Sep 2007 17:04:49
Message-Id: E1IXJuE-0005RV-J3@stork.gentoo.org
1 phreak 07/09/17 16:57:06
2
3 Modified: ChangeLog
4 Added: alsa-utils-1.0.15_rc1.ebuild
5 Log:
6 New release candidate for alsa-utils.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.215 media-sound/alsa-utils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.215&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.215&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?r1=1.214&r2=1.215
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v
19 retrieving revision 1.214
20 retrieving revision 1.215
21 diff -u -r1.214 -r1.215
22 --- ChangeLog 17 Sep 2007 16:46:49 -0000 1.214
23 +++ ChangeLog 17 Sep 2007 16:57:06 -0000 1.215
24 @@ -1,6 +1,12 @@
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.214 2007/09/17 16:46:49 phreak Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.215 2007/09/17 16:57:06 phreak Exp $
29 +
30 +*alsa-utils-1.0.15_rc1 (17 Sep 2007)
31 +
32 + 17 Sep 2007; Christian Heim <phreak@g.o>
33 + +alsa-utils-1.0.15_rc1.ebuild:
34 + New release candidate for alsa-utils.
35
36 *alsa-utils-1.0.14-r1 (17 Sep 2007)
37
38
39
40
41 1.1 media-sound/alsa-utils/alsa-utils-1.0.15_rc1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.15_rc1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.15_rc1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: alsa-utils-1.0.15_rc1.ebuild
47 ===================================================================
48 # Copyright 1999-2007 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.15_rc1.ebuild,v 1.1 2007/09/17 16:57:06 phreak Exp $
51
52 WANT_AUTOMAKE="latest"
53 WANT_AUTOCONF="latest"
54
55 inherit eutils autotools
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="nls midi"
67
68 DEPEND=">=sys-libs/ncurses-5.1
69 dev-util/dialog
70 >=media-libs/alsa-lib-1.0.14_rc3"
71 RDEPEND="${DEPEND}
72 virtual/modutils
73 sys-apps/pciutils"
74
75 S="${WORKDIR}/${MY_P}"
76
77 pkg_setup() {
78 if use midi && ! built_with_use --missing true media-libs/alsa-lib midi; then
79 eerror ""
80 eerror "To be able to build alsa-utils with midi support you need"
81 eerror "to have built media-libs/alsa-lib with midi USE flag."
82 die "Missing midi USE flag on media-libs/alsa-lib"
83 fi
84 }
85
86 src_unpack() {
87 unpack ${A}
88 cd "${S}"
89
90 epatch "${FILESDIR}/${PN}-1.0.11_rc2-nls.patch"
91 epatch "${FILESDIR}/${PN}-1.0.11_rc5-alsaconf-redirect.patch"
92 epatch "${FILESDIR}/${P}-seq.patch"
93 epatch "${FILESDIR}/${P}-remove-debug-printing.patch"
94
95 AT_M4DIR="m4" eautoreconf
96 }
97
98 src_compile() {
99 econf \
100 $(use_enable nls) \
101 $(use_enable midi sequencer) \
102 || die "configure failed"
103
104 emake || die "make failed"
105 }
106
107 src_install() {
108 local ALSA_UTILS_DOCS="ChangeLog README TODO
109 seq/aconnect/README.aconnect
110 seq/aseqnet/README.aseqnet"
111
112 emake DESTDIR="${D}" install || die "Installation Failed"
113
114 dodoc ${ALSA_UTILS_DOCS}
115 newdoc alsamixer/README README.alsamixer
116
117 newinitd "${FILESDIR}/alsasound.initd" alsasound
118 newconfd "${FILESDIR}/alsasound.confd" alsasound
119 insinto /etc/modules.d
120 newins "${FILESDIR}/alsa-modules.conf-rc" alsa
121
122 keepdir /var/lib/alsa
123 }
124
125 pkg_postinst() {
126 echo
127 elog "To take advantage of the init script, and automate the process of"
128 elog "loading and unloading the ALSA sound drivers as well as"
129 elog "storing and restoring sound-card mixer levels you should"
130 elog "add alsasound to the boot runlevel. You can do this as"
131 elog "root like so:"
132 elog " # rc-update add alsasound boot"
133 echo
134 }
135
136
137
138 --
139 gentoo-commits@g.o mailing list