2011-05-01 16:45:52 +02:00
|
|
|
{ stdenv, fetchsvn, alsaLib, aubio, boost, cairomm, curl, fftw,
|
|
|
|
fftwSinglePrec, flac, glib, glibmm, gtk, gtkmm, jackaudio,
|
|
|
|
libgnomecanvas, libgnomecanvasmm, liblo, libmad, libogg, librdf,
|
|
|
|
librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile,
|
|
|
|
libusb, libuuid, libxml2, libxslt, pango, perl, pkgconfig, python }:
|
|
|
|
|
2011-05-09 22:27:06 +02:00
|
|
|
let
|
2012-03-20 19:41:03 +01:00
|
|
|
rev = "11483";
|
2011-05-09 22:27:06 +02:00
|
|
|
in
|
|
|
|
|
2011-05-01 16:45:52 +02:00
|
|
|
stdenv.mkDerivation {
|
2011-07-31 16:52:42 +02:00
|
|
|
name = "ardour3-svn-${rev}";
|
2011-05-01 16:45:52 +02:00
|
|
|
|
|
|
|
src = fetchsvn {
|
2012-03-20 19:41:03 +01:00
|
|
|
url = http://subversion.ardour.org/svn/ardour2/tags/3.0-beta3;
|
2011-05-09 22:27:06 +02:00
|
|
|
inherit rev;
|
2012-03-20 19:41:03 +01:00
|
|
|
sha256 = "02az11lvfbln475np9jyfkdlrkpp1pszjmk6gl75wq6ws08dd7rd";
|
2011-05-01 16:45:52 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ alsaLib aubio boost cairomm curl fftw fftwSinglePrec
|
|
|
|
flac glib glibmm gtk gtkmm jackaudio libgnomecanvas
|
|
|
|
libgnomecanvasmm liblo libmad libogg librdf librdf_raptor
|
|
|
|
librdf_rasqal libsamplerate libsigcxx libsndfile libusb libuuid
|
|
|
|
libxml2 libxslt pango perl pkgconfig python ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
2011-05-09 22:27:06 +02:00
|
|
|
printf '#include "ardour/svn_revision.h"\nnamespace ARDOUR { const char* svn_revision = \"${rev}\"; }\n' > libs/ardour/svn_revision.cc
|
2011-05-01 16:45:52 +02:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
|
|
|
configurePhase = "python waf configure --prefix=$out";
|
|
|
|
|
|
|
|
buildPhase = "python waf";
|
|
|
|
|
|
|
|
installPhase = "python waf install";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Multi-track hard disk recording software";
|
|
|
|
longDescription = ''
|
|
|
|
Also read "The importance of Paying Something" on their homepage, please!
|
|
|
|
'';
|
|
|
|
homepage = http://ardour.org/;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|