Alpha 2 is quite old, and they haven't tagged Alpha 3 or 4 so updating to a recent revision instead
svn path=/nixpkgs/trunk/; revision=27204
This commit is contained in:
parent
fdf6512c14
commit
e56d84e541
|
@ -4,13 +4,17 @@ libgnomecanvas, libgnomecanvasmm, liblo, libmad, libogg, librdf,
|
||||||
librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile,
|
librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile,
|
||||||
libusb, libuuid, libxml2, libxslt, pango, perl, pkgconfig, python }:
|
libusb, libuuid, libxml2, libxslt, pango, perl, pkgconfig, python }:
|
||||||
|
|
||||||
|
let
|
||||||
|
rev = "9484";
|
||||||
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ardour-3.0-alpha2";
|
name = "ardour-3.0-${rev}";
|
||||||
|
|
||||||
src = fetchsvn {
|
src = fetchsvn {
|
||||||
url = http://subversion.ardour.org/svn/ardour2/tags/3.0-alpha2;
|
url = http://subversion.ardour.org/svn/ardour2/branches/3.0;
|
||||||
rev = 9198;
|
inherit rev;
|
||||||
sha256 = "1ghz1fd07bpp2696z0yx3ci787c7wh0bwnbrpjhx2hx0zl3brc1h";
|
sha256 = "13j490kw66sslxibfab8hmm2k6gapvsriqa4av02y438dr1k4skf";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ alsaLib aubio boost cairomm curl fftw fftwSinglePrec
|
buildInputs = [ alsaLib aubio boost cairomm curl fftw fftwSinglePrec
|
||||||
|
@ -20,7 +24,7 @@ stdenv.mkDerivation {
|
||||||
libxml2 libxslt pango perl pkgconfig python ];
|
libxml2 libxslt pango perl pkgconfig python ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
printf '#include "ardour/svn_revision.h"\nnamespace ARDOUR { const char* svn_revision = \"9198\"; }\n' > libs/ardour/svn_revision.cc
|
printf '#include "ardour/svn_revision.h"\nnamespace ARDOUR { const char* svn_revision = \"${rev}\"; }\n' > libs/ardour/svn_revision.cc
|
||||||
sed -e 's|^#!/usr/bin/perl.*$|#!${perl}/bin/perl|g' -i tools/fmt-bindings
|
sed -e 's|^#!/usr/bin/perl.*$|#!${perl}/bin/perl|g' -i tools/fmt-bindings
|
||||||
sed -e 's|^#!/usr/bin/env.*$|#!${perl}/bin/perl|g' -i tools/*.pl
|
sed -e 's|^#!/usr/bin/env.*$|#!${perl}/bin/perl|g' -i tools/*.pl
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue