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-r1.ebuild
Date: Mon, 17 Sep 2007 16:54:30
Message-Id: E1IXJkH-0000lW-RT@stork.gentoo.org
1 phreak 07/09/17 16:46:49
2
3 Modified: ChangeLog
4 Added: alsa-utils-1.0.14-r1.ebuild
5 Log:
6 Add a patch from upstream, removing a debug print (http://hg-mirror.alsa-project.org/alsa-utils/rev/b230fef1ea76 - #184716 thanks to Mario Bachmann <grafgrimm77 at gmx.de>).
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.214 media-sound/alsa-utils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.214&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.214&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?r1=1.213&r2=1.214
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v
19 retrieving revision 1.213
20 retrieving revision 1.214
21 diff -u -r1.213 -r1.214
22 --- ChangeLog 10 Sep 2007 14:10:12 -0000 1.213
23 +++ ChangeLog 17 Sep 2007 16:46:49 -0000 1.214
24 @@ -1,6 +1,15 @@
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.213 2007/09/10 14:10:12 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.214 2007/09/17 16:46:49 phreak Exp $
29 +
30 +*alsa-utils-1.0.14-r1 (17 Sep 2007)
31 +
32 + 17 Sep 2007; Christian Heim <phreak@g.o>
33 + +files/alsa-utils-1.0.14-remove-debug-printing.patch,
34 + +alsa-utils-1.0.14-r1.ebuild:
35 + Add a patch from upstream, removing a debug print
36 + (http://hg-mirror.alsa-project.org/alsa-utils/rev/b230fef1ea76 - #184716
37 + thanks to Mario Bachmann <grafgrimm77 at gmx.de>).
38
39 10 Sep 2007; Jeroen Roovers <jer@g.o> alsa-utils-1.0.14.ebuild:
40 Stable for HPPA (bug #189155).
41
42
43
44 1.1 media-sound/alsa-utils/alsa-utils-1.0.14-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.14-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.14-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: alsa-utils-1.0.14-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2007 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.14-r1.ebuild,v 1.1 2007/09/17 16:46:49 phreak Exp $
54
55 WANT_AUTOMAKE="latest"
56 WANT_AUTOCONF="latest"
57
58 inherit eutils autotools
59
60 MY_P="${P/_rc/rc}"
61
62 DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
63 HOMEPAGE="http://www.alsa-project.org/"
64 SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2"
65
66 LICENSE="GPL-2"
67 SLOT="0.9"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
69 IUSE="nls midi"
70
71 DEPEND=">=sys-libs/ncurses-5.1
72 dev-util/dialog
73 >=media-libs/alsa-lib-1.0.14"
74 RDEPEND="${DEPEND}
75 virtual/modutils
76 sys-apps/pciutils"
77
78 S="${WORKDIR}/${MY_P}"
79
80 pkg_setup() {
81 if use midi && ! built_with_use --missing true media-libs/alsa-lib midi; then
82 eerror ""
83 eerror "To be able to build alsa-utils with midi support you need"
84 eerror "to have built media-libs/alsa-lib with midi USE flag."
85 die "Missing midi USE flag on media-libs/alsa-lib"
86 fi
87 }
88
89 src_unpack() {
90 unpack ${A}
91 cd "${S}"
92
93 epatch "${FILESDIR}/${PN}-1.0.11_rc2-nls.patch"
94 epatch "${FILESDIR}/${PN}-1.0.11_rc5-alsaconf-redirect.patch"
95 epatch "${FILESDIR}/${P}-seq.patch"
96 epatch "${FILESDIR}/${P}-remove-debug-printing.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