1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

faust: add various faust2appl scripts

This commit is contained in:
Patrick Mahoney 2015-03-23 12:01:27 -05:00
parent 04c96957ca
commit 7503d606e4
8 changed files with 148 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{ faust
, alsaLib
, qt4
}:
faust.wrapWithBuildEnv {
baseName = "faust2alqt";
propagatedBuildInputs = [
alsaLib
qt4
];
}

View file

@ -0,0 +1,29 @@
{ faust
, alsaLib
, atk
, cairo
, fontconfig
, freetype
, gdk_pixbuf
, glib
, gtk
, pango
}:
faust.wrapWithBuildEnv {
baseName = "faust2alsa";
propagatedBuildInputs = [
alsaLib
atk
cairo
fontconfig
freetype
gdk_pixbuf
glib
gtk
pango
];
}

View file

@ -0,0 +1,20 @@
{ faust
, csound
}:
faust.wrapWithBuildEnv {
baseName = "faust2csound";
propagatedBuildInputs = [
csound
];
# faust2csound generated .cpp files have
# #include "csdl.h"
# but that file is in the csound/ subdirectory
preFixup = ''
NIX_CFLAGS_COMPILE="$(printf '%s' "$NIX_CFLAGS_COMPILE" | sed 's%${csound}/include%${csound}/include/csound%')"
'';
}

View file

@ -0,0 +1,14 @@
{ faust
, xdg_utils
}:
# This just runs faust2svg, then attempts to open a browser using
# 'xdg-open'.
faust.wrap {
baseName = "faust2firefox";
runtimeInputs = [ xdg_utils ];
}

View file

@ -0,0 +1,23 @@
{ faust
, gtk
, jack2
, opencv
}:
faust.wrapWithBuildEnv {
baseName = "faust2jack";
scripts = [
"faust2jack"
"faust2jackinternal"
"faust2jackconsole"
];
propagatedBuildInputs = [
gtk
jack2
opencv
];
}

View file

@ -0,0 +1,22 @@
{ faust
, jack2
, opencv
, qt4
}:
faust.wrapWithBuildEnv {
baseName = "faust2jaqt";
scripts = [
"faust2jaqt"
"faust2jackserver"
];
propagatedBuildInputs = [
jack2
opencv
qt4
];
}

View file

@ -0,0 +1,11 @@
{ faust
, lv2
}:
faust.wrapWithBuildEnv {
baseName = "faust2lv2";
propagatedBuildInputs = [ lv2 ];
}

View file

@ -13518,6 +13518,20 @@ let
faust = callPackage ../applications/audio/faust { };
faust2alqt = callPackage ../applications/audio/faust/faust2alqt.nix { };
faust2alsa = callPackage ../applications/audio/faust/faust2alsa.nix { };
faust2csound = callPackage ../applications/audio/faust/faust2csound.nix { };
faust2firefox = callPackage ../applications/audio/faust/faust2firefox.nix { };
faust2jack = callPackage ../applications/audio/faust/faust2jack.nix { };
faust2jaqt = callPackage ../applications/audio/faust/faust2jaqt.nix { };
faust2lv2 = callPackage ../applications/audio/faust/faust2lv2.nix { };
fceux = callPackage ../misc/emulators/fceux { };
foldingathome = callPackage ../misc/foldingathome { };