Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/alsa-plugins: ChangeLog alsa-plugins-1.0.17.ebuild
Date: Sat, 02 Aug 2008 21:00:33
Message-Id: E1KPODG-0004Ak-8l@stork.gentoo.org
1 betelgeuse 08/08/02 21:00:30
2
3 Modified: ChangeLog
4 Added: alsa-plugins-1.0.17.ebuild
5 Log:
6 Version bump. Fixes bug #227043. Thanks to chutzpah for the help.
7 (Portage version: 2.2_rc4/cvs/Linux 2.6.26-gentoo i686)
8
9 Revision Changes Path
10 1.76 media-plugins/alsa-plugins/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?rev=1.76&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?rev=1.76&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?r1=1.75&r2=1.76
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v
19 retrieving revision 1.75
20 retrieving revision 1.76
21 diff -u -r1.75 -r1.76
22 --- ChangeLog 5 Jun 2008 07:43:57 -0000 1.75
23 +++ ChangeLog 2 Aug 2008 21:00:29 -0000 1.76
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-plugins/alsa-plugins
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.75 2008/06/05 07:43:57 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.76 2008/08/02 21:00:29 betelgeuse Exp $
29 +
30 +*alsa-plugins-1.0.17 (02 Aug 2008)
31 +
32 + 02 Aug 2008; Petteri Räty <betelgeuse@g.o>
33 + +files/alsa-plugins-1.0.17-automagic.patch, +alsa-plugins-1.0.17.ebuild:
34 + Version bump. Fixes bug #227043. Thanks to chutzpah for the help.
35
36 05 Jun 2008; Raúl Porcel <armin76@g.o> alsa-plugins-1.0.16.ebuild:
37 ia64 stable
38
39
40
41 1.1 media-plugins/alsa-plugins/alsa-plugins-1.0.17.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.17.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.17.ebuild?rev=1.1&content-type=text/plain
45
46 Index: alsa-plugins-1.0.17.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.17.ebuild,v 1.1 2008/08/02 21:00:29 betelgeuse Exp $
51
52 inherit libtool autotools eutils flag-o-matic
53
54 MY_P="${P/_/}"
55
56 DESCRIPTION="ALSA extra plugins"
57 HOMEPAGE="http://www.alsa-project.org/"
58 SRC_URI="mirror://alsaproject/plugins/${MY_P}.tar.bz2"
59
60 LICENSE="GPL-2 LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
63 IUSE="debug ffmpeg jack libsamplerate pulseaudio speex"
64
65 RDEPEND=">=media-libs/alsa-lib-${PV}
66 ffmpeg? ( <media-video/ffmpeg-0.4.9_p20080000 )
67 jack? ( >=media-sound/jack-audio-connection-kit-0.98 )
68 libsamplerate? ( media-libs/libsamplerate )
69 pulseaudio? ( media-sound/pulseaudio )
70 speex? ( media-libs/speex )
71 !media-plugins/alsa-jack"
72
73 DEPEND="${RDEPEND}
74 dev-util/pkgconfig"
75
76 S="${WORKDIR}/${MY_P}"
77
78 src_unpack() {
79 unpack ${A}
80 cd "${S}"
81
82 epatch "${FILESDIR}/${PN}-1.0.17-automagic.patch"
83 epatch "${FILESDIR}/${PN}-1.0.14_rc1-init-ffmpeg.patch"
84
85 # For some reasons the polyp/pulse plugin does fail with alsaplayer with a
86 # failed assert. As the code works just fine with asserts disabled, for now
87 # disable them waiting for a better solution.
88 sed -i -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \
89 "${S}/pulse/Makefile.am"
90
91 eautoreconf
92 elibtoolize
93 }
94
95 src_compile() {
96 use debug || append-flags -DNDEBUG
97
98 econf \
99 $(use_enable ffmpeg avcodec) \
100 $(use_enable jack) \
101 $(use_enable libsamplerate samplerate) \
102 $(use_enable pulseaudio) \
103 $(use_with speex speex lib) \
104 --disable-dependency-tracking \
105 || die "econf failed"
106 emake || die "emake 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 }