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,
|
|
|
|
expat, id3lib, ffmpeg
|
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 {
|
|
|
|
version = "1.3.12";
|
|
|
|
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";
|
|
|
|
sha256 = "f0f55839ca3013d2e43e5114c73d195bc34503685aeab683eafca4d1bbf3b768";
|
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
|
|
|
|
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 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+";
|
2007-10-29 11:52:04 +01:00
|
|
|
};
|
|
|
|
}
|