Fixing the path to the ladspa effects plugins

svn path=/nixpkgs/trunk/; revision=33516
This commit is contained in:
Cillian de Roiste 2012-04-01 12:41:01 +00:00
parent 1a38734345
commit f5a502b714

View File

@ -1,6 +1,5 @@
{ stdenv, fetchurl,
alsaLib, boost, glib, jackaudio, libarchive, liblrdf, libsndfile,
pkgconfig, qt4, scons, subversion }:
{ stdenv, fetchurl, alsaLib, boost, glib, jackaudio, ladspaPlugins
, libarchive, liblrdf , libsndfile, pkgconfig, qt4, scons, subversion }:
stdenv.mkDerivation rec {
version = "0.9.5";
@ -12,12 +11,17 @@ stdenv.mkDerivation rec {
};
buildInputs = [
alsaLib boost glib jackaudio libarchive liblrdf libsndfile
pkgconfig qt4 scons subversion
alsaLib boost glib jackaudio ladspaPlugins libarchive liblrdf
libsndfile pkgconfig qt4 scons subversion
];
patches = [ ./scons-env.patch ];
postPatch = ''
sed -e 's#/usr/lib/ladspa#${ladspaPlugins}/lib/ladspa#' -i libs/hydrogen/src/preferences.cpp
sed '/\/usr/d' -i libs/hydrogen/src/preferences.cpp
'';
# why doesn't scons find librdf?
buildPhase = ''
scons prefix=$out libarchive=1 lrdf=0 install