1 |
chutzpah 08/08/03 17:12:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: alsa-lib-1.0.17-r1.ebuild |
5 |
Log: |
6 |
Add three patches from upstream ALSA git for pulseaudio (bug #233789). Betelgeuse confirmed this bump with Chainsaw. |
7 |
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.262 media-libs/alsa-lib/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.262&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.262&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/ChangeLog?r1=1.261&r2=1.262 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v |
19 |
retrieving revision 1.261 |
20 |
retrieving revision 1.262 |
21 |
diff -u -r1.261 -r1.262 |
22 |
--- ChangeLog 2 Aug 2008 21:02:23 -0000 1.261 |
23 |
+++ ChangeLog 3 Aug 2008 17:12:33 -0000 1.262 |
24 |
@@ -1,6 +1,15 @@ |
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.261 2008/08/02 21:02:23 betelgeuse Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.262 2008/08/03 17:12:33 chutzpah Exp $ |
29 |
+ |
30 |
+*alsa-lib-1.0.17-r1 (03 Aug 2008) |
31 |
+ |
32 |
+ 03 Aug 2008; Patrick McLean <chutzpah@g.o> |
33 |
+ +files/alsa-lib-1.0.17-pcm-rewind-forward.patch, |
34 |
+ +files/alsa-lib-1.0.17-pcm-rewind-forward-return.patch, |
35 |
+ +files/alsa-lib-1.0.17-sframe-type.patch, +alsa-lib-1.0.17-r1.ebuild: |
36 |
+ Add three patches from upstream ALSA git for pulseaudio (bug #233789). |
37 |
+ Betelgeuse confirmed this bump with Chainsaw. |
38 |
|
39 |
*alsa-lib-1.0.17 (02 Aug 2008) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 media-libs/alsa-lib/alsa-lib-1.0.17-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.17-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.17-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: alsa-lib-1.0.17-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.17-r1.ebuild,v 1.1 2008/08/03 17:12:33 chutzpah Exp $ |
54 |
|
55 |
inherit eutils 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="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 python" |
68 |
|
69 |
RDEPEND="python? ( dev-lang/python )" |
70 |
DEPEND="${RDEPEND} |
71 |
>=media-sound/alsa-headers-${PV} |
72 |
doc? ( >=app-doc/doxygen-1.2.6 )" |
73 |
|
74 |
IUSE_PCM_PLUGIN="copy linear route mulaw alaw adpcm rate plug multi shm file |
75 |
null empty share meter mmap_emul hooks lfloat ladspa dmix dshare dsnoop asym iec958 |
76 |
softvol extplug ioplug" |
77 |
|
78 |
for plugin in ${IUSE_PCM_PLUGIN}; do |
79 |
IUSE="${IUSE} alsa_pcm_plugins_${plugin}" |
80 |
done |
81 |
|
82 |
pkg_setup() { |
83 |
if [ -z "${ALSA_PCM_PLUGINS}" ] ; then |
84 |
ewarn "You haven't selected _any_ PCM plugins. Either you set it to something like the default" |
85 |
ewarn "(which is being set in the profile UNLESS you unset them) or alsa based applications" |
86 |
ewarn "are going to *misbehave* !" |
87 |
epause 5 |
88 |
fi |
89 |
} |
90 |
|
91 |
src_unpack() { |
92 |
unpack ${A} |
93 |
cd "${S}" |
94 |
|
95 |
# patches for pulseaudio from upstream git (bug #233789) |
96 |
epatch "${FILESDIR}/${P}-pcm-rewind-forward.patch" |
97 |
epatch "${FILESDIR}/${P}-pcm-rewind-forward-return.patch" |
98 |
epatch "${FILESDIR}/${P}-sframe-type.patch" |
99 |
|
100 |
elibtoolize |
101 |
epunt_cxx |
102 |
} |
103 |
|
104 |
src_compile() { |
105 |
local myconf |
106 |
use elibc_uclibc && myconf="--without-versioned" |
107 |
|
108 |
# needed to avoid gcc looping internaly |
109 |
use hppa && export CFLAGS="-O1 -pipe" |
110 |
|
111 |
econf \ |
112 |
--enable-static \ |
113 |
--enable-shared \ |
114 |
--disable-resmgr \ |
115 |
$(use_with debug) \ |
116 |
$(use_enable alisp) \ |
117 |
$(use_enable python) \ |
118 |
$(use_enable midi rawmidi) \ |
119 |
$(use_enable midi seq) \ |
120 |
$(use_enable midi aload) \ |
121 |
--with-pcm-plugins="${ALSA_PCM_PLUGINS}" \ |
122 |
--disable-dependency-tracking \ |
123 |
${myconf} \ |
124 |
|| die "configure failed" |
125 |
|
126 |
emake || die "make failed" |
127 |
|
128 |
if use doc; then |
129 |
emake doc || die "failed to generate docs" |
130 |
fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \ |
131 |
xargs -0 sed -i -e "s:${S}::" |
132 |
fi |
133 |
} |
134 |
|
135 |
src_install() { |
136 |
emake DESTDIR="${D}" install || die "make install failed" |
137 |
|
138 |
dodoc ChangeLog TODO || die |
139 |
use doc && dohtml -r doc/doxygen/html/* |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
ewarn "Starting from alsa 1.0.11_rc3 the configuration for dmix is changed." |
144 |
ewarn "Leaving around old asound.conf or ~/.asoundrc might make all apps" |
145 |
ewarn "using ALSA output crash." |
146 |
ewarn "Note that dmix output is enabled by default on the 'default' device" |
147 |
ewarn "since ALSA 1.0.9." |
148 |
elog "" |
149 |
elog "Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild." |
150 |
elog "If alsa-drivers works for you where a recent kernel does not, we want " |
151 |
elog "to know about this. Our e-mail address is alsa-bugs@g.o" |
152 |
elog "However, if you notice no sound output or instability, please try to " |
153 |
elog "upgrade your kernel to a newer version first." |
154 |
} |