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