2013-03-02 21:17:30 +01:00
|
|
|
{ stdenv, fetchurl, scons, boost, pkgconfig, fftw, librdf_raptor2
|
2010-07-28 17:35:01 +02:00
|
|
|
, librdf_rasqal, jackaudio, flac, libsamplerate, alsaLib, libxml2
|
2013-03-02 21:17:30 +01:00
|
|
|
, lilv, lv2, serd, sord, sratom, suil # these are probably optional
|
2010-07-28 17:35:01 +02:00
|
|
|
, libxslt, libsndfile, libsigcxx, libusb, cairomm, glib, pango
|
2013-03-02 21:17:30 +01:00
|
|
|
, gtk, glibmm, gtkmm, libgnomecanvas, libgnomecanvasmm, liblo, aubio
|
|
|
|
, fftwSinglePrec, libmad, automake, autoconf, libtool, liblrdf, curl }:
|
2009-09-21 17:55:24 +02:00
|
|
|
|
2012-03-16 23:28:21 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ardour-${version}";
|
2013-03-02 21:17:30 +01:00
|
|
|
version = "2.8.16";
|
2009-09-21 11:58:41 +02:00
|
|
|
|
2013-03-02 21:17:30 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gentoo/distfiles/${name}.tar.bz2";
|
|
|
|
sha256 = "0h2y0x4yznalllja53anjil2gmgcb26f39zshc4gl1d1kc8k5vip";
|
2009-09-21 17:55:24 +02:00
|
|
|
};
|
2009-09-21 11:58:41 +02:00
|
|
|
|
2013-03-02 21:17:30 +01:00
|
|
|
postPatch = ''
|
|
|
|
#sed -e "s#/usr/bin/which#type -P#" -i libs/glibmm2/autogen.sh
|
2012-03-16 23:28:21 +01:00
|
|
|
echo '#include "ardour/svn_revision.h"' > libs/ardour/svn_revision.cc
|
|
|
|
echo -e 'namespace ARDOUR {\n extern const char* svn_revision = "2.8.12";\n }\n' >> libs/ardour/svn_revision.cc
|
|
|
|
'';
|
|
|
|
|
2009-09-21 11:58:41 +02:00
|
|
|
buildInputs = [
|
2013-03-02 21:17:30 +01:00
|
|
|
scons boost pkgconfig fftw librdf_raptor2 librdf_rasqal jackaudio
|
2010-07-28 17:35:01 +02:00
|
|
|
flac libsamplerate alsaLib libxml2 libxslt libsndfile libsigcxx
|
2013-03-02 21:17:30 +01:00
|
|
|
#lilv lv2 serd sord sratom suil
|
|
|
|
libusb cairomm glib pango gtk glibmm gtkmm libgnomecanvas libgnomecanvasmm liblrdf
|
|
|
|
liblo aubio fftwSinglePrec libmad autoconf automake libtool curl
|
2009-09-21 11:58:41 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out
|
2009-09-21 11:58:41 +02:00
|
|
|
export CXX=g++
|
2013-03-02 21:17:30 +01:00
|
|
|
scons PREFIX=$out SYSLIBS=1 install
|
2009-09-21 11:58:41 +02:00
|
|
|
'';
|
2013-03-02 21:17:30 +01:00
|
|
|
|
2009-09-21 11:58:41 +02:00
|
|
|
installPhase = ":";
|
|
|
|
|
2013-03-02 21:17:30 +01:00
|
|
|
meta = {
|
2010-02-11 15:31:49 +01:00
|
|
|
description = "Multi-track hard disk recording software";
|
2009-09-21 11:58:41 +02:00
|
|
|
longDescription = ''
|
2012-03-20 19:53:01 +01:00
|
|
|
Broken: use ardour3-svn instead
|
2010-02-11 15:31:49 +01:00
|
|
|
Also read "The importance of Paying Something" on their homepage, please!
|
2009-09-21 11:58:41 +02:00
|
|
|
'';
|
|
|
|
homepage = http://ardour.org/;
|
|
|
|
license = "GPLv2";
|
2010-07-28 17:35:01 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-09-21 11:58:41 +02:00
|
|
|
};
|
|
|
|
}
|