2012-04-01 19:31:28 +01: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
|
2012-07-05 22:29:45 +01:00
|
|
|
, libusb, libuuid, libxml2, libxslt, lilv, lv2, makeWrapper, pango
|
|
|
|
, perl, pkgconfig, python, serd, sord, sratom, suil }:
|
2011-05-01 15:45:52 +01:00
|
|
|
|
2011-05-09 21:27:06 +01:00
|
|
|
let
|
2012-07-27 23:35:39 +01:00
|
|
|
# Ardour 3 Beta 5
|
|
|
|
rev = "13072";
|
2011-05-09 21:27:06 +01:00
|
|
|
in
|
|
|
|
|
2011-05-01 15:45:52 +01:00
|
|
|
stdenv.mkDerivation {
|
2011-07-31 15:52:42 +01:00
|
|
|
name = "ardour3-svn-${rev}";
|
2011-05-01 15:45:52 +01:00
|
|
|
|
|
|
|
src = fetchsvn {
|
2012-05-26 18:29:31 +01:00
|
|
|
url = http://subversion.ardour.org/svn/ardour2/branches/3.0;
|
2011-05-09 21:27:06 +01:00
|
|
|
inherit rev;
|
2012-07-27 23:35:39 +01:00
|
|
|
sha256 = "17k990kdb5q17z6jcz5b60imvvfbjw9zfxzy9fk0vg8gd6yq7736";
|
2011-05-01 15:45:52 +01:00
|
|
|
};
|
|
|
|
|
2012-07-05 22:29:45 +01: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 lilv lv2 pango perl pkgconfig python serd sord
|
|
|
|
sratom suil
|
|
|
|
];
|
2011-05-01 15:45:52 +01:00
|
|
|
|
|
|
|
patchPhase = ''
|
2011-05-09 21:27:06 +01:00
|
|
|
printf '#include "ardour/svn_revision.h"\nnamespace ARDOUR { const char* svn_revision = \"${rev}\"; }\n' > libs/ardour/svn_revision.cc
|
2011-05-01 15:45:52 +01: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";
|
|
|
|
|
2012-04-01 19:31:28 +01:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -pv $out/gtk-2.0/2.10.0/engines
|
|
|
|
mv lib/ardour3/libclearlooks.so $out/gtk-2.0/2.10.0/engines/
|
|
|
|
wrapProgram $out/bin/ardour3 --prefix GTK_PATH : $out/gtk-2.0
|
|
|
|
'';
|
|
|
|
|
2011-05-01 15:45:52 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|