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-libs/alsa-lib: ChangeLog alsa-lib-1.0.16_rc2.ebuild alsa-lib-1.0.16_rc1.ebuild
Date: Wed, 30 Jan 2008 15:42:14
Message-Id: E1JKF4l-0001Lo-GI@stork.gentoo.org
1 chainsaw 08/01/30 15:42:11
2
3 Modified: ChangeLog
4 Added: alsa-lib-1.0.16_rc2.ebuild
5 alsa-lib-1.0.16_rc1.ebuild
6 Log:
7 Adding 1.0.16 release candidates, for bug #207427.
8 (Portage version: 2.1.4)
9
10 Revision Changes Path
11 1.249 media-libs/alsa-lib/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.249&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.249&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?r1=1.248&r2=1.249
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v
20 retrieving revision 1.248
21 retrieving revision 1.249
22 diff -u -r1.248 -r1.249
23 --- ChangeLog 10 Jan 2008 06:55:17 -0000 1.248
24 +++ ChangeLog 30 Jan 2008 15:42:10 -0000 1.249
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-libs/alsa-lib
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.248 2008/01/10 06:55:17 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.249 2008/01/30 15:42:10 chainsaw Exp $
30 +
31 +*alsa-lib-1.0.16_rc2 (30 Jan 2008)
32 +*alsa-lib-1.0.16_rc1 (30 Jan 2008)
33 +
34 + 30 Jan 2008; Tony Vroon <chainsaw@g.o> +alsa-lib-1.0.16_rc1.ebuild,
35 + +alsa-lib-1.0.16_rc2.ebuild:
36 + Adding 1.0.16 release candidates, for bug #207427.
37
38 10 Jan 2008; Mike Frysinger <vapier@g.o> alsa-lib-1.0.15.ebuild:
39 Since uclibc does not support symbol versioning, make sure to disable
40
41
42
43 1.1 media-libs/alsa-lib/alsa-lib-1.0.16_rc2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.16_rc2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.16_rc2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: alsa-lib-1.0.16_rc2.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.16_rc2.ebuild,v 1.1 2008/01/30 15:42:10 chainsaw Exp $
53
54 WANT_AUTOCONF="latest"
55 WANT_AUTOMAKE="1.9"
56
57 inherit eutils autotools libtool
58
59 MY_P="${P/_rc/rc}"
60 S="${WORKDIR}/${MY_P}"
61
62 DESCRIPTION="Advanced Linux Sound Architecture Library"
63 HOMEPAGE="http://www.alsa-project.org/"
64 SRC_URI="mirror://alsaproject/lib/${MY_P}.tar.bz2"
65
66 LICENSE="GPL-2 LGPL-2.1"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
69 IUSE="doc debug alisp midi"
70
71 RDEPEND=""
72 DEPEND=">=media-sound/alsa-headers-${PV}
73 doc? ( >=app-doc/doxygen-1.2.6 )"
74
75 IUSE_PCM_PLUGIN="copy linear route mulaw alaw adpcm rate plug multi shm file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958
76 softvol extplug ioplug"
77
78 for plugin in ${IUSE_PCM_PLUGIN}; do
79 IUSE="${IUSE} alsa_pcm_plugins_${plugin}"
80 done
81
82 pkg_setup() {
83 if [ -z "${ALSA_PCM_PLUGINS}" ] ; then
84 ewarn "You haven't selected _any_ PCM plugins. Either you set it to something like the default"
85 ewarn "(which is being set in the profile UNLESS you unset them) or alsa based applications"
86 ewarn "are going to *misbehave* !"
87 epause 5
88 fi
89 }
90
91 src_unpack() {
92 unpack ${A}
93 cd "${S}"
94
95 elibtoolize
96 epunt_cxx
97 }
98
99 src_compile() {
100 local myconf
101 use elibc_uclibc && myconf="--without-versioned"
102
103 # needed to avoid gcc looping internaly
104 use hppa && export CFLAGS="-O1 -pipe"
105
106 econf \
107 --enable-static \
108 --enable-shared \
109 --disable-resmgr \
110 $(use_with debug) \
111 $(use_enable alisp) \
112 $(use_enable midi instr) \
113 $(use_enable midi seq) $(use_enable midi aload) \
114 --with-pcm-plugins="${ALSA_PCM_PLUGINS}" \
115 --disable-dependency-tracking \
116 ${myconf} \
117 || die "configure failed"
118
119 emake || die "make failed"
120
121 if use doc; then
122 emake doc || die "failed to generate docs"
123 fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \
124 xargs -0 sed -i -e "s:${S}::"
125 fi
126 }
127
128 src_install() {
129 emake DESTDIR="${D}" install || die "make install failed"
130
131 dodoc ChangeLog TODO
132 use doc && dohtml -r doc/doxygen/html/*
133 }
134
135 pkg_postinst() {
136 ewarn "Starting from alsa 1.0.11_rc3 the configuration for dmix is changed."
137 ewarn "Leaving around old asound.conf or ~/.asoundrc might make all apps"
138 ewarn "using ALSA output crash."
139 ewarn "Note that dmix output is enabled by default on the 'default' device"
140 ewarn "since ALSA 1.0.9."
141 elog ""
142 elog "Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild."
143 elog "If alsa-drivers works for you where a recent kernel does not, we want "
144 elog "to know about this. Our e-mail address is alsa-bugs@g.o"
145 elog "However, if you notice no sound output or instability, please try to "
146 elog "upgrade your kernel to a newer version first."
147 }
148
149
150
151 1.1 media-libs/alsa-lib/alsa-lib-1.0.16_rc1.ebuild
152
153 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.16_rc1.ebuild?rev=1.1&view=markup
154 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.16_rc1.ebuild?rev=1.1&content-type=text/plain
155
156 Index: alsa-lib-1.0.16_rc1.ebuild
157 ===================================================================
158 # Copyright 1999-2008 Gentoo Foundation
159 # Distributed under the terms of the GNU General Public License v2
160 # $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.16_rc1.ebuild,v 1.1 2008/01/30 15:42:10 chainsaw Exp $
161
162 WANT_AUTOCONF="latest"
163 WANT_AUTOMAKE="1.9"
164
165 inherit eutils autotools libtool
166
167 MY_P="${P/_rc/rc}"
168 S="${WORKDIR}/${MY_P}"
169
170 DESCRIPTION="Advanced Linux Sound Architecture Library"
171 HOMEPAGE="http://www.alsa-project.org/"
172 SRC_URI="mirror://alsaproject/lib/${MY_P}.tar.bz2"
173
174 LICENSE="GPL-2 LGPL-2.1"
175 SLOT="0"
176 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
177 IUSE="doc debug alisp midi"
178
179 RDEPEND=""
180 DEPEND=">=media-sound/alsa-headers-${PV}
181 doc? ( >=app-doc/doxygen-1.2.6 )"
182
183 IUSE_PCM_PLUGIN="copy linear route mulaw alaw adpcm rate plug multi shm file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958
184 softvol extplug ioplug"
185
186 for plugin in ${IUSE_PCM_PLUGIN}; do
187 IUSE="${IUSE} alsa_pcm_plugins_${plugin}"
188 done
189
190 pkg_setup() {
191 if [ -z "${ALSA_PCM_PLUGINS}" ] ; then
192 ewarn "You haven't selected _any_ PCM plugins. Either you set it to something like the default"
193 ewarn "(which is being set in the profile UNLESS you unset them) or alsa based applications"
194 ewarn "are going to *misbehave* !"
195 epause 5
196 fi
197 }
198
199 src_unpack() {
200 unpack ${A}
201 cd "${S}"
202
203 elibtoolize
204 epunt_cxx
205 }
206
207 src_compile() {
208 local myconf
209 use elibc_uclibc && myconf="--without-versioned"
210
211 # needed to avoid gcc looping internaly
212 use hppa && export CFLAGS="-O1 -pipe"
213
214 econf \
215 --enable-static \
216 --enable-shared \
217 --disable-resmgr \
218 $(use_with debug) \
219 $(use_enable alisp) \
220 $(use_enable midi instr) \
221 $(use_enable midi seq) $(use_enable midi aload) \
222 --with-pcm-plugins="${ALSA_PCM_PLUGINS}" \
223 --disable-dependency-tracking \
224 ${myconf} \
225 || die "configure failed"
226
227 emake || die "make failed"
228
229 if use doc; then
230 emake doc || die "failed to generate docs"
231 fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \
232 xargs -0 sed -i -e "s:${S}::"
233 fi
234 }
235
236 src_install() {
237 emake DESTDIR="${D}" install || die "make install failed"
238
239 dodoc ChangeLog TODO
240 use doc && dohtml -r doc/doxygen/html/*
241 }
242
243 pkg_postinst() {
244 ewarn "Starting from alsa 1.0.11_rc3 the configuration for dmix is changed."
245 ewarn "Leaving around old asound.conf or ~/.asoundrc might make all apps"
246 ewarn "using ALSA output crash."
247 ewarn "Note that dmix output is enabled by default on the 'default' device"
248 ewarn "since ALSA 1.0.9."
249 elog ""
250 elog "Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild."
251 elog "If alsa-drivers works for you where a recent kernel does not, we want "
252 elog "to know about this. Our e-mail address is alsa-bugs@g.o"
253 elog "However, if you notice no sound output or instability, please try to "
254 elog "upgrade your kernel to a newer version first."
255 }
256
257
258
259 --
260 gentoo-commits@l.g.o mailing list