Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/audacity: ChangeLog audacity-1.3.4-r2.ebuild
Date: Sat, 01 Mar 2008 16:58:38
Message-Id: E1JVV2f-0002Oo-UL@stork.gentoo.org
1 aballier 08/03/01 16:58:33
2
3 Modified: ChangeLog
4 Added: audacity-1.3.4-r2.ebuild
5 Log:
6 Update portaudio snapshot to have alsa working again, thanks to Alex Rostovtsev <tetromino@×××××.com> in bug #209494. Fix automagics on alsa and jack, more or less bug #210415
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.88 media-sound/audacity/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audacity/ChangeLog?rev=1.88&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audacity/ChangeLog?rev=1.88&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audacity/ChangeLog?r1=1.87&r2=1.88
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/audacity/ChangeLog,v
19 retrieving revision 1.87
20 retrieving revision 1.88
21 diff -u -r1.87 -r1.88
22 --- ChangeLog 27 Feb 2008 18:35:31 -0000 1.87
23 +++ ChangeLog 1 Mar 2008 16:58:33 -0000 1.88
24 @@ -1,6 +1,14 @@
25 # ChangeLog for media-sound/audacity
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/audacity/ChangeLog,v 1.87 2008/02/27 18:35:31 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/audacity/ChangeLog,v 1.88 2008/03/01 16:58:33 aballier Exp $
29 +
30 +*audacity-1.3.4-r2 (01 Mar 2008)
31 +
32 + 01 Mar 2008; Alexis Ballier <aballier@g.o>
33 + +files/audacity-1.3.4-automagic.patch, +audacity-1.3.4-r2.ebuild:
34 + Update portaudio snapshot to have alsa working again, thanks to Alex
35 + Rostovtsev <tetromino@×××××.com> in bug #209494. Fix automagics on alsa and
36 + jack, more or less bug #210415
37
38 27 Feb 2008; Jeroen Roovers <jer@g.o> audacity-1.3.4-r1.ebuild:
39 Marked ~hppa.
40
41
42
43 1.1 media-sound/audacity/audacity-1.3.4-r2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audacity/audacity-1.3.4-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audacity/audacity-1.3.4-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: audacity-1.3.4-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-sound/audacity/audacity-1.3.4-r2.ebuild,v 1.1 2008/03/01 16:58:33 aballier Exp $
53
54 inherit eutils wxwidgets autotools
55
56 IUSE="alsa flac id3tag jack ladspa libsamplerate mp3 soundtouch twolame unicode vamp vorbis"
57
58 MY_P="${PN}-src-${PV}"
59 MY_PA_P="pa_stable_v19_20071207"
60 DESCRIPTION="Free crossplatform audio editor"
61 HOMEPAGE="http://audacity.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2
63 http://www.portaudio.com/archives/${MY_PA_P}.tar.gz
64 mirror://gentoo/${P}-portaudio-cvs-rev1.7.patch.bz2"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
69 RESTRICT="test"
70
71 COMMON_DEPEND="=x11-libs/wxGTK-2.6*
72 >=app-arch/zip-2.3
73 dev-libs/expat
74 >=media-libs/libsndfile-1.0.0
75 alsa? ( media-libs/alsa-lib )
76 jack? ( >=media-sound/jack-audio-connection-kit-0.103.0 )
77 soundtouch? ( >=media-libs/libsoundtouch-1.3.1 )
78 vorbis? ( >=media-libs/libvorbis-1.0 )
79 mp3? ( >=media-libs/libmad-0.14.2b )
80 id3tag? ( media-libs/libid3tag )
81 flac? ( media-libs/flac )
82 libsamplerate? ( >=media-libs/libsamplerate-0.1.2 )
83 vamp? ( media-libs/vamp-plugin-sdk )
84 twolame? ( media-sound/twolame )"
85 RDEPEND="${COMMON_DEPEND}
86 mp3? ( >=media-sound/lame-3.70 )"
87 DEPEND="${COMMON_DEPEND}
88 dev-util/pkgconfig"
89
90 S="${WORKDIR}/${MY_P}-beta"
91
92 pkg_setup() {
93 if use flac && ! built_with_use --missing true media-libs/flac cxx; then
94 eerror "To build ${PN} with flac support you need the C++ bindings for flac."
95 eerror "Please enable the cxx USE flag for media-libs/flac"
96 die "Missing FLAC C++ bindings."
97 fi
98 }
99
100 src_unpack() {
101 unpack ${A}
102
103 einfo "Updating portaudio-v19 snapshot to ${MY_PA_P}"
104 rm -r "${S}/lib-src/portaudio-v19" || die
105 mv "${WORKDIR}/portaudio" "${S}/lib-src/portaudio-v19" || die
106
107 cd "${S}"
108
109 epatch "${FILESDIR}/${P}-nolibfailure.patch"
110 epatch "${FILESDIR}/CVE-2007-6061.patch"
111
112 cd lib-src/portaudio-v19
113 epatch "${WORKDIR}/${P}-portaudio-cvs-rev1.7.patch"
114
115 cd "${S}"
116 epatch "${FILESDIR}/${P}-automagic.patch"
117 eautoreconf
118 }
119
120 src_compile() {
121 WX_GTK_VER="2.6"
122
123 if use unicode; then
124 need-wxwidgets unicode
125 else
126 need-wxwidgets gtk2
127 fi
128
129 econf \
130 --with-libexpat=system \
131 $(use_enable unicode) \
132 $(use_with ladspa) \
133 $(use_with vorbis) \
134 $(use_with mp3 libmad) \
135 $(use_with id3tag) \
136 $(use_with flac libflac) \
137 $(use_enable vamp) \
138 $(use_with twolame libtwolame) \
139 $(use_with soundtouch) \
140 $(use_with libsamplerate) \
141 $(use_with alsa) \
142 $(use_with jack)
143
144 emake || die
145 }
146
147 src_install() {
148 emake DESTDIR="${D}" install || die
149
150 # Remove bad doc install
151 rm -rf "${D}"/usr/share/doc
152
153 # Install our docs
154 dodoc README.txt
155 }
156
157 pkg_postinst() {
158 ewarn "For security reasons, audacity temporary directory"
159 ewarn "has been moved to your home directory."
160 ewarn "This version will not allow you to set it in /tmp"
161 ewarn "and will discard your preferences if it is there."
162 ewarn "See bug #199751 for more information."
163 }
164
165
166
167 --
168 gentoo-commits@l.g.o mailing list