Add lv2 support

All builds, and the only change that's not a pure addition is to
ardour3, which Cillian maintains.

If there are future lv2 plugins coming, it may make sense to group them
somehow in all-packages.
This commit is contained in:
Shea Levy 2012-07-07 20:53:14 -04:00
commit 158e74fd43
9 changed files with 210 additions and 7 deletions

View File

@ -2,8 +2,8 @@
, fftwSinglePrec, flac, glib, glibmm, gtk, gtkmm, jackaudio
, libgnomecanvas, libgnomecanvasmm, liblo, libmad, libogg, librdf
, librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile
, libusb, libuuid, libxml2, libxslt, makeWrapper, pango, perl, pkgconfig
, python }:
, libusb, libuuid, libxml2, libxslt, lilv, lv2, makeWrapper, pango
, perl, pkgconfig, python, serd, sord, sratom, suil }:
let
# Ardour 3 Beta 4a
@ -19,11 +19,14 @@ stdenv.mkDerivation {
sha256 = "0a68xb3l36m5908y3airxw1b3bymhrjrf1l492mgcvviq6pn7pmk";
};
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 ];
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
];
patchPhase = ''
printf '#include "ardour/svn_revision.h"\nnamespace ARDOUR { const char* svn_revision = \"${rev}\"; }\n' > libs/ardour/svn_revision.cc

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, cairo, expat, glib, gtk, jackaudio, ladspaH
, libglade, lv2, pkgconfig }:
stdenv.mkDerivation rec {
name = "calf-${version}";
version = "0.0.18.6";
src = fetchurl {
url = "mirror://sourceforge/calf/${name}.tar.gz";
sha256 = "03w6jjkrr6w8da6qzd0x4dlkg295c6jxby500x4cj07wpbpk6irh";
};
buildInputs =
[ cairo jackaudio gtk glib expat libglade ladspaH lv2 pkgconfig ];
meta = with stdenv.lib; {
homepage = http://calf.sourceforge.net;
description = "A set of high quality open source audio plugins for musicians";
license = licenses.lgpl2;
maintainers = [ maintainers.goibhniu ];
};
}

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, sratom }:
stdenv.mkDerivation rec {
name = "lilv-${version}";
version = "0.14.2";
src = fetchurl {
url = "http://download.drobilla.net/${name}.tar.bz2";
sha256 = "0g9sg5f8xkkvsad0c6rh4j1k2b2hwsh83yg66f4qznxh43np7zlx";
};
buildInputs = [ lv2 pkgconfig python serd sord sratom ];
configurePhase = "python waf configure --prefix=$out";
buildPhase = "python waf";
installPhase = "python waf install";
meta = with stdenv.lib; {
homepage = http://drobilla.net/software/lilv;
description = "A C library to make the use of LV2 plugins";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
};
}

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl, gtk, libsndfile, pkgconfig, python }:
stdenv.mkDerivation rec {
name = "lv2-${version}";
version = "1.0.0";
src = fetchurl {
url = "http://lv2plug.in/spec/${name}.tar.bz2";
sha256 = "0lfp7679wwqd49k4mjxwqslpfx5fz2q7akxqayg400zqn70whzl5";
};
buildInputs = [ gtk libsndfile pkgconfig python ];
configurePhase = "python waf configure --prefix=$out";
buildPhase = "python waf";
installPhase = "python waf install";
meta = with stdenv.lib; {
homepage = http://lv2plug.in;
description = "A plugin standard for audio systems";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
};
}

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord }:
stdenv.mkDerivation rec {
name = "sratom-${version}";
version = "0.2.0";
src = fetchurl {
url = "http://download.drobilla.net/${name}.tar.bz2";
sha256 = "12wi0ycjnn6mlddcp476wzr6k2bb4ig1489gg8h1k7v0w7d6ry1a";
};
buildInputs = [ lv2 pkgconfig python serd sord ];
configurePhase = "python waf configure --prefix=$out";
buildPhase = "python waf";
installPhase = "python waf install";
meta = with stdenv.lib; {
homepage = http://drobilla.net/software/sratom;
description = "A library for serialising LV2 atoms to/from RDF";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
};
}

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, sratom }:
stdenv.mkDerivation rec {
name = "suil-${version}";
version = "0.6.2";
src = fetchurl {
url = "http://download.drobilla.net/${name}.tar.bz2";
sha256 = "1rqi16zqnaf30gr2gwb8wbhg8a2l3m5fllf7rabldmgj4b4jlyzp";
};
buildInputs = [ lv2 pkgconfig python serd sord sratom ];
configurePhase = "python waf configure --prefix=$out";
buildPhase = "python waf";
installPhase = "python waf install";
meta = with stdenv.lib; {
homepage = http://drobilla.net/software/suil;
description = "A lightweight C library for loading and wrapping LV2 plugin UIs";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
};
}

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl, pcre, pkgconfig, python }:
stdenv.mkDerivation rec {
name = "serd-${version}";
version = "0.14.0";
src = fetchurl {
url = "http://download.drobilla.net/${name}.tar.bz2";
sha256 = "023gsw0nwn2fh2vp7v2gwsmdwk6658zfl1ihdvr9xbayfcv88wlg";
};
buildInputs = [ pcre pkgconfig python ];
configurePhase = "python waf configure --prefix=$out";
buildPhase = "python waf";
installPhase = "python waf install";
meta = with stdenv.lib; {
homepage = http://drobilla.net/software/serd;
description = "A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
};
}

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl, pkgconfig, python, serd }:
stdenv.mkDerivation rec {
name = "sord-${version}";
version = "0.8.0";
src = fetchurl {
url = "http://download.drobilla.net/${name}.tar.bz2";
sha256 = "0ncaplfr3wal9h8h3lafw0bhx34w046r7md74djgrysrm2h77pwr";
};
buildInputs = [ pkgconfig python serd ];
configurePhase = "python waf configure --prefix=$out";
buildPhase = "python waf";
installPhase = "python waf install";
meta = with stdenv.lib; {
homepage = http://drobilla.net/software/sord;
description = "A lightweight C library for storing RDF data in memory";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
};
}

View File

@ -4625,6 +4625,10 @@ let
librdf = callPackage ../development/libraries/librdf { };
lilv = callPackage ../development/libraries/audio/lilv { };
lv2 = callPackage ../development/libraries/audio/lv2 { };
qrupdate = callPackage ../development/libraries/qrupdate { };
redland = pkgs.librdf_redland;
@ -4663,6 +4667,8 @@ let
SDL_ttf = callPackage ../development/libraries/SDL_ttf { };
serd = callPackage ../development/libraries/serd {};
simgear = callPackage ../development/libraries/simgear {};
sfml_git = callPackage ../development/libraries/sfml { };
@ -4685,6 +4691,8 @@ let
soqt = callPackage ../development/libraries/soqt { };
sord = callPackage ../development/libraries/sord {};
speechd = callPackage ../development/libraries/speechd { };
speech_tools = callPackage ../development/libraries/speech-tools {};
@ -4693,6 +4701,8 @@ let
sphinxbase = callPackage ../development/libraries/sphinxbase { };
sratom = callPackage ../development/libraries/audio/sratom { };
srtp = callPackage ../development/libraries/srtp {};
sqlite = lowPrio (callPackage ../development/libraries/sqlite {
@ -4717,6 +4727,8 @@ let
strigi = callPackage ../development/libraries/strigi {};
suil = callPackage ../development/libraries/audio/suil { };
suitesparse = callPackage ../development/libraries/suitesparse { };
sword = callPackage ../development/libraries/sword { };
@ -6357,6 +6369,10 @@ let
bvi = callPackage ../applications/editors/bvi { };
calf = callPackage ../applications/audio/calf {
inherit (gnome) libglade;
};
calibre = callPackage ../applications/misc/calibre { };
carrier = builderDefsPackage (import ../applications/networking/instant-messengers/carrier/2.5.0.nix) {