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-plugins/alsa-plugins: ChangeLog alsa-plugins-1.0.21.ebuild
Date: Mon, 31 Aug 2009 10:51:51
Message-Id: E1Mi9JC-0002xG-38@stork.gentoo.org
1 chainsaw 09/08/31 16:00:42
2
3 Modified: ChangeLog
4 Added: alsa-plugins-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.112 media-plugins/alsa-plugins/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?rev=1.112&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?rev=1.112&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?r1=1.111&r2=1.112
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v
19 retrieving revision 1.111
20 retrieving revision 1.112
21 diff -u -r1.111 -r1.112
22 --- ChangeLog 29 Aug 2009 18:41:14 -0000 1.111
23 +++ ChangeLog 31 Aug 2009 16:00:41 -0000 1.112
24 @@ -1,6 +1,14 @@
25 # ChangeLog for media-plugins/alsa-plugins
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.111 2009/08/29 18:41:14 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.112 2009/08/31 16:00:41 chainsaw Exp $
29 +
30 +*alsa-plugins-1.0.21 (31 Aug 2009)
31 +
32 + 31 Aug 2009; <chainsaw@g.o>
33 + files/alsa-plugins-1.0.20-automagic.patch, +alsa-plugins-1.0.21.ebuild,
34 + +files/alsa-plugins-1.0.21-automagic.patch:
35 + Version bump, removes several deprecated functions. Besides that, mostly
36 + bug fixes and new drivers.
37
38 29 Aug 2009; nixnut <nixnut@g.o> alsa-plugins-1.0.20.ebuild:
39 ppc stable #280464
40
41
42
43 1.1 media-plugins/alsa-plugins/alsa-plugins-1.0.21.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.21.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.21.ebuild?rev=1.1&content-type=text/plain
47
48 Index: alsa-plugins-1.0.21.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.21.ebuild,v 1.1 2009/08/31 16:00:41 chainsaw Exp $
53
54 EAPI=2
55
56 MY_P="${P/_/}"
57
58 inherit autotools flag-o-matic
59
60 DESCRIPTION="ALSA extra plugins"
61 HOMEPAGE="http://www.alsa-project.org/"
62 SRC_URI="mirror://alsaproject/plugins/${MY_P}.tar.bz2"
63
64 LICENSE="GPL-2 LGPL-2.1"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
67 IUSE="debug ffmpeg jack libsamplerate pulseaudio speex"
68
69 RDEPEND=">=media-libs/alsa-lib-${PV}[alsa_pcm_plugins_ioplug]
70 ffmpeg? ( media-video/ffmpeg
71 media-libs/alsa-lib[alsa_pcm_plugins_rate,alsa_pcm_plugins_plug] )
72 jack? ( >=media-sound/jack-audio-connection-kit-0.98 )
73 libsamplerate? (
74 media-libs/libsamplerate
75 media-libs/alsa-lib[alsa_pcm_plugins_rate,alsa_pcm_plugins_plug] )
76 pulseaudio? ( media-sound/pulseaudio )
77 speex? ( media-libs/speex
78 media-libs/alsa-lib[alsa_pcm_plugins_rate,alsa_pcm_plugins_plug] )
79 !media-plugins/alsa-jack"
80
81 DEPEND="${RDEPEND}
82 dev-util/pkgconfig"
83
84 S="${WORKDIR}/${MY_P}"
85
86 src_prepare() {
87 # For some reasons the polyp/pulse plugin does fail with alsaplayer with a
88 # failed assert. As the code works just fine with asserts disabled, for now
89 # disable them waiting for a better solution.
90 sed -i -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \
91 "${S}/pulse/Makefile.am"
92
93 # Bug #256119
94 epatch "${FILESDIR}"/${PN}-1.0.19-missing-avutil.patch
95
96 # Bug #278352
97 epatch "${FILESDIR}"/${P}-automagic.patch
98
99 eautoreconf
100 }
101
102 src_configure() {
103 use debug || append-flags -DNDEBUG
104
105 local myspeex
106
107 if use speex; then
108 myspeex=lib
109 else
110 myspeex=no
111 fi
112
113 econf \
114 --disable-dependency-tracking \
115 $(use_enable ffmpeg avcodec) \
116 $(use_enable jack) \
117 $(use_enable libsamplerate samplerate) \
118 $(use_enable pulseaudio) \
119 --with-speex=${myspeex}
120 }
121
122 src_install() {
123 emake DESTDIR="${D}" install
124
125 cd "${S}/doc"
126 dodoc upmix.txt vdownmix.txt README-pcm-oss
127 use jack && dodoc README-jack
128 use libsamplerate && dodoc samplerate.txt
129 use pulseaudio && dodoc README-pulse
130 use ffmpeg && dodoc lavcrate.txt a52.txt
131 }