From 87849b8e47931c5341078bc85e24bdd491229063 Mon Sep 17 00:00:00 2001 From: tresf Date: Tue, 28 Aug 2018 22:01:10 -0400 Subject: [PATCH] carla 1.9.9 (new formula) Closes #31560. Signed-off-by: FX Coudert --- Formula/carla.rb | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Formula/carla.rb diff --git a/Formula/carla.rb b/Formula/carla.rb new file mode 100644 index 000000000000..3ccd40021202 --- /dev/null +++ b/Formula/carla.rb @@ -0,0 +1,28 @@ +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.9.tar.gz" + sha256 "13cff6febb0879190e4e8906f8cbb0e6a61ac1344cd8dbec0331598b59576548" + + 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