diff options
| author | Mike McQuaid | 2013-09-25 00:59:44 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-09-25 01:03:38 +0100 |
| commit | f8cc58d42f8a1d62878042b654aae474c99a60f5 (patch) | |
| tree | e902591b22a6729b999c8dcd249d6d419a3bb235 /Library/Formula/jack.rb | |
| parent | e0d2c190579e32bee34a30451fe001370c884f45 (diff) | |
| download | homebrew-f8cc58d42f8a1d62878042b654aae474c99a60f5.tar.bz2 | |
jack: add plist.
Diffstat (limited to 'Library/Formula/jack.rb')
| -rw-r--r-- | Library/Formula/jack.rb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Library/Formula/jack.rb b/Library/Formula/jack.rb index 25d270608..9d573d16e 100644 --- a/Library/Formula/jack.rb +++ b/Library/Formula/jack.rb @@ -21,6 +21,32 @@ class Jack < Formula { :p0 => DATA } end if MacOS.version >= :mountain_lion + 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_prefix}/bin/jackd</string> + <string>-d</string> + <string>coreaudio</string> + </array> + <key>RunAtLoad</key> + <true/> + <key>KeepAlive</key> + <true/> + </dict> + </plist> + EOS + end + def install ENV['LINKFLAGS'] = ENV.ldflags system "./configure", "--prefix=#{prefix}" |
