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.21.ebuild
Date: Mon, 31 Aug 2009 10:25:29
Message-Id: E1Mi8tg-0001hJ-Ow@stork.gentoo.org
1 chainsaw 09/08/31 15:34:20
2
3 Modified: ChangeLog
4 Added: alsa-lib-1.0.21.ebuild
5 Log:
6 Version bump, removes several deprecated functions. Besides that, mostly bug fixes and new drivers.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.290 media-libs/alsa-lib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.290&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.290&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?r1=1.289&r2=1.290
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v
19 retrieving revision 1.289
20 retrieving revision 1.290
21 diff -u -r1.289 -r1.290
22 --- ChangeLog 28 Aug 2009 19:09:51 -0000 1.289
23 +++ ChangeLog 31 Aug 2009 15:34:20 -0000 1.290
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-libs/alsa-lib
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.289 2009/08/28 19:09:51 klausman Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.290 2009/08/31 15:34:20 chainsaw Exp $
29 +
30 +*alsa-lib-1.0.21 (31 Aug 2009)
31 +
32 + 31 Aug 2009; <chainsaw@g.o> +alsa-lib-1.0.21.ebuild:
33 + Version bump, removes several deprecated functions. Besides that, mostly
34 + bug fixes and new drivers.
35
36 28 Aug 2009; Tobias Klausmann <klausman@g.o>
37 alsa-lib-1.0.20-r1.ebuild:
38
39
40
41 1.1 media-libs/alsa-lib/alsa-lib-1.0.21.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.21.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.21.ebuild?rev=1.1&content-type=text/plain
45
46 Index: alsa-lib-1.0.21.ebuild
47 ===================================================================
48 # Copyright 1999-2009 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.21.ebuild,v 1.1 2009/08/31 15:34:20 chainsaw Exp $
51
52 inherit eutils libtool
53
54 MY_P="${P/_rc/rc}"
55 S="${WORKDIR}/${MY_P}"
56
57 DESCRIPTION="Advanced Linux Sound Architecture Library"
58 HOMEPAGE="http://www.alsa-project.org/"
59 SRC_URI="mirror://alsaproject/lib/${MY_P}.tar.bz2"
60
61 LICENSE="LGPL-2.1"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
64 IUSE="doc debug alisp python"
65
66 RDEPEND="python? ( dev-lang/python )"
67 DEPEND="${RDEPEND}
68 >=media-sound/alsa-headers-${PV}
69 doc? ( >=app-doc/doxygen-1.2.6 )"
70
71 IUSE_PCM_PLUGIN="copy linear route mulaw alaw adpcm rate plug multi shm file
72 null empty share meter mmap_emul hooks lfloat ladspa dmix dshare dsnoop asym iec958
73 softvol extplug ioplug"
74
75 for plugin in ${IUSE_PCM_PLUGIN}; do
76 IUSE="${IUSE} alsa_pcm_plugins_${plugin}"
77 done
78
79 pkg_setup() {
80 if [ -z "${ALSA_PCM_PLUGINS}" ] ; then
81 ewarn "You haven't selected _any_ PCM plugins. Either you set it to something like the default"
82 ewarn "(which is being set in the profile UNLESS you unset them) or alsa based applications"
83 ewarn "are going to *misbehave* !"
84 epause 5
85 fi
86 }
87
88 src_unpack() {
89 unpack ${A}
90 cd "${S}"
91
92 elibtoolize
93 epunt_cxx
94 }
95
96 src_compile() {
97 local myconf
98 use elibc_uclibc && myconf="--without-versioned"
99
100 # needed to avoid gcc looping internaly
101 use hppa && export CFLAGS="-O1 -pipe"
102
103 econf \
104 --enable-static \
105 --enable-shared \
106 --disable-resmgr \
107 --enable-rawmidi \
108 --enable-seq \
109 --enable-aload \
110 $(use_with debug) \
111 $(use_enable alisp) \
112 $(use_enable python) \
113 --with-pcm-plugins="${ALSA_PCM_PLUGINS}" \
114 --disable-dependency-tracking \
115 ${myconf} \
116 || die "configure failed"
117
118 emake || die "make failed"
119
120 if use doc; then
121 emake doc || die "failed to generate docs"
122 fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \
123 xargs -0 sed -i -e "s:${S}::"
124 fi
125 }
126
127 src_install() {
128 emake DESTDIR="${D}" install || die "make install failed"
129
130 dodoc ChangeLog TODO || die
131 use doc && dohtml -r doc/doxygen/html/*
132 }
133
134 pkg_postinst() {
135 elog "Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild."
136 elog "If alsa-drivers works for you where a *recent* kernel does not, we want "
137 elog "to know about this. Our e-mail address is alsa-bugs@g.o"
138 elog "However, if you notice no sound output or instability, please try to "
139 elog "upgrade your kernel to a newer version first."
140 }