2018-08-29 02:01:10 +00:00
|
|
|
class Carla < Formula
|
|
|
|
desc "Audio plugin host supporting LADSPA, LV2, VST2/3, SF2 and more"
|
|
|
|
homepage "https://kxstudio.linuxaudio.org/Applications:Carla"
|
2018-11-02 23:26:13 +00:00
|
|
|
url "https://github.com/falkTX/Carla/archive/v1.9.12.tar.gz"
|
|
|
|
sha256 "f4711cb857ea5c409b4602ab2254956d4f24311ed292048f9013163c953e0f30"
|
2018-08-29 02:01:10 +00:00
|
|
|
|
2018-09-14 10:24:09 +00:00
|
|
|
bottle do
|
2018-09-17 17:26:43 +00:00
|
|
|
sha256 "ddb9025f85cf9ca17196e925c7a7740a11de4cb1eda8a5a023062b7afdd40250" => :mojave
|
|
|
|
sha256 "45ba611e4561f9517bee5f6ea23205513918d17b842e455e14ead3c94537e677" => :high_sierra
|
|
|
|
sha256 "8bb3273617fc9022664f1b00a3e122ca6d815c293266fc630f8698fdf1e1db3f" => :sierra
|
|
|
|
sha256 "4106e1d3fd40b994df4303f5b70a189258305ee5b82aa2946d47bda8bfd91be4" => :el_capitan
|
2018-09-14 10:24:09 +00:00
|
|
|
end
|
|
|
|
|
2018-08-29 02:01:10 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "fluid-synth"
|
|
|
|
depends_on "liblo"
|
|
|
|
depends_on "libmagic"
|
|
|
|
depends_on "pyqt"
|
|
|
|
depends_on "python"
|
|
|
|
|
|
|
|
def install
|
|
|
|
args = []
|
|
|
|
if ENV.compiler == :clang && MacOS.version <= :mountain_lion
|
|
|
|
args << "MACOS_OLD=true"
|
|
|
|
end
|
|
|
|
|
|
|
|
system "make", *args
|
|
|
|
system "make", "install", "PREFIX=#{prefix}"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"carla", "--version"
|
|
|
|
system lib/"carla/carla-discovery-native", "internal", ":all"
|
|
|
|
end
|
|
|
|
end
|