Gentoo Archives: gentoo-commits

From: "Steve Dibb (beandog)" <beandog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/alsa-lib: ChangeLog alsa-lib-1.0.22.ebuild
Date: Thu, 07 Jan 2010 17:10:54
Message-Id: E1NSvsq-0006g0-1e@stork.gentoo.org
1 beandog 10/01/07 17:10:52
2
3 Modified: ChangeLog
4 Added: alsa-lib-1.0.22.ebuild
5 Log:
6 Version bump, bug 297304
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.296 media-libs/alsa-lib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.296&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.296&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?r1=1.295&r2=1.296
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v
19 retrieving revision 1.295
20 retrieving revision 1.296
21 diff -u -r1.295 -r1.296
22 --- ChangeLog 9 Dec 2009 14:58:16 -0000 1.295
23 +++ ChangeLog 7 Jan 2010 17:10:51 -0000 1.296
24 @@ -1,6 +1,11 @@
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.295 2009/12/09 14:58:16 jer Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.296 2010/01/07 17:10:51 beandog Exp $
30 +
31 +*alsa-lib-1.0.22 (07 Jan 2010)
32 +
33 + 07 Jan 2010; Steve Dibb <beandog@g.o> +alsa-lib-1.0.22.ebuild:
34 + Version bump, bug 297304
35
36 09 Dec 2009; Jeroen Roovers <jer@g.o> alsa-lib-1.0.20-r1.ebuild,
37 alsa-lib-1.0.21.ebuild, alsa-lib-1.0.21a.ebuild:
38
39
40
41 1.1 media-libs/alsa-lib/alsa-lib-1.0.22.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.22.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.22.ebuild?rev=1.1&content-type=text/plain
45
46 Index: alsa-lib-1.0.22.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.22.ebuild,v 1.1 2010/01/07 17:10:51 beandog 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 econf \
101 --enable-static \
102 --enable-shared \
103 --disable-resmgr \
104 --enable-rawmidi \
105 --enable-seq \
106 --enable-aload \
107 $(use_with debug) \
108 $(use_enable alisp) \
109 $(use_enable python) \
110 --with-pcm-plugins="${ALSA_PCM_PLUGINS}" \
111 --disable-dependency-tracking \
112 ${myconf} \
113 || die "configure failed"
114
115 emake || die "make failed"
116
117 if use doc; then
118 emake doc || die "failed to generate docs"
119 fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \
120 xargs -0 sed -i -e "s:${S}::"
121 fi
122 }
123
124 src_install() {
125 emake DESTDIR="${D}" install || die "make install failed"
126
127 dodoc ChangeLog TODO || die
128 use doc && dohtml -r doc/doxygen/html/*
129 }
130
131 pkg_postinst() {
132 elog "Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild."
133 elog "If alsa-drivers works for you where a *recent* kernel does not, we want "
134 elog "to know about this. Our e-mail address is alsa-bugs@g.o"
135 elog "However, if you notice no sound output or instability, please try to "
136 elog "upgrade your kernel to a newer version first."
137 }