Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@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-r1.ebuild
Date: Wed, 06 Aug 2008 22:37:32
Message-Id: E1KQrdJ-0003E3-FX@stork.gentoo.org
1 yngwin 08/08/06 22:37:29
2
3 Modified: ChangeLog
4 Added: alsa-plugins-1.0.17-r1.ebuild
5 Log:
6 Adding patch to detect new ffmpeg headers location. Thanks to Rafał Mużyło and Martin von Gagern in bug 218088.
7 (Portage version: 2.2_rc6/cvs/Linux 2.6.26-hg1 i686)
8
9 Revision Changes Path
10 1.78 media-plugins/alsa-plugins/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?rev=1.78&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?rev=1.78&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?r1=1.77&r2=1.78
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v
19 retrieving revision 1.77
20 retrieving revision 1.78
21 diff -u -r1.77 -r1.78
22 --- ChangeLog 3 Aug 2008 08:02:00 -0000 1.77
23 +++ ChangeLog 6 Aug 2008 22:37:28 -0000 1.78
24 @@ -1,6 +1,13 @@
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.77 2008/08/03 08:02:00 betelgeuse Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.78 2008/08/06 22:37:28 yngwin Exp $
29 +
30 +*alsa-plugins-1.0.17-r1 (06 Aug 2008)
31 +
32 + 06 Aug 2008; Ben de Groot <yngwin@g.o> +files/ffmpeg-headers.patch,
33 + +alsa-plugins-1.0.17-r1.ebuild:
34 + Adding patch to detect new ffmpeg headers location. Thanks to Rafał
35 + Mużyło and Martin von Gagern in bug 218088.
36
37 03 Aug 2008; Petteri Räty <betelgeuse@g.o>
38 alsa-plugins-1.0.14.ebuild, alsa-plugins-1.0.16.ebuild:
39
40
41
42 1.1 media-plugins/alsa-plugins/alsa-plugins-1.0.17-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.17-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.17-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: alsa-plugins-1.0.17-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2008 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.17-r1.ebuild,v 1.1 2008/08/06 22:37:28 yngwin Exp $
52
53 inherit libtool autotools eutils flag-o-matic
54
55 MY_P="${P/_/}"
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 jack? ( >=media-sound/jack-audio-connection-kit-0.98 )
69 libsamplerate? ( media-libs/libsamplerate )
70 pulseaudio? ( media-sound/pulseaudio )
71 speex? ( media-libs/speex )
72 !media-plugins/alsa-jack"
73
74 DEPEND="${RDEPEND}
75 dev-util/pkgconfig"
76
77 S="${WORKDIR}/${MY_P}"
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82
83 epatch "${FILESDIR}/${PN}-1.0.17-automagic.patch"
84 epatch "${FILESDIR}/${PN}-1.0.14_rc1-init-ffmpeg.patch"
85 epatch "${FILESDIR}"/ffmpeg-headers.patch
86
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 eautoreconf
94 elibtoolize
95 }
96
97 src_compile() {
98 use debug || append-flags -DNDEBUG
99
100 econf \
101 $(use_enable ffmpeg avcodec) \
102 $(use_enable jack) \
103 $(use_enable libsamplerate samplerate) \
104 $(use_enable pulseaudio) \
105 $(use_with speex speex lib) \
106 --disable-dependency-tracking \
107 || die "econf failed"
108 emake || die "emake failed"
109 }
110
111 src_install() {
112 emake DESTDIR="${D}" install
113
114 cd "${S}/doc"
115 dodoc upmix.txt vdownmix.txt README-pcm-oss
116 use jack && dodoc README-jack
117 use libsamplerate && dodoc samplerate.txt
118 use pulseaudio && dodoc README-pulse
119 use ffmpeg && dodoc lavcrate.txt a52.txt
120 }