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