Try fixing Audacity
svn path=/nixpkgs/trunk/; revision=25340
This commit is contained in:
parent
d22126580e
commit
d2b277fbd5
@ -1,18 +1,31 @@
|
|||||||
{ stdenv, fetchurl, wxGTK, pkgconfig, gettext, gtk, glib, zlib, perl, intltool,
|
{ 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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "audacity-1.3.7";
|
version = "1.3.12";
|
||||||
|
name = "audacity-${version}";
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-fPIC -lgtk-x11-2.0 -lglib-2.0 -lgobject-2.0 -lz";
|
NIX_CFLAGS_COMPILE = "-fPIC -lgtk-x11-2.0 -lglib-2.0 -lgobject-2.0 -lz";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/audacity/audacity-fullsrc-1.3.7.tar.bz2;
|
url = "mirror://sourceforge/audacity/audacity-minsrc-${version}-beta.tar.bz2";
|
||||||
sha256 = "0b4arafpdyjjk52l6n7aw518hzm65iv9w5g39jqr2bmvn6a9qivi";
|
sha256 = "f0f55839ca3013d2e43e5114c73d195bc34503685aeab683eafca4d1bbf3b768";
|
||||||
};
|
};
|
||||||
buildInputs = [ wxGTK pkgconfig gettext gtk glib zlib intltool perl
|
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 = {
|
meta = {
|
||||||
description = "Sound editor with graphical UI";
|
description = "Sound editor with graphical UI";
|
||||||
|
@ -3889,6 +3889,7 @@ let
|
|||||||
popt = callPackage ../development/libraries/popt { };
|
popt = callPackage ../development/libraries/popt { };
|
||||||
|
|
||||||
portaudio = callPackage ../development/libraries/portaudio { };
|
portaudio = callPackage ../development/libraries/portaudio { };
|
||||||
|
portaudioSVN = callPackage ../development/libraries/portaudio/svn-head.nix { };
|
||||||
|
|
||||||
proj = callPackage ../development/libraries/proj { };
|
proj = callPackage ../development/libraries/proj { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user