Updating audacity to 1.3.7 (I changed the builderDefs builder to stdenv's)
svn path=/nixpkgs/trunk/; revision=14770
This commit is contained in:
parent
8190c46e15
commit
f031955f3c
@ -1,36 +1,19 @@
|
|||||||
args: with args;
|
{ stdenv, fetchurl, wxGTK, pkgconfig, gettext, gtk, glib, zlib }:
|
||||||
let localDefs = builderDefs.passthru.function {
|
|
||||||
src =
|
|
||||||
fetchurl {
|
|
||||||
url = mirror://sourceforge/audacity/audacity-src-1.3.3.tar.gz;
|
|
||||||
sha256 = "17bjc2rnqspg1mbay4b1hhgg08iadapwf6w98gbv3r84rv1mhgls";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs =[(wxGTK null) libogg libvorbis libsndfile libmad pkgconfig gtk
|
|
||||||
gettext glib];
|
|
||||||
};
|
|
||||||
in with localDefs;
|
|
||||||
let
|
|
||||||
postInstall = FullDepEntry ("
|
|
||||||
old_rpath=$(patchelf --print-rpath \$out/bin/audacity);
|
|
||||||
patchelf --set-rpath \$old_rpath:${gtk}/lib:${glib}/lib \$out/bin/audacity;
|
|
||||||
") [minInit];
|
|
||||||
preBuild = FullDepEntry ("
|
|
||||||
sed -e '/\\/usr\\/local\\/lib\\/ladspa/awxGetApp()."+
|
|
||||||
"AddUniquePathToPathList(wxGetenv(wxT(\"HOME\"))+"+
|
|
||||||
"wxT(\"/.ladspa-plugins\"), pathList);'
|
|
||||||
|
|
||||||
") [minInit];
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "audacity-1.3.3";
|
name = "audacity-1.3.7";
|
||||||
|
|
||||||
builder = writeScript "audacity-1.3.3-builder"
|
NIX_CFLAGS_COMPILE = "-fPIC -lgtk-x11-2.0 -lglib-2.0 -lgobject-2.0 -lz";
|
||||||
(textClosure localDefs [addInputs (doDump "0") (noDepEntry "echo \$PATH; ar --version") doConfigure preBuild doMakeInstall postInstall doForceShare]);
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://sourceforge/audacity/audacity-fullsrc-1.3.7.tar.bz2;
|
||||||
|
sha256 = "1kashc6cc6d5g6i59nqcrl795x1jqdh0lpg3msa1wckfj3hpljmy";
|
||||||
|
};
|
||||||
|
buildInputs = [ wxGTK pkgconfig gettext gtk glib zlib ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Audacity sound editor.";
|
description = "Sound editor with graphical UI";
|
||||||
homepage = http://audacity.sourceforge.net;
|
homepage = http://audacity.sourceforge.net;
|
||||||
inherit src;
|
license = "GPLv2+";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -7691,11 +7691,9 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
audacity = import ../applications/audio/audacity {
|
audacity = import ../applications/audio/audacity {
|
||||||
inherit fetchurl stdenv libogg libvorbis libsndfile libmad
|
inherit fetchurl stdenv gettext pkgconfig zlib;
|
||||||
pkgconfig gettext;
|
|
||||||
inherit (gtkLibs) gtk glib;
|
inherit (gtkLibs) gtk glib;
|
||||||
wxGTK = wxGTK28deps;
|
wxGTK = wxGTK28;
|
||||||
inherit builderDefs stringsWithDeps;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
aumix = import ../applications/audio/aumix {
|
aumix = import ../applications/audio/aumix {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user