Try fixing Audacity

svn path=/nixpkgs/trunk/; revision=25340
This commit is contained in:
Michael Raskin 2011-01-02 17:13:34 +00:00
parent d22126580e
commit d2b277fbd5
2 changed files with 20 additions and 6 deletions

View File

@ -1,18 +1,31 @@
{ stdenv, fetchurl, wxGTK, pkgconfig, gettext, gtk, glib, zlib, perl, intltool,
libogg, libvorbis, libmad
libogg, libvorbis, libmad, alsaLib, libsndfile, libsamplerate, flac, lame,
expat, id3lib, ffmpeg
}:
stdenv.mkDerivation {
name = "audacity-1.3.7";
stdenv.mkDerivation rec {
version = "1.3.12";
name = "audacity-${version}";
NIX_CFLAGS_COMPILE = "-fPIC -lgtk-x11-2.0 -lglib-2.0 -lgobject-2.0 -lz";
src = fetchurl {
url = mirror://sourceforge/audacity/audacity-fullsrc-1.3.7.tar.bz2;
sha256 = "0b4arafpdyjjk52l6n7aw518hzm65iv9w5g39jqr2bmvn6a9qivi";
url = "mirror://sourceforge/audacity/audacity-minsrc-${version}-beta.tar.bz2";
sha256 = "f0f55839ca3013d2e43e5114c73d195bc34503685aeab683eafca4d1bbf3b768";
};
buildInputs = [ wxGTK pkgconfig gettext gtk glib zlib intltool perl
libogg libvorbis libmad];
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)
'';
meta = {
description = "Sound editor with graphical UI";

View File

@ -3889,6 +3889,7 @@ let
popt = callPackage ../development/libraries/popt { };
portaudio = callPackage ../development/libraries/portaudio { };
portaudioSVN = callPackage ../development/libraries/portaudio/svn-head.nix { };
proj = callPackage ../development/libraries/proj { };