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-libs/alsa-lib: ChangeLog alsa-lib-1.0.15_rc2.ebuild
Date: Mon, 17 Sep 2007 17:33:40
Message-Id: E1IXKMC-0007YM-3v@stork.gentoo.org
1 phreak 07/09/17 17:26:00
2
3 Modified: ChangeLog
4 Added: alsa-lib-1.0.15_rc2.ebuild
5 Log:
6 New release candidate for alsa-lib.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.242 media-libs/alsa-lib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.242&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.242&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?r1=1.241&r2=1.242
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v
19 retrieving revision 1.241
20 retrieving revision 1.242
21 diff -u -r1.241 -r1.242
22 --- ChangeLog 10 Sep 2007 14:20:15 -0000 1.241
23 +++ ChangeLog 17 Sep 2007 17:25:59 -0000 1.242
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-libs/alsa-lib
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.241 2007/09/10 14:20:15 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.242 2007/09/17 17:25:59 phreak Exp $
29 +
30 +*alsa-lib-1.0.15_rc2 (17 Sep 2007)
31 +
32 + 17 Sep 2007; Christian Heim <phreak@g.o>
33 + +alsa-lib-1.0.15_rc2.ebuild:
34 + New release candidate for alsa-lib.
35
36 10 Sep 2007; Jeroen Roovers <jer@g.o> alsa-lib-1.0.14a-r1.ebuild:
37 Stable for HPPA (bug #189155).
38
39
40
41 1.1 media-libs/alsa-lib/alsa-lib-1.0.15_rc2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.15_rc2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.15_rc2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: alsa-lib-1.0.15_rc2.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-libs/alsa-lib/alsa-lib-1.0.15_rc2.ebuild,v 1.1 2007/09/17 17:25:59 phreak Exp $
51
52 WANT_AUTOCONF="latest"
53 WANT_AUTOMAKE="1.9"
54
55 inherit eutils autotools libtool
56
57 MY_P="${P/_rc/rc}"
58 S="${WORKDIR}/${MY_P}"
59
60 DESCRIPTION="Advanced Linux Sound Architecture Library"
61 HOMEPAGE="http://www.alsa-project.org/"
62 SRC_URI="mirror://alsaproject/lib/${MY_P}.tar.bz2"
63
64 LICENSE="GPL-2 LGPL-2.1"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
67 IUSE="doc debug alisp midi"
68
69 RDEPEND=">=media-sound/alsa-headers-1.0.14"
70 DEPEND="${RDEPEND}
71 doc? ( >=app-doc/doxygen-1.2.6 )"
72
73 IUSE_PCM_PLUGIN="adpcm alaw copy dshare dsnoop extplug file hooks ladspa lfloat linear meter mulaw multi null rate route share shm"
74
75 for plugin in ${IUSE_PCM_PLUGIN}; do
76 IUSE="${IUSE} alsa_pcm_plugins_${plugin}"
77 done
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82
83 elibtoolize
84 epunt_cxx
85 }
86
87 src_compile() {
88 # needed to avoid gcc looping internaly
89 use hppa && export CFLAGS="-O1 -pipe"
90
91 # Enabling asym, dmix, empty, iec958, ioplug, plug, softvol for now by
92 # _DEFAULT_ since alsa seems to need it.
93 econf \
94 --enable-static \
95 --enable-shared \
96 --disable-resmgr \
97 $(use_with debug) \
98 $(use_enable alisp) \
99 $(use_enable midi instr) \
100 $(use_enable midi seq) $(use_enable midi aload) \
101 "--with-pcm-plugins=asym dmix empty iec958 ioplug plug softvol ${ALSA_PCM_PLUGINS}" \
102 --disable-dependency-tracking \
103 || die "configure failed"
104
105 emake || die "make failed"
106
107 if use doc; then
108 emake doc || die "failed to generate docs"
109 fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \
110 xargs -0 sed -i -e "s:${S}::"
111 fi
112 }
113
114 src_install() {
115 emake DESTDIR="${D}" install || die "make install failed"
116
117 dodoc ChangeLog TODO
118 use doc && dohtml -r doc/doxygen/html/*
119 }
120
121 pkg_postinst() {
122 ewarn "Starting from alsa 1.0.11_rc3 the configuration for dmix is changed."
123 ewarn "Leaving around old asound.conf or ~/.asoundrc might make all apps"
124 ewarn "using ALSA output crash."
125 ewarn "Note that dmix output is enabled by default on the 'default' device"
126 ewarn "since ALSA 1.0.9."
127 elog ""
128 elog "Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild."
129 elog "If alsa-drivers works for you where a recent kernel does not, we want "
130 elog "to know about this. Our e-mail address is alsa-bugs@g.o"
131 elog "However, if you notice no sound output or instability, please try to "
132 elog "upgrade your kernel to a newer version first."
133 }
134
135
136
137 --
138 gentoo-commits@g.o mailing list