664ca08749
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 Homebrew/homebrew#8775. Closes Homebrew/homebrew#14131. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
19 lines
542 B
Ruby
19 lines
542 B
Ruby
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
|