2013-04-16 20:43:26 +00:00
|
|
|
class Caudec < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Covert audio files from one format to another"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://caudec.net"
|
|
|
|
url "http://caudec.net/downloads/caudec-1.7.5.tar.gz"
|
|
|
|
sha256 "5d1f5ab3286bb748bd29cbf45df2ad2faf5ed86070f90deccf71c60be832f3d5"
|
2016-02-19 23:37:49 +00:00
|
|
|
revision 2
|
2015-12-19 06:34:53 +00:00
|
|
|
|
2014-10-06 20:17:40 +00:00
|
|
|
bottle do
|
2016-02-22 00:56:07 +00:00
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "4a559f4dcbed1881ad445e4b0710f1d831eb6e68d9c2ad04088d94cd0919580c" => :el_capitan
|
|
|
|
sha256 "1b5c7cf4d5db8b361ed5fa4a9009773cd9f92533c5e5fd32472fdb69f03b3d4c" => :yosemite
|
|
|
|
sha256 "69b97ad57eff1b7a58ce4857e7b83550fac6bb5d70c0a766f1ff8f66cbb926c3" => :mavericks
|
2014-10-06 20:17:40 +00:00
|
|
|
end
|
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "gnu-sed"
|
|
|
|
depends_on "shntool"
|
|
|
|
depends_on "aacgain" => :optional
|
|
|
|
depends_on "alac" => :optional
|
|
|
|
depends_on "cksfv" => :optional
|
|
|
|
depends_on "coreutils" => :optional
|
|
|
|
depends_on "eye-d3" => :optional
|
|
|
|
depends_on "ffmpeg" => :optional
|
|
|
|
depends_on "flac" => :optional
|
|
|
|
depends_on "flake" => :optional
|
|
|
|
depends_on "lame" => :optional
|
|
|
|
depends_on "mp3gain" => :optional
|
|
|
|
depends_on "musepack" => :optional
|
|
|
|
depends_on "opus" => :optional
|
|
|
|
depends_on "sox" => :optional
|
|
|
|
depends_on "vorbis-tools" => :optional
|
|
|
|
depends_on "vorbisgain" => :optional
|
|
|
|
depends_on "wavpack" => :optional
|
|
|
|
depends_on "wget" => :optional
|
2013-04-16 20:43:26 +00:00
|
|
|
|
|
|
|
def install
|
2015-08-03 12:55:31 +00:00
|
|
|
bin.install "caudec"
|
|
|
|
(bin/"decaude").make_symlink bin/"caudec"
|
|
|
|
etc.install "caudecrc"
|
2013-04-16 20:43:26 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
You can find an up-to-date caudecrc file in
|
|
|
|
#{HOMEBREW_PREFIX}/etc
|
|
|
|
|
|
|
|
Copy it to ~/.caudecrc ('.caudecrc' in your home directory),
|
|
|
|
or update your existing copy as needed.
|
|
|
|
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|