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.17a.ebuild
Date: Mon, 01 Sep 2008 17:48:19
Message-Id: E1KaDVg-0001IV-3N@stork.gentoo.org
1 betelgeuse 08/09/01 17:48:16
2
3 Modified: ChangeLog
4 Added: alsa-lib-1.0.17a.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo i686)
8
9 Revision Changes Path
10 1.263 media-libs/alsa-lib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.263&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.263&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?r1=1.262&r2=1.263
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v
19 retrieving revision 1.262
20 retrieving revision 1.263
21 diff -u -r1.262 -r1.263
22 --- ChangeLog 3 Aug 2008 17:12:33 -0000 1.262
23 +++ ChangeLog 1 Sep 2008 17:48:15 -0000 1.263
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.262 2008/08/03 17:12:33 chutzpah Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.263 2008/09/01 17:48:15 betelgeuse Exp $
29 +
30 +*alsa-lib-1.0.17a (01 Sep 2008)
31 +
32 + 01 Sep 2008; Petteri Räty <betelgeuse@g.o>
33 + +alsa-lib-1.0.17a.ebuild:
34 + Version bump.
35
36 *alsa-lib-1.0.17-r1 (03 Aug 2008)
37
38
39
40
41 1.1 media-libs/alsa-lib/alsa-lib-1.0.17a.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.17a.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.17a.ebuild?rev=1.1&content-type=text/plain
45
46 Index: alsa-lib-1.0.17a.ebuild
47 ===================================================================
48 # Copyright 1999-2008 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.17a.ebuild,v 1.1 2008/09/01 17:48:15 betelgeuse 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 midi python"
65
66 RDEPEND="python? ( dev-lang/python )"
67 DEPEND="${RDEPEND}
68 >=media-sound/alsa-headers-1.0.17
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 $(use_with debug) \
108 $(use_enable alisp) \
109 $(use_enable python) \
110 $(use_enable midi rawmidi) \
111 $(use_enable midi seq) \
112 $(use_enable midi aload) \
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 ewarn "Starting from alsa 1.0.11_rc3 the configuration for dmix is changed."
136 ewarn "Leaving around old asound.conf or ~/.asoundrc might make all apps"
137 ewarn "using ALSA output crash."
138 ewarn "Note that dmix output is enabled by default on the 'default' device"
139 ewarn "since ALSA 1.0.9."
140 elog ""
141 elog "Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild."
142 elog "If alsa-drivers works for you where a recent kernel does not, we want "
143 elog "to know about this. Our e-mail address is alsa-bugs@g.o"
144 elog "However, if you notice no sound output or instability, please try to "
145 elog "upgrade your kernel to a newer version first."
146 }