faust 2.15.11 (new formula)

Closes #43752.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
master
Nathan Whetsell 2019-09-01 14:34:28 -04:00 committed by FX Coudert
parent c8f2de420c
commit 4fbafa8a5e
1 changed files with 26 additions and 0 deletions

26
Formula/faust.rb Normal file
View File

@ -0,0 +1,26 @@
class Faust < Formula
desc "Functional programming language for real time signal processing"
homepage "https://faust.grame.fr"
url "https://github.com/grame-cncm/faust/releases/download/2.15.11/faust-2.15.11.tar.gz"
sha256 "660816b7fa44da718868d895a82f18f4a441c347bc39afc20a651124f5711d5c"
depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "libmicrohttpd"
depends_on "libsndfile"
depends_on "llvm"
def install
system "make", "world"
system "make", "install", "PREFIX=#{prefix}"
end
test do
(testpath/"noise.dsp").write <<~EOS
import("stdfaust.lib");
process = no.noise;
EOS
system "#{bin}/faust", "noise.dsp"
end
end