Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
carla: add reqeusted corrections
  • Loading branch information
tresf committed Sep 5, 2018
commit 35a2e74d857c2acedd299b9a7ebaa3f0a986d6b3
17 changes: 9 additions & 8 deletions Formula/carla.rb
Original file line number Diff line number Diff line change
@@ -1,27 +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", :using => :git, :tag => "v1.9.9", :revision => "c03571a9ef95ac0e9564b95347f5de819aa7fb54"
revision 0
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 :macos => :mavericks
depends_on "pyqt"
depends_on "python"

def install
args = %W[
PREFIX=#{prefix}
]
args = []
if ENV.compiler == :clang and MacOS.version <= :mountain_lion
args << "MACOS_OLD=true"
end

system "make"
system "make", "install", *args
system "make", *args
system "make", "install", "PREFIX=#{prefix}"
end

test do
system bin/"carla", "--version"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance of a test that exercises a deeper level of functionality? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The library author confirms carla --version is adequate (it uses pyqt, so this will show errors if compilation failed). He's provided me a subsequent test... system bin/"carla-discovery-native", internal, :all. It will be tested locally and added to this PR.

system bin/"carla-discovery-native", internal, :all
end
end