mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
Fixing the path to the ladspa effects plugins
svn path=/nixpkgs/trunk/; revision=33516
This commit is contained in:
parent
1a38734345
commit
f5a502b714
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user