-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
carla 1.9.9 (new formula) #31560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
carla 1.9.9 (new formula) #31560
Conversation
|
I'm going on https://docs.brew.sh/Formula-Cookbook, which clearly says:
... which is desired for Carla. Please offer guidance. |
|
|
http://kxstudio.linuxaudio.org/Applications:Carla#Download Upstream distributes this as an |
The purpose of this formula is to provide it as a build dependency offering It is not meant to replace the app, it's meant for developers to build applications against so that they can use the Carla application in a project. Please advise. Also, please help answer the question about " |
|
Reopening so other maintainers can comment on it.
See #31510. The formula should have not have optional or recommended dependencies, choose which ones are popular/useful and require them. |
Done, thanks.
Thank you. For context, if useful: LMMS/lmms#2689 (comment) |
|
Formula/carla.rb
Outdated
| depends_on "fluid-synth" | ||
| depends_on "liblo" | ||
| depends_on "libmagic" | ||
| depends_on :macos => :mavericks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
He's patched this in master, but not in the stable. Should I include the patch now and remove the depends_on :macos => :mavericks flag so that the next version works without formula changes? Please advise.
The update will look something like this:
def install
args = []
# Fix C++11 compilation
if :macos < :mavericks?
args << "MACOS_OLD=true"
end
system "make", *args
system "make", "install", "PREFIX=#{prefix}"
endThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per 35a2e74, I've gone ahead and removed this restriction in favor of the MACOS_OLD flag. The developer says this flag will remain for the foreseeable future.
| end | ||
|
|
||
| test do | ||
| system bin/"carla", "--version" |
There was a problem hiding this comment.
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!
There was a problem hiding this comment.
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.
|
All recent conversation points have been addressed in 35a2e74. Please let me know if there are any further improvements required. |
|
The |
Done via 24cf812. |
|
@BrewTestBot test this please |
|
Thanks @tresf for the pull request! |
brew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingbrew install <formula>)?Adds Carla, an audio plugin host for several audio plugin formats (LV2, VST, etc).
Also adds
pkg-configsupport, libraries and headers for projects building against the carla library.Edit: Despite the similarities to a cask, this package is intended to provide as a
pkg-configdriven build library for C++ projects, etc.