2011-03-10 05:11:03 +00:00
|
|
|
class Faac < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "ISO AAC audio encoder"
|
2015-02-16 13:04:01 +00:00
|
|
|
homepage "http://www.audiocoding.com/faac.html"
|
|
|
|
url "https://downloads.sourceforge.net/project/faac/faac-src/faac-1.28/faac-1.28.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "c5141199f4cfb17d749c36ba8cfe4b25f838da67c22f0fec40228b6b9c3d19df"
|
2009-10-07 12:28:37 +00:00
|
|
|
|
2014-02-22 17:34:43 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-10-22 01:39:08 +00:00
|
|
|
revision 1
|
2015-09-13 11:33:51 +00:00
|
|
|
sha256 "4607ea16f33aec6dabefe6ace66c41cb7ee487b03fff8c7b2d050cbc6340422f" => :el_capitan
|
2015-11-19 15:45:31 +00:00
|
|
|
sha256 "c3fad36cecb8f5d4fc17ad5912d90ee9dffafeb2c5c60b21d27d9ea8bfeb351d" => :yosemite
|
|
|
|
sha256 "1b97bdfb9334decc5d51c9d57788fa23ccf77c56d74a53fcfe6f21a4495ba463" => :mavericks
|
|
|
|
sha256 "e2cf2e63defd76653bc96443956f28bb9e0388a76cda5d0c8c463528d68a191a" => :mountain_lion
|
2014-02-22 17:34:43 +00:00
|
|
|
end
|
|
|
|
|
2009-10-07 12:28:37 +00:00
|
|
|
def install
|
2013-01-27 23:06:34 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2015-02-16 13:04:01 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"faac", test_fixtures("test.mp3"), "-P", "-o", "test.m4a"
|
|
|
|
assert File.exist?("test.m4a")
|
2009-10-07 12:28:37 +00:00
|
|
|
end
|
|
|
|
end
|