homebrew-core/Formula/carla.rb

36 lines
1.1 KiB
Ruby
Raw Normal View History

class Carla < Formula
desc "Audio plugin host supporting LADSPA, LV2, VST2/3, SF2 and more"
homepage "https://kxstudio.linuxaudio.org/Applications:Carla"
url "https://github.com/falkTX/Carla/archive/v1.9.11.tar.gz"
sha256 "b79e13f204309c6cafdb51a753314732898a5c37b502e3f922d283a1b94bfea5"
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
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