2009-05-12 06:26:22 +02:00
|
|
|
{ stdenv, fetchurl, wxGTK, pkgconfig, gettext, gtk, glib, zlib, perl, intltool,
|
2011-01-02 18:13:34 +01:00
|
|
|
libogg, libvorbis, libmad, alsaLib, libsndfile, libsamplerate, flac, lame,
|
2011-04-24 15:13:57 +02:00
|
|
|
expat, id3lib, ffmpeg, portaudio
|
2009-05-12 06:26:22 +02:00
|
|
|
}:
|
2007-10-29 11:52:04 +01:00
|
|
|
|
2011-01-02 18:13:34 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2011-04-24 15:13:57 +02:00
|
|
|
version = "1.3.13";
|
2011-01-02 18:13:34 +01:00
|
|
|
name = "audacity-${version}";
|
2009-03-30 09:33:31 +02:00
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-fPIC -lgtk-x11-2.0 -lglib-2.0 -lgobject-2.0 -lz";
|
2007-10-29 11:52:04 +01:00
|
|
|
|
2009-03-30 09:33:31 +02:00
|
|
|
src = fetchurl {
|
2011-01-02 18:13:34 +01:00
|
|
|
url = "mirror://sourceforge/audacity/audacity-minsrc-${version}-beta.tar.bz2";
|
2011-04-24 15:13:57 +02:00
|
|
|
sha256 = "4c2eda638e16e16dfddd202e86ccbe1d170b04c26cfb2c12ffcba0b79e7e1e83";
|
2009-03-30 09:33:31 +02:00
|
|
|
};
|
2009-05-12 06:26:22 +02:00
|
|
|
buildInputs = [ wxGTK pkgconfig gettext gtk glib zlib intltool perl
|
2011-01-02 18:13:34 +01:00
|
|
|
libogg libvorbis libmad alsaLib libsndfile libsamplerate flac lame
|
2011-04-24 15:13:57 +02:00
|
|
|
expat id3lib ffmpeg portaudio];
|
2011-01-02 18:13:34 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDisableStatic = true;
|
|
|
|
|
2007-10-29 11:52:04 +01:00
|
|
|
meta = {
|
2009-03-30 09:33:31 +02:00
|
|
|
description = "Sound editor with graphical UI";
|
2008-01-30 20:49:42 +01:00
|
|
|
homepage = http://audacity.sourceforge.net;
|
2009-03-30 09:33:31 +02:00
|
|
|
license = "GPLv2+";
|
2011-02-05 22:08:12 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2007-10-29 11:52:04 +01:00
|
|
|
};
|
|
|
|
}
|