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-libs/alsa-lib: ChangeLog alsa-lib-1.0.17.ebuild
Date: Sat, 02 Aug 2008 21:02:27
Message-Id: E1KPOF6-0004EB-2D@stork.gentoo.org
1 betelgeuse 08/08/02 21:02:24
2
3 Modified: ChangeLog
4 Added: alsa-lib-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.261 media-libs/alsa-lib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.261&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.261&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?r1=1.260&r2=1.261
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v
19 retrieving revision 1.260
20 retrieving revision 1.261
21 diff -u -r1.260 -r1.261
22 --- ChangeLog 5 Jun 2008 07:41:25 -0000 1.260
23 +++ ChangeLog 2 Aug 2008 21:02:23 -0000 1.261
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-libs/alsa-lib
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.260 2008/06/05 07:41:25 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.261 2008/08/02 21:02:23 betelgeuse Exp $
29 +
30 +*alsa-lib-1.0.17 (02 Aug 2008)
31 +
32 + 02 Aug 2008; Petteri Räty <betelgeuse@g.o>
33 + +alsa-lib-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-lib-1.0.16.ebuild:
37 ia64 stable
38 @@ -1000,9 +1006,9 @@
39 11 Jul 2003; Arcady Genkin <agenkin@g.o> :
40 Version update.
41
42 -*alsa-lib-0.9.4 (03 June 2003)
43 +*alsa-lib-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-lib-0.9.3 (04 May 2003)
50
51
52
53 1.1 media-libs/alsa-lib/alsa-lib-1.0.17.ebuild
54
55 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.17.ebuild?rev=1.1&view=markup
56 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.17.ebuild?rev=1.1&content-type=text/plain
57
58 Index: alsa-lib-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-libs/alsa-lib/alsa-lib-1.0.17.ebuild,v 1.1 2008/08/02 21:02:23 betelgeuse Exp $
63
64 inherit eutils libtool
65
66 MY_P="${P/_rc/rc}"
67 S="${WORKDIR}/${MY_P}"
68
69 DESCRIPTION="Advanced Linux Sound Architecture Library"
70 HOMEPAGE="http://www.alsa-project.org/"
71 SRC_URI="mirror://alsaproject/lib/${MY_P}.tar.bz2"
72
73 LICENSE="LGPL-2.1"
74 SLOT="0"
75 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
76 IUSE="doc debug alisp midi python"
77
78 RDEPEND="python? ( dev-lang/python )"
79 DEPEND="${RDEPEND}
80 >=media-sound/alsa-headers-${PV}
81 doc? ( >=app-doc/doxygen-1.2.6 )"
82
83 IUSE_PCM_PLUGIN="copy linear route mulaw alaw adpcm rate plug multi shm file
84 null empty share meter mmap_emul hooks lfloat ladspa dmix dshare dsnoop asym iec958
85 softvol extplug ioplug"
86
87 for plugin in ${IUSE_PCM_PLUGIN}; do
88 IUSE="${IUSE} alsa_pcm_plugins_${plugin}"
89 done
90
91 pkg_setup() {
92 if [ -z "${ALSA_PCM_PLUGINS}" ] ; then
93 ewarn "You haven't selected _any_ PCM plugins. Either you set it to something like the default"
94 ewarn "(which is being set in the profile UNLESS you unset them) or alsa based applications"
95 ewarn "are going to *misbehave* !"
96 epause 5
97 fi
98 }
99
100 src_unpack() {
101 unpack ${A}
102 cd "${S}"
103
104 elibtoolize
105 epunt_cxx
106 }
107
108 src_compile() {
109 local myconf
110 use elibc_uclibc && myconf="--without-versioned"
111
112 # needed to avoid gcc looping internaly
113 use hppa && export CFLAGS="-O1 -pipe"
114
115 econf \
116 --enable-static \
117 --enable-shared \
118 --disable-resmgr \
119 $(use_with debug) \
120 $(use_enable alisp) \
121 $(use_enable python) \
122 $(use_enable midi rawmidi) \
123 $(use_enable midi seq) \
124 $(use_enable midi aload) \
125 --with-pcm-plugins="${ALSA_PCM_PLUGINS}" \
126 --disable-dependency-tracking \
127 ${myconf} \
128 || die "configure failed"
129
130 emake || die "make failed"
131
132 if use doc; then
133 emake doc || die "failed to generate docs"
134 fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \
135 xargs -0 sed -i -e "s:${S}::"
136 fi
137 }
138
139 src_install() {
140 emake DESTDIR="${D}" install || die "make install failed"
141
142 dodoc ChangeLog TODO || die
143 use doc && dohtml -r doc/doxygen/html/*
144 }
145
146 pkg_postinst() {
147 ewarn "Starting from alsa 1.0.11_rc3 the configuration for dmix is changed."
148 ewarn "Leaving around old asound.conf or ~/.asoundrc might make all apps"
149 ewarn "using ALSA output crash."
150 ewarn "Note that dmix output is enabled by default on the 'default' device"
151 ewarn "since ALSA 1.0.9."
152 elog ""
153 elog "Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild."
154 elog "If alsa-drivers works for you where a recent kernel does not, we want "
155 elog "to know about this. Our e-mail address is alsa-bugs@g.o"
156 elog "However, if you notice no sound output or instability, please try to "
157 elog "upgrade your kernel to a newer version first."
158 }