diff options
| author | nibbles 2bits | 2012-08-11 16:38:43 -0700 |
|---|---|---|
| committer | Jack Nagel | 2012-08-28 12:23:32 -0500 |
| commit | 5a2eaec38400f2ce74f944fec4126cce82b53273 (patch) | |
| tree | d94c24ec95781023c1cdb946868604aef6750001 /Library/Formula | |
| parent | dcdb29251003725e577dd8b26b2b170e54efd87c (diff) | |
| download | homebrew-5a2eaec38400f2ce74f944fec4126cce82b53273.tar.bz2 | |
New formula: qtplay
Qtplay is a command line interface audio player using Quicktime.
It's just one file to compile, and it works well on Mt. Lion.
Tested with clang and llvm from XCode-4.4.1.
Qtplay will be a dep in the new Solfege formula.
Closes #8775.
Closes #14131.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qtplay.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/qtplay.rb b/Library/Formula/qtplay.rb new file mode 100644 index 000000000..aed9379e6 --- /dev/null +++ b/Library/Formula/qtplay.rb @@ -0,0 +1,19 @@ +require 'formula' + +class Qtplay < Formula + homepage 'https://sites.google.com/site/rainbowflight2/' + url 'https://sites.google.com/site/rainbowflight2/qtplay1.3.1.tar.gz' + sha1 'fd7394675c972377a48c2ff8e0a774853c0be6a3' + + def install + # Only a 32-bit binary is supported + system ENV.cc, "qtplay.c", "-arch", "i386", "-framework", "QuickTime", "-framework", "Carbon", "-o", "qtplay" + bin.install 'qtplay' + man1.install 'qtplay.1' + prefix.install 'Readme.rtf' + end + + def test + system "#{bin}/qtplay", "--help" + end +end |
