magnetix: various fixes.
Closes #9881. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
8bd4893e40
commit
9cbbcf9e4f
1 changed files with 10 additions and 1 deletions
|
@ -5,11 +5,20 @@ class Magnetix < Formula
|
||||||
version "3.1"
|
version "3.1"
|
||||||
sha256 "9862c95659c4db0c5cbe604163aefb503e48462c5769692010d8851d7b31c2fb"
|
sha256 "9862c95659c4db0c5cbe604163aefb503e48462c5769692010d8851d7b31c2fb"
|
||||||
|
|
||||||
|
depends_on :macos => :lion
|
||||||
depends_on :xcode => :build
|
depends_on :xcode => :build
|
||||||
|
|
||||||
|
# Port audio code from QTKit to AVFoundation
|
||||||
|
# Required since 10.12 SDK no longer includes QTKit.
|
||||||
|
# Submitted by email to the developer.
|
||||||
|
patch do
|
||||||
|
url "https://raw.githubusercontent.com/Homebrew/formula-patches/4fe0b7b6c43f75738782e047606c07446db07c4f/magnetix/avfoundation.patch"
|
||||||
|
sha256 "16caedaebcc05f03893bf0564b9c3212d1c919aebfdf1ee21126a39f8db5f441"
|
||||||
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
cd "magnetiX_src" do
|
cd "magnetiX_src" do
|
||||||
xcodebuild
|
xcodebuild "SYMROOT=build"
|
||||||
prefix.install "build/Default/magnetiX.app"
|
prefix.install "build/Default/magnetiX.app"
|
||||||
bin.write_exec_script "#{prefix}/magnetiX.app/Contents/MacOS/magnetiX"
|
bin.write_exec_script "#{prefix}/magnetiX.app/Contents/MacOS/magnetiX"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue