From 5a2eaec38400f2ce74f944fec4126cce82b53273 Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Sat, 11 Aug 2012 16:38:43 -0700 Subject: 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 --- Library/Formula/qtplay.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Library/Formula/qtplay.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3