Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TPF
homebrew-tpf
Commits
7bd15024
Commit
7bd15024
authored
May 15, 2017
by
Roman Haefeli
Browse files
add formula for jack2
parent
bfbae98d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Formula/jack2.rb
0 → 100644
View file @
7bd15024
class
Jack2
<
Formula
desc
"JACK low-latency audio server for multi-processor machines. It is a new implementation of the JACK server core features that aims in removing some limitations of the JACK1 design."
homepage
"http://jackaudio.org/"
url
"https://gitlab.zhdk.ch/TPF/jack2/repository/archive.zip?ref=v1.9.10-tpf"
version
"1.9.11"
sha256
"cc0045e6e6681faee112e46ce1385ed85d8b00f87256a38b006c7b4b34109696"
depends_on
"pkg-config"
=>
:build
depends_on
"python"
=>
:build
depends_on
"aften"
depends_on
"berkeley-db"
depends_on
"libsndfile"
depends_on
"libsamplerate"
depends_on
"readline"
conflicts_with
"jack"
,
:because
=>
"jack2 is a replacement for jack"
def
install
system
"./waf"
,
"configure"
,
"--prefix=
#{
prefix
}
"
system
"./waf"
,
"build"
system
"./waf"
,
"install"
end
plist_options
:manual
=>
"jackd -d coreaudio"
def
plist
;
<<-
EOS
.
undent
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>
#{
plist_name
}
</string>
<key>WorkingDirectory</key>
<string>
#{
prefix
}
</string>
<key>ProgramArguments</key>
<array>
<string>
#{
opt_bin
}
/jackd</string>
<string>-d</string>
<string>coreaudio</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
EOS
end
test
do
assert_match
version
.
to_s
,
shell_output
(
"
#{
bin
}
/jackd --version"
)
end
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment