Portage is a package management system used by Gentoo Linux
# ChangeLog for media-sound/audacity
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/audacity/ChangeLog,v 1.100 2008/07/15 16:23:42 ken69267 Exp $
15 Jul 2008; Kenneth Prugh
amd64 stable, bug #231497
15 Jul 2008; Raúl Porcel
x86 stable wrt #231497
11 Jul 2008; Ferris McCormick
Sparc stable, Bug #231497, seems to work for me.
11 May 2008; Alexis Ballier
-audacity-1.3.4-r1.ebuild:
remove old
*audacity-1.3.5 (11 May 2008)
11 May 2008; Alexis Ballier
+files/audacity-1.3.5-cflags_with_non_standard_macros.patch,
+files/audacity-1.3.5-libtool22.patch, +audacity-1.3.5.ebuild:
version bump
16 Apr 2008; Peter Volkov
amd64 stable, bug #212806, thank Angelo Arrifano for tests.
09 Apr 2008; Raúl Porcel
sparc stable wrt #212806, thanks to Friedrich Oslage for testing
03 Apr 2008; Markus Rothe
Stable on ppc64; bug #212806
03 Apr 2008; Brent Baude
stable ppc, bug 212806
02 Apr 2008; Christian Faulhammer
audacity-1.3.4-r3.ebuild:
stable x86, bug 212806
01 Apr 2008; Alexis Ballier
-audacity-1.3.4-r2.ebuild:
remove unused version
*audacity-1.3.4-r3 (04 Mar 2008)
04 Mar 2008; Alexis Ballier
+audacity-1.3.4-r3.ebuild:
add a new revision using wxwidgets 2.8 for bug #212008
*audacity-1.3.4-r2 (01 Mar 2008)
01 Mar 2008; Alexis Ballier
+files/audacity-1.3.4-automagic.patch, +audacity-1.3.4-r2.ebuild:
Update portaudio snapshot to have alsa working again, thanks to Alex
Rostovtsev
jack, more or less bug #210415
27 Feb 2008; Jeroen Roovers
Marked ~hppa.
17 Feb 2008; Alexis Ballier
audacity-1.3.4-r1.ebuild:
Add missing jack dependency, thanks to jovie1024@yahoo.com for reporting in
bug #210415. This is not entirely mandatory but otherwise it is automagic...
17 Feb 2008; Alexis Ballier
-files/audacity-1.3.2+flac-1.1.3.patch,
-files/audacity-1.3.2-desktopentry.patch,
-files/audacity-1.3.2-disable-optimization.patch,
-files/audacity-1.3.2-gentoo.patch,
-files/audacity-1.3.2-libnyquistp.patch,
-files/audacity-1.3.2-no-msse.patch, -audacity-1.3.2-r1.ebuild,
-audacity-1.3.4.ebuild:
remove old and vulnerable versions
11 Feb 2008; Olivier Crête
Stable on amd64, security bug #199751
31 Jan 2008; Tobias Scherbaum
audacity-1.3.4-r1.ebuild:
ppc stable, bug #199751
30 Jan 2008; Raúl Porcel
sparc stable wrt security #199751
29 Jan 2008; Christian Faulhammer
audacity-1.3.4-r1.ebuild:
stable x86, security bug 199751
29 Jan 2008; Markus Rothe
Stable on ppc64; bug #199751
*audacity-1.3.4-r1 (26 Jan 2008)
26 Jan 2008; Alexis Ballier
+files/CVE-2007-6061.patch, +audacity-1.3.4-r1.ebuild:
Add a patch for temporary file vulnerablilty (CVE-2007-6061), bug #199751.
It will set the default temporary file location to the user home directory
add discard preferences if it is in /tmp.
13 Jan 2008; Alexis Ballier
audacity-1.3.2-r1.ebuild, audacity-1.3.4.ebuild:
add missing pkgconfig dep, bug #205693
13 Jan 2008; Alexis Ballier
-files/audacity-1.3.3+flac-1.1.3.patch,
-files/audacity-1.3.3-gentoo.patch, -audacity-1.3.3.ebuild:
remove unused version
04 Dec 2007; Raúl Porcel
Re-add ~sparc wrt #199390
02 Dec 2007; Alexis Ballier
enable audacity libresample if libsamplerate was not requested, thanks to
Richard Ash
02 Dec 2007; Alexis Ballier
no need to manually install the icon as the makefiles handle them; thanks to
Richard Ash
25 Nov 2007; Brent Baude
Marking audacity-1.3.4 ~ppc for bug 199390
20 Nov 2007; Markus Rothe
Added ~ppc64; bug #199390
18 Nov 2007; Alexis Ballier
audacity-1.3.2-r1.ebuild, audacity-1.3.3.ebuild, audacity-1.3.4.ebuild:
add a check for flac cxx use flag, FLAC++ is needed here
*audacity-1.3.4 (18 Nov 2007)
18 Nov 2007; Alexis Ballier
+files/audacity-1.3.4-nolibfailure.patch, +audacity-1.3.4.ebuild:
Version bump, bug #199390, droping relevant keywords due to new
vamp-plugin-sdk dep.
28 Sep 2007; Ryan Hill
Lock wxGTK to 2.6.
02 Jul 2007; Diego Pettenò
Hand to newly-born proaudio herd.
27 May 2007; MATSUU Takuto
-files/audacity-1.2.3-gcc41.patch, -files/audacity-1.3.0b-x86.patch,
-audacity-1.3.0b.ebuild:
Removed old versions.
25 May 2007; Brent Baude
Marking audacity-1.3.3 ~ppc64 for bug 179173
21 May 2007; Gustavo Zacarias
Keyworded ~sparc wrt #179173
*audacity-1.3.3 (19 May 2007)
19 May 2007; MATSUU Takuto
+files/audacity-1.3.3+flac-1.1.3.patch,
+files/audacity-1.3.3-gentoo.patch, +audacity-1.3.3.ebuild:
Version bumped.
Removed ~ppc64 and ~sparc for dependency(media-libs/libsoundtouch).
17 May 2007; Joseph Jezak
Marked ppc stable for bug #167126.
12 May 2007; Steve Dibb
amd64 stable, bug 167126
03 May 2007; Gustavo Zacarias
audacity-1.3.2-r1.ebuild:
Stable on sparc wrt #167126
02 May 2007; Raúl Porcel
x86 stable wrt #167126
01 May 2007; Markus Rothe
Stable on ppc64; bug #167126
25 Apr 2007; Alexis Ballier
Cleanup unused ebuild
25 Apr 2007; Alexis Ballier
audacity-1.3.2-r1.ebuild:
Fix wxwidgets handling by using the eclass, thanks to Ryan Hill
10 Mar 2007; Alexis Ballier
+files/audacity-1.3.2-desktopentry.patch, audacity-1.3.2-r1.ebuild:
Fix desktop entry to not include an invalid char, thanks to Mohamed M. Hagag
10 Mar 2007; Alexis Ballier
audacity-1.3.2.ebuild, audacity-1.3.2-r1.ebuild:
Fixing deps on wxGTK-2.6 as those versions are incompatible with newer
versions, thanks to Kalidarn
#169719
14 Dec 2006; Alexis Ballier
+files/audacity-1.3.2-libnyquistp.patch, audacity-1.3.2-r1.ebuild:
Fix to allow parallel build and use CC variable rather than cc, thanks to
Prakash Punnoor
11 Dec 2006; Alexis Ballier
+files/audacity-1.3.2+flac-1.1.3.patch, audacity-1.3.2.ebuild,
audacity-1.3.2-r1.ebuild:
Patch from Josh Coalson to be compatible with flac 1.1.3, pinning dep to
1.1.2 for non patched version
*audacity-1.3.2-r1 (16 Nov 2006)
16 Nov 2006; MATSUU Takuto
+files/audacity-1.3.2-disable-optimization.patch,
+audacity-1.3.2-r1.ebuild:
Fixed compilation failure, bug #154734.
10 Nov 2006; Donnie Berkholz
audacity-1.3.2.ebuild:
Unbreak the previous fix, need to run autoreconf in soundtouch directory
manually because it's not in AC_CONFIG_SUBDIRS.
05 Nov 2006; MATSUU Takuto
+files/audacity-1.3.2-no-msse.patch, audacity-1.3.2.ebuild:
Fixed to build on ppc, bug #153749.
*audacity-1.3.2 (31 Oct 2006)
31 Oct 2006; MATSUU Takuto
+files/audacity-1.3.2-gentoo.patch, audacity-1.3.0b.ebuild,
+audacity-1.3.2.ebuild:
Version bumped.
Fixed locales issue, bug #147980.
06 Sep 2006; Joseph Jezak
Marked ppc stable for bug #145033.
04 Sep 2006; MATSUU Takuto
-audacity-1.2.1.ebuild, -audacity-1.2.3.ebuild,
-audacity-1.2.4b-r1.ebuild:
Removed old versions
04 Sep 2006; Saleem Abdulrasool
audacity-1.3.0b.ebuild:
stable on x86 (bug #145033)
03 Sep 2006; Jason Wever
Stable on SPARC wrt bug #145033.
02 Sep 2006; Markus Rothe
Stable on ppc64; bug #145033
06 Aug 2006; MATSUU Takuto
+files/audacity-1.3.0b-x86.patch, audacity-1.2.4b-r1.ebuild,
audacity-1.3.0b.ebuild:
Added RESTICT="test", Bug 100067.
Fixed compilation on x86, Bug 139936.
*audacity-1.3.0b (06 Jun 2006)
06 Jun 2006; MATSUU Takuto
-audacity-1.2.3-r1.ebuild, -audacity-1.2.4b.ebuild,
Version bumped, Bug 124120.
Removed old versions.
27 Feb 2006; MATSUU Takuto
Added epatch ${FILESDIR}/${PN}-1.2.3-x86.patch, Bug 121634.
*audacity-1.2.4b-r1 (03 Jan 2006)
03 Jan 2006; MATSUU Takuto
Removed some use flag. Bug 113948.
Clean up ebuild.
*audacity-1.2.4b (01 Jan 2006)
01 Jan 2006; MATSUU Takuto
+files/audacity-1.2.3-gcc41.patch, +audacity-1.2.4b.ebuild:
Version Bumped, Bug 113948.
Restricted to wxGTK-2.4* with wxgtk1, Bug 100741.
Fixed gcc-4.1 compile issue, Bug 113754.
Fixed docs install issue, Bug 116615.
Removed gtk2 USE flag, Bug 106560.
Added ladspa, mp3 and soundtouch USE flag.
26 Dec 2005; Luca Barbato
audacity-1.2.2.ebuild, audacity-1.2.3.ebuild, audacity-1.2.3-r1.ebuild:
oggvorbis Cleanup
18 Dec 2005; Diego Pettenò
audacity-1.2.3-r1.ebuild:
Remove eventual stray applnk desktop file, see bug #111204.
17 Sep 2005; Mark Loeser
+files/audacity-1.2.3-x86.patch, audacity-1.2.3-r1.ebuild:
Thanks to basic
x86. Marking ~x86 for testing. bug #73248
15 May 2005; Diego Pettenò
audacity-1.2.2.ebuild, audacity-1.2.3.ebuild, audacity-1.2.3-r1.ebuild:
Fixed dependency ok wxGTK 2.4 slot as per bug #92730.
*audacity-1.2.3-r1 (15 Apr 2005)
15 Apr 2005; Jan Brinkmann
applied cleanup patch which was provided by Diego Pettenò
05 Mar 2005; Markus Rothe
Stable on ppc64
13 Jan 2005; Markus Rothe
Added ~ppc64 to KEYWORDS
18 Dec 2004; Jeremy Huddleston
audacity-1.2.3.ebuild:
Stable sparc.
11 Dec 2004; Jeremy Huddleston
audacity-1.2.3.ebuild:
-x86 because of bad assembly.
*audacity-1.2.3 (29 Nov 2004)
29 Nov 2004; Jeremy Huddleston
+audacity-1.2.3.ebuild:
Version bump closes bug #72290.
*audacity-1.2.2 (31 Oct 2004)
31 Oct 2004; Jeremy Huddleston
-files/audacity-1.2.0-STTypes.patch, -audacity-1.1.3.ebuild,
-audacity-1.2.0-r1.ebuild, +audacity-1.2.2.ebuild:
Version bump. Only installing .desktop in applications. Installing audacity
icon to close bug #59611.
01 Jul 2004; Jeremy Huddleston
audacity-1.2.0-r1.ebuild, audacity-1.2.1.ebuild:
1.2.0 is -amd64, and added a note not to remove 1.2.1 from ~amd64 because of
xfce4 problem (bug #54331).
*audacity-1.2.1 (10 May 2004)
10 May 2004; Jeremy Huddleston
audacity-1.2.1.ebuild:
Version bump.
06 May 2004; Jeremy Huddleston
audacity-1.2.0-r1.ebuild:
Added to ~sparc.
06 May 2004; Jeremy Huddleston
audacity-1.2.0-r1.ebuild, files/audacity-1.2.0-STTypes.patch:
Patch added to fix bug #49417.
03 May 2004; Jeremy Huddleston
audacity-1.1.3.ebuild, audacity-1.2.0-r1.ebuild:
Changing mad dep to madplay.
*audacity-1.2.0-r1 (04 Apr 2004)
04 Apr 2004; Jeremy Huddleston
audacity-1.2.0-r1.ebuild, audacity-1.2.0.ebuild, files/audacity.desktop:
Stable on x86. Revbumping to include the .desktop.
13 Mar 2004; Jeremy Huddleston
audacity-1.2.0.ebuild:
readded wxgtk unicode check...
04 Mar 2004; David Holm
Added to ~ppc.
*audacity-1.2.0 (03 Mar 2004)
03 Mar 2004; Jeremy Huddleston
audacity-1.2.0.ebuild:
Version bump. Bug #43577. 1.2 works fine with wxGTK unicode.
*audacity-1.2.0_pre4 (28 Feb 2004)
28 Feb 2004; Jeremy Huddleston
audacity-1.2.0_pre4.ebuild:
Version bump.
*audacity-1.2.0_pre3 (07 Feb 2004)
07 Feb 2004; Jeremy Huddleston
audacity-1.1.3.ebuild, audacity-1.2.0_pre3.ebuild, metadata.xml,
files/basecfg-1.1.1:
Version bump (Bug #35658). Fixed fftw DEP (Bug #34010). Updated ebuild to
correctly use USE flags. Now die only if wxGTK was compiled with unicode
support (Bug #32753).
19 Jul 2003; Nick Hadaway
Reverted to previous version
*audacity-1.1.3-r1 (17 Jul 2003)
17 Jul 2003; Nick Hadaway
Changed media-sound/mad dep to media-libs/{libmad,libid3tag}
*audacity-1.1.3 (12 Apr 2003)
12 Apr 2003; jje audacity-1.1.3.ebuild:
Version bump. Cleaned up ebuild from previous version.
*audacity-1.1.1-r1 (30 Jan 2003)
17 Feb 2003; Nick Hadaway
Added a hook so gtk2 in USE causes the compile to stop and warn
the user of the incompatibility.
12 Feb 2003; Nick Hadaway
files/basecfg-1.1.1 :
Added a very basic configuration so when building against wxGTK,
starting it doesn't cause a segfault.
04 Feb 2003; Nick Hadaway
I have now tested audacity with wxGTK-2.4.0 and it works great.
30 Jan 2003; Nick Hadaway
files/digest-audacity-1.1.1-r1 :
Updated ebuild to depend on wxGTK-2.2.9* as wxGTK-2.4.0 causes
a segfault on startup. Updated to the -3 audacity tarball.
Added a system dependancy on >=libsndfile-1.0.0. CVS should
be compatible with =wxGTK-2.4* real soon now. :) I'm not motivated
to do an audacity-cvs build yet as it has been very unstable.
Once I start seeing the code base become more stable I may consider
it.
*audacity-1.1.1 (15 Jan 2003)
15 Jan 2003; Nick Hadaway
files/digest-audacity-1.1.1, files/mono_mp3_export.patch :
Version bump. Marked stable as it depends on wxGTK-2.4.x which
has also been released as stable. Thanks to the anonymous
"Gentoo User" on bug #13978 for the mono patch.
*audacity-1.1.0 (10 Nov 2002)
27 Mar 2003; Alastair Tse
audacity-1.0.0-r1.ebuild, audacity-1.0.0-r2.ebuild,
audacity-1.0.0-r2.ebuild, audacity-1.0.0.ebuild, audacity-1.0.0.ebuild,
audacity-1.1.0.ebuild, audacity-1.1.0.ebuild:
clean up old ebuilds
10 Nov 2002; Nick Hadaway
Updated ebuild.
*audacity-1.0.0-r2 (26 Aug 2002)
26 Aug 2002; Spider
removed id3lib_pre2 in the ebuild in favour of the final + patches
for it to work with gcc 3.2. now it should emerge clean on gcc 3.2
systems. masked for testing on gcc 2.95.3
*audacity-1.0.0-r1 (09 Aug 2002)
22 Aug 2002; Nick Hadaway
Updated dependancies to include app-arch/zip
09 Aug 2002; Nick Hadaway
files/digest-audacity-1.0.0-r1, files/audacity-1.0.0-gcc31.patch :
Updated ebuild with a patch to allow >=gcc3 systems to compile properly.
*audacity-1.0.0 (21 Jun 2002)
21 Jun 2002; Ryan Phillips
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
AUX CVE-2007-6061.patch 990 RMD160 65c960ffbad4ed21b56064fc44672da15a3a9a84 SHA1 4519a1b819feb77d6d49e22db1699dbad14a73f3 SHA256 45ef372a604d900ff9f40e7070525506fe63073cc4dd4edaf0fe7078d37df24d
AUX audacity-1.3.4-automagic.patch 2625 RMD160 63f28b895aa94c2458cc3f16ed52f3a44f95c08b SHA1 908aba3830560e16678a35d9350e2f681c452bf9 SHA256 a992234a9219c266a4318ba0cfd23404d11dd0b1ebce587512996cdbc8fd4946
AUX audacity-1.3.4-nolibfailure.patch 1565 RMD160 7d09b05176eee4ac0bee6f6832e472728ba890dd SHA1 18ebf966afa3569f34da8af53605fc4cf51d833f SHA256 25fce83269210c1ce446b01969fd65e980ddcfd3b489218a3e9e3d16d4025e62
AUX audacity-1.3.5-cflags_with_non_standard_macros.patch 1579 RMD160 a199800aacdf96b22e52654f9ed29325272771e9 SHA1 bbb3b6f33cecfd9b9bd64f137fca5e5154f699ba SHA256 63fb54b58de9a2523495a2eb7e62362450665fdaf5b6be85a3d3717fadf29385
AUX audacity-1.3.5-libtool22.patch 621 RMD160 9c8b46928a8dd2d1750163570fa9a36abb44212a SHA1 c1fb708d251331670a881bb3196baf21bfc5bee7 SHA256 c8f25696de80da8f41224be44c630c288e7a94290bb0d86fef6709e0d1923f67
DIST audacity-1.3.4-portaudio-cvs-rev1.7.patch.bz2 6235 RMD160 38e74622e7af4cf3662e87256ec38373eeb00595 SHA1 0a19a1e38d7ee552d75583a6e99e892b3cf4ab50 SHA256 ad78193aee772eb78e5a315d721b0f35242eb6f9b5e8f7d9e718d8a11e70b8a1
DIST audacity-src-1.3.4.tar.bz2 4349381 RMD160 754d81fb0e660d697e7c315c41f28584917e0a9e SHA1 50ab6cf19545f8cb38226b96252dbd958e7d88c4 SHA256 102d60e48e1928f3fd995a214ed9ba872929c6365cf5f784f107f351b42499f9
DIST audacity-src-1.3.5.tar.bz2 4542637 RMD160 f4d56d8ad88ad743c9ae04ee4abc3ded61674c5e SHA1 6ff24769fdef7bb0db7702eecb128f242fc85fce SHA256 58beaf20d5d4bdec61c93cc9bda08faea9b1c9b51c962b4176e9390a6a65904c
DIST pa_stable_v19_20071207.tar.gz 1113282 RMD160 5185bd85bd4bc75dddb3fa56f172a346bdeea0c7 SHA1 3841453bb7be672a15b6b632ade6f225eb0a4efc SHA256 06a17727d56d382a69036de2ed9aee9a15cac0329b995b8cfcd69b357f47bf2b
EBUILD audacity-1.3.4-r3.ebuild 2954 RMD160 7d16f63e00fc0bc7d9155cdb77bcf5077a8893df SHA1 17c20c4ce1b6dc01148f5e3817421d41b6753fd3 SHA256 e6882880a70b72def3c0c8cccca19e752b49977a9be30a810b0d9b2282ff126a
EBUILD audacity-1.3.5.ebuild 2721 RMD160 5d683fe0af141f1e573ef2ecdf51062d331ee829 SHA1 480ed11cf6b517adef02e602014871c3e172e830 SHA256 8c52427d8bb16f47730730d7a60cc3027b2ab72419862150e13dfb4db840e971
MISC ChangeLog 17487 RMD160 c042cbe457a2ef44f485c105e9b8f8bd29e55090 SHA1 987b366b01e59918821576458e47870bae5e8370 SHA256 c26b6bc52b5e7f8295f040dc4a7a6a16c12d00db8b3f9c3f54c61949c3f9d8af
MISC metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 SHA1 90201ddb830142147774cc7b7b5178fbd0a9af0c SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/audacity/audacity-1.3.4-r3.ebuild,v 1.7 2008/04/16 15:31:46 pva Exp $
inherit eutils wxwidgets autotools
IUSE="alsa flac id3tag jack ladspa libsamplerate mp3 soundtouch twolame vamp vorbis"
MY_P="${PN}-src-${PV}"
MY_PA_P="pa_stable_v19_20071207"
DESCRIPTION="Free crossplatform audio editor"
HOMEPAGE="http://audacity.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2
http://www.portaudio.com/archives/${MY_PA_P}.tar.gz
mirror://gentoo/${P}-portaudio-cvs-rev1.7.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc ppc64 sparc x86"
RESTRICT="test"
COMMON_DEPEND="=x11-libs/wxGTK-2.8*
>=app-arch/zip-2.3
dev-libs/expat
>=media-libs/libsndfile-1.0.0
alsa? ( media-libs/alsa-lib )
jack? ( >=media-sound/jack-audio-connection-kit-0.103.0 )
soundtouch? ( >=media-libs/libsoundtouch-1.3.1 )
vorbis? ( >=media-libs/libvorbis-1.0 )
mp3? ( >=media-libs/libmad-0.14.2b )
id3tag? ( media-libs/libid3tag )
flac? ( media-libs/flac )
libsamplerate? ( >=media-libs/libsamplerate-0.1.2 )
vamp? ( media-libs/vamp-plugin-sdk )
twolame? ( media-sound/twolame )"
RDEPEND="${COMMON_DEPEND}
mp3? ( >=media-sound/lame-3.70 )"
DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}-beta"
pkg_setup() {
if use flac && ! built_with_use --missing true media-libs/flac cxx; then
eerror "To build ${PN} with flac support you need the C++ bindings for flac."
eerror "Please enable the cxx USE flag for media-libs/flac"
die "Missing FLAC C++ bindings."
fi
}
src_unpack() {
unpack ${A}
einfo "Updating portaudio-v19 snapshot to ${MY_PA_P}"
rm -r "${S}/lib-src/portaudio-v19" || die
mv "${WORKDIR}/portaudio" "${S}/lib-src/portaudio-v19" || die
cd "${S}"
epatch "${FILESDIR}/${P}-nolibfailure.patch"
epatch "${FILESDIR}/CVE-2007-6061.patch"
cd lib-src/portaudio-v19
epatch "${WORKDIR}/${P}-portaudio-cvs-rev1.7.patch"
cd "${S}"
epatch "${FILESDIR}/${P}-automagic.patch"
eautoreconf
}
src_compile() {
WX_GTK_VER="2.8"
need-wxwidgets unicode
econf \
--with-libexpat=system \
--enable-unicode \
$(use_with ladspa) \
$(use_with vorbis) \
$(use_with mp3 libmad) \
$(use_with id3tag) \
$(use_with flac libflac) \
$(use_enable vamp) \
$(use_with twolame libtwolame) \
$(use_with soundtouch) \
$(use_with libsamplerate) \
$(use_with alsa) \
$(use_with jack)
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die
# Remove bad doc install
rm -rf "${D}"/usr/share/doc
# Install our docs
dodoc README.txt
}
pkg_postinst() {
ewarn "For security reasons, audacity temporary directory"
ewarn "has been moved to your home directory."
ewarn "This version will not allow you to set it in /tmp"
ewarn "and will discard your preferences if it is there."
ewarn "See bug #199751 for more information."
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/audacity/audacity-1.3.5.ebuild,v 1.4 2008/07/15 16:23:42 ken69267 Exp $
inherit eutils wxwidgets autotools
IUSE="alsa flac id3tag jack ladspa libsamplerate mp3 soundtouch twolame vamp vorbis"
MY_P="${PN}-src-${PV}"
#MY_PA_P="pa_stable_v19_20071207"
DESCRIPTION="Free crossplatform audio editor"
HOMEPAGE="http://audacity.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
# http://www.portaudio.com/archives/${MY_PA_P}.tar.gz
# mirror://gentoo/${P}-portaudio-cvs-rev1.7.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 sparc x86"
RESTRICT="test"
COMMON_DEPEND="=x11-libs/wxGTK-2.8*
>=app-arch/zip-2.3
dev-libs/expat
>=media-libs/libsndfile-1.0.0
alsa? ( media-libs/alsa-lib )
jack? ( >=media-sound/jack-audio-connection-kit-0.103.0 )
soundtouch? ( >=media-libs/libsoundtouch-1.3.1 )
vorbis? ( >=media-libs/libvorbis-1.0 )
mp3? ( >=media-libs/libmad-0.14.2b )
id3tag? ( media-libs/libid3tag )
flac? ( media-libs/flac )
libsamplerate? ( >=media-libs/libsamplerate-0.1.2 )
vamp? ( media-libs/vamp-plugin-sdk )
twolame? ( media-sound/twolame )"
RDEPEND="${COMMON_DEPEND}
mp3? ( >=media-sound/lame-3.70 )"
DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}-beta"
pkg_setup() {
if use flac && ! built_with_use --missing true media-libs/flac cxx; then
eerror "To build ${PN} with flac support you need the C++ bindings for flac."
eerror "Please enable the cxx USE flag for media-libs/flac"
die "Missing FLAC C++ bindings."
fi
}
src_unpack() {
unpack ${A}
# einfo "Updating portaudio-v19 snapshot to ${MY_PA_P}"
# rm -r "${S}/lib-src/portaudio-v19" || die
# mv "${WORKDIR}/portaudio" "${S}/lib-src/portaudio-v19" || die
cd "${S}"
# cd lib-src/portaudio-v19
# epatch "${WORKDIR}/${P}-portaudio-cvs-rev1.7.patch"
# cd "${S}"
epatch "${FILESDIR}/${PN}-1.3.4-automagic.patch"
epatch "${FILESDIR}/${P}-cflags_with_non_standard_macros.patch"
epatch "${FILESDIR}/${P}-libtool22.patch"
eautoreconf
}
src_compile() {
WX_GTK_VER="2.8"
need-wxwidgets unicode
econf \
--with-libexpat=system \
--enable-unicode \
$(use_with ladspa) \
$(use_with vorbis libvorbis) \
$(use_with mp3 libmad) \
$(use_with id3tag libid3tag) \
$(use_with flac libflac) \
$(use_enable vamp) \
$(use_with twolame libtwolame) \
$(use_with soundtouch) \
$(use_with libsamplerate) \
$(use_with alsa) \
$(use_with jack)
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die
# Remove bad doc install
rm -rf "${D}"/usr/share/doc
# Install our docs
dodoc README.txt
}