3
0
Fork 0
forked from mirrors/nixpkgs

fix faust2jaqt packages:

copy both the binary and the wrapper
dontWrapQtApps = true;
This commit is contained in:
Bart Brouns 2023-04-11 00:41:12 +02:00
parent d58c684ecf
commit bfded40047
13 changed files with 60 additions and 22 deletions

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [ faust2jaqt faust2lv2 ];
dontWrapQtApps = true;
buildPhase = ''
cd examples/physicalModeling

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [ faust2jaqt faust2lv2 ];
dontWrapQtApps = true;
buildPhase = ''
faust2jaqt -vec -time -t 99999 CharacterCompressor.dsp
faust2jaqt -vec -time -t 99999 CharacterCompressorMono.dsp
@ -21,8 +23,9 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
cp CharacterCompressor $out/bin/
cp CharacterCompressorMono $out/bin/
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
mkdir -p $out/lib/lv2
cp -r CharacterCompressor.lv2/ $out/lib/lv2
cp -r CharacterCompressorMono.lv2/ $out/lib/lv2

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [ faust2jaqt faust2lv2 ];
dontWrapQtApps = true;
buildPhase = ''
for f in *.dsp;
do
@ -28,8 +30,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib/lv2
mv *.lv2/ $out/lib/lv2
mkdir -p $out/bin
for f in $(find . -executable -type f);
do
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
'';

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [ faust2jaqt faust2lv2 ];
dontWrapQtApps = true;
buildPhase = ''
faust2jaqt -time -vec -t 99999 ConstantDetuneChorus.dsp
faust2lv2 -time -vec -t 99999 -gui ConstantDetuneChorus.dsp
@ -19,7 +21,9 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
cp ConstantDetuneChorus $out/bin/
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
mkdir -p $out/lib/lv2
cp -r ConstantDetuneChorus.lv2/ $out/lib/lv2
'';

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [ faust2jaqt faust2lv2 ];
dontWrapQtApps = true;
buildPhase = ''
faust2jaqt -vec -time -t 99999 LazyLimiter.dsp
faust2lv2 -vec -time -t 99999 -gui LazyLimiter.dsp
@ -19,7 +21,9 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
cp LazyLimiter $out/bin/
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
mkdir -p $out/lib/lv2
cp -r LazyLimiter.lv2/ $out/lib/lv2
'';

View file

@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
buildInputs = [ faust2jaqt faust2lv2 ];
dontWrapQtApps = true;
buildPhase = ''
faust2jaqt -time -vec -t 99999 MBdistortion.dsp
faust2lv2 -time -vec -gui -t 99999 MBdistortion.dsp
@ -26,7 +28,9 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
cp MBdistortion $out/bin/
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
mkdir -p $out/lib/lv2
cp -r MBdistortion.lv2/ $out/lib/lv2
'';

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [ faust2jaqt faust2lv2 ];
dontWrapQtApps = true;
buildPhase = ''
faust2jaqt -time -vec -t 99999 RhythmDelay.dsp
faust2lv2 -time -vec -t 99999 -gui RhythmDelay.dsp
@ -19,7 +21,9 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
cp RhythmDelay $out/bin/
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
mkdir -p $out/lib/lv2
cp -r RhythmDelay.lv2/ $out/lib/lv2
'';

View file

@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
runtimeInputs = [ pitchTracker ];
dontWrapQtApps = true;
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
@ -32,10 +34,8 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
for file in ./*; do
if test -x "$file" && test -f "$file"; then
cp "$file" "$out/bin"
fi
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
cp launchers/* $out/bin/

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [ faust2jaqt faust2lv2 ];
dontWrapQtApps = true;
buildPhase = ''
echo "hack out autoComp.dsp due to https://github.com/grame-cncm/faust/407/issues "
rm autoComp.dsp
@ -33,8 +35,7 @@ stdenv.mkDerivation rec {
mv *.lv2/ $out/lib/lv2
mkdir -p $out/bin
rm newlib.sh
for f in $(find . -executable -type f);
do
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
'';

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [ faust2jaqt faust2lv2 ];
dontWrapQtApps = true;
buildPhase = ''
for f in *.dsp
do
@ -28,8 +30,10 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib/lv2
mv *.lv2/ $out/lib/lv2
mkdir -p $out/bin
cp * $out/bin/
'';
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
'';
meta = {
description = "Some simple utility lv2 plugins";

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [ faust2jaqt faust2lv2 ];
dontWrapQtApps = true;
buildPhase = ''
faust2jaqt -vec -double -time -t 99999 shelfMultiBand.dsp
faust2jaqt -vec -double -time -t 99999 shelfMultiBandMono.dsp
@ -21,8 +23,9 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
cp shelfMultiBand $out/bin/
cp shelfMultiBandMono $out/bin/
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
mkdir -p $out/lib/lv2
cp -r shelfMultiBand.lv2/ $out/lib/lv2
cp -r shelfMultiBandMono.lv2/ $out/lib/lv2

View file

@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
patchPhase = "mv ${pname}_faust.dsp ${pname}.dsp";
dontWrapQtApps = true;
buildPhase = ''
faust2jaqt -time -vec -t 0 ${pname}.dsp
faust2lv2 -time -vec -t 0 -gui ${pname}.dsp
@ -21,9 +23,11 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
cp ${pname} $out/bin/
mkdir -p $out/lib/lv2
cp -r ${pname}.lv2 $out/lib/lv2
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
mkdir -p $out/lib/lv2
cp -r ${pname}.lv2 $out/lib/lv2
'';
meta = {

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [ faust2jaqt faust2lv2 ];
dontWrapQtApps = true;
buildPhase = ''
faust2jaqt -vec -time -t 99999 ${pname}.dsp
faust2lv2 -vec -time -gui -t 99999 ${pname}.dsp
@ -19,7 +21,9 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
cp ${pname} $out/bin/
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
mkdir -p $out/lib/lv2
cp -r ${pname}.lv2/ $out/lib/lv2
'';