2009-05-12 05:26:22 +01:00
|
|
|
{ stdenv, fetchurl, wxGTK, pkgconfig, gettext, gtk, glib, zlib, perl, intltool,
|
2011-01-02 17:13:34 +00:00
|
|
|
libogg, libvorbis, libmad, alsaLib, libsndfile, libsamplerate, flac, lame,
|
|
|
|
expat, id3lib, ffmpeg
|
2009-05-12 05:26:22 +01:00
|
|
|
}:
|
2007-10-29 10:52:04 +00:00
|
|
|
|
2011-01-02 17:13:34 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.3.12";
|
|
|
|
name = "audacity-${version}";
|
2009-03-30 08:33:31 +01:00
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-fPIC -lgtk-x11-2.0 -lglib-2.0 -lgobject-2.0 -lz";
|
2007-10-29 10:52:04 +00:00
|
|
|
|
2009-03-30 08:33:31 +01:00
|
|
|
src = fetchurl {
|
2011-01-02 17:13:34 +00:00
|
|
|
url = "mirror://sourceforge/audacity/audacity-minsrc-${version}-beta.tar.bz2";
|
|
|
|
sha256 = "f0f55839ca3013d2e43e5114c73d195bc34503685aeab683eafca4d1bbf3b768";
|
2009-03-30 08:33:31 +01:00
|
|
|
};
|
2009-05-12 05:26:22 +01:00
|
|
|
buildInputs = [ wxGTK pkgconfig gettext gtk glib zlib intltool perl
|
2011-01-02 17:13:34 +00:00
|
|
|
libogg libvorbis libmad alsaLib libsndfile libsamplerate flac lame
|
|
|
|
expat id3lib ffmpeg];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-portmixer=no"
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDisableStatic = true;
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
(cd lib-src ; make portaudio-v19/lib/libportaudio.a ; ln -sf portaudio-v19/lib/.libs/libportaudio.a portaudio-v19/lib/libportaudio.a)
|
|
|
|
'';
|
2007-10-29 10:52:04 +00:00
|
|
|
|
|
|
|
meta = {
|
2009-03-30 08:33:31 +01:00
|
|
|
description = "Sound editor with graphical UI";
|
2008-01-30 19:49:42 +00:00
|
|
|
homepage = http://audacity.sourceforge.net;
|
2009-03-30 08:33:31 +01:00
|
|
|
license = "GPLv2+";
|
2011-02-05 21:08:12 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2007-10-29 10:52:04 +00:00
|
|
|
};
|
|
|
|
}
|