VoiceOfFaust: 1.1.4 -> 1.1.5
This commit is contained in:
parent
3119041421
commit
89ddcdf40d
1 changed files with 11 additions and 28 deletions
|
@ -1,13 +1,13 @@
|
|||
{ lib, stdenv, fetchFromGitHub, faust2jack, faust2lv2, helmholtz, mrpeach, puredata-with-plugins }:
|
||||
{ lib, stdenv, fetchFromGitHub, faust2jack, faust2lv2, helmholtz, mrpeach, puredata-with-plugins, jack-example-tools }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "VoiceOfFaust";
|
||||
version = "1.1.4";
|
||||
version = "1.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "magnetophon";
|
||||
repo = "VoiceOfFaust";
|
||||
rev = "V${version}";
|
||||
sha256 = "0la9b806qwrlsxgbir7n1db8v3w24wmd6k43p6qpr1fjjpkhrrgw";
|
||||
rev = version;
|
||||
sha256 = "sha256-vB8+ymvNuuovFXwOJ3BTIj5mGzCGa1+yhYs4nWMYIxU=";
|
||||
};
|
||||
|
||||
plugins = [ helmholtz mrpeach ];
|
||||
|
@ -16,35 +16,18 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ faust2jack faust2lv2 ];
|
||||
|
||||
runtimeInputs = [ pitchTracker ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i "s@pd -nodac@${pitchTracker}/bin/pd -nodac@g" launchers/synthWrapper
|
||||
sed -i "s@../PureData/OscSendVoc.pd@$out/PureData/OscSendVoc.pd@g" launchers/pitchTracker
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
sh install.sh
|
||||
# so it doesn;t end up in /bin/ :
|
||||
rm -f install.sh
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
for f in $(find . -executable -type f); do
|
||||
cp $f $out/bin/
|
||||
done
|
||||
|
||||
cp launchers/* $out/bin/
|
||||
mkdir $out/PureData/
|
||||
# cp PureData/OscSendVoc.pd $out/PureData/OscSendVoc.pd
|
||||
cp PureData/* $out/PureData/
|
||||
|
||||
mkdir -p $out/lib/lv2
|
||||
cp -r *.lv2/ $out/lib/lv2
|
||||
sed -i "s@jack_connect@${jack-example-tools}/bin/jack_connect@g" launchers/synthWrapper
|
||||
sed -i "s@../PureData/OscSendVoc.pd@$out/bin/PureData/OscSendVoc.pd@g" launchers/pitchTracker
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue