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-plugins/alsa-plugins: alsa-plugins-1.0.20.ebuild ChangeLog
Date: Wed, 06 May 2009 18:05:48
Message-Id: E1M1lV4-0007z7-Sw@stork.gentoo.org
1 beandog 09/05/06 18:05:46
2
3 Modified: ChangeLog
4 Added: alsa-plugins-1.0.20.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc31/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.96 media-plugins/alsa-plugins/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?rev=1.96&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?rev=1.96&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?r1=1.95&r2=1.96
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v
19 retrieving revision 1.95
20 retrieving revision 1.96
21 diff -u -r1.95 -r1.96
22 --- ChangeLog 31 Mar 2009 09:36:48 -0000 1.95
23 +++ ChangeLog 6 May 2009 18:05:46 -0000 1.96
24 @@ -1,6 +1,11 @@
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.95 2009/03/31 09:36:48 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.96 2009/05/06 18:05:46 beandog Exp $
29 +
30 +*alsa-plugins-1.0.20 (06 May 2009)
31 +
32 + 06 May 2009; Steve Dibb <beandog@g.o> +alsa-plugins-1.0.20.ebuild:
33 + Version bump
34
35 31 Mar 2009; Raúl Porcel <armin76@g.o> alsa-plugins-1.0.16.ebuild,
36 alsa-plugins-1.0.17-r1.ebuild:
37
38
39
40 1.1 media-plugins/alsa-plugins/alsa-plugins-1.0.20.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.20.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.20.ebuild?rev=1.1&content-type=text/plain
44
45 Index: alsa-plugins-1.0.20.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.20.ebuild,v 1.1 2009/05/06 18:05:46 beandog Exp $
50
51 EAPI=2
52
53 MY_P="${P/_/}"
54
55 inherit autotools flag-o-matic
56
57 DESCRIPTION="ALSA extra plugins"
58 HOMEPAGE="http://www.alsa-project.org/"
59 SRC_URI="mirror://alsaproject/plugins/${MY_P}.tar.bz2"
60
61 LICENSE="GPL-2 LGPL-2.1"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
64 IUSE="debug ffmpeg jack libsamplerate pulseaudio speex"
65
66 RDEPEND=">=media-libs/alsa-lib-${PV}
67 ffmpeg? ( media-video/ffmpeg
68 media-libs/alsa-lib[alsa_pcm_plugins_rate] )
69 jack? ( >=media-sound/jack-audio-connection-kit-0.98 )
70 libsamplerate? (
71 media-libs/libsamplerate
72 media-libs/alsa-lib[alsa_pcm_plugins_rate] )
73 pulseaudio? ( media-sound/pulseaudio )
74 speex? ( media-libs/speex
75 media-libs/alsa-lib[alsa_pcm_plugins_rate] )
76 !media-plugins/alsa-jack"
77
78 DEPEND="${RDEPEND}
79 dev-util/pkgconfig"
80
81 S="${WORKDIR}/${MY_P}"
82
83 src_prepare() {
84 # For some reasons the polyp/pulse plugin does fail with alsaplayer with a
85 # failed assert. As the code works just fine with asserts disabled, for now
86 # disable them waiting for a better solution.
87 sed -i -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \
88 "${S}/pulse/Makefile.am"
89
90 eautoreconf
91
92 # Bug #256119
93 epatch "${FILESDIR}/${PN}-1.0.19-missing-avutil.patch"
94 }
95
96 src_configure() {
97 use debug || append-flags -DNDEBUG
98
99 econf \
100 $(use_enable ffmpeg avcodec) \
101 $(use_enable jack) \
102 $(use_enable libsamplerate samplerate) \
103 $(use_enable pulseaudio) \
104 $(use_with speex speex lib) \
105 --disable-dependency-tracking \
106 || die "econf failed"
107 }
108
109 src_install() {
110 emake DESTDIR="${D}" install
111
112 cd "${S}/doc"
113 dodoc upmix.txt vdownmix.txt README-pcm-oss
114 use jack && dodoc README-jack
115 use libsamplerate && dodoc samplerate.txt
116 use pulseaudio && dodoc README-pulse
117 use ffmpeg && dodoc lavcrate.txt a52.txt
118 }