2013-04-16 20:43:26 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Caudec < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Covert audio files from one format to another"
|
2014-12-01 03:54:51 +00:00
|
|
|
homepage 'http://caudec.net'
|
|
|
|
url 'http://caudec.net/downloads/caudec-1.7.5.tar.gz'
|
|
|
|
sha1 'e3b8ccdb976e02f82be07041a624d1f0cdd005d4'
|
2014-10-06 20:17:40 +00:00
|
|
|
bottle do
|
2014-12-01 04:06:21 +00:00
|
|
|
sha1 "e225732d654439421126d0c4192a0a778dc5c031" => :yosemite
|
|
|
|
sha1 "5005b2e4daf1ffd2f5e84eddb79b8f427f918baf" => :mavericks
|
|
|
|
sha1 "a611215d98ffc01584055b84866e4bee949bfb02" => :mountain_lion
|
2014-10-06 20:17:40 +00:00
|
|
|
end
|
|
|
|
|
2014-09-29 22:14:34 +00:00
|
|
|
revision 1
|
2013-04-16 20:43:26 +00:00
|
|
|
|
|
|
|
depends_on 'gnu-sed'
|
|
|
|
depends_on 'shntool'
|
|
|
|
depends_on 'aacgain' => :optional
|
|
|
|
depends_on 'alac' => :optional
|
|
|
|
depends_on 'cksfv' => :optional
|
2013-05-02 17:55:00 +00:00
|
|
|
depends_on 'coreutils' => :optional
|
2013-04-16 20:43:26 +00:00
|
|
|
depends_on 'eye-d3' => :optional
|
2013-05-02 17:55:00 +00:00
|
|
|
depends_on 'ffmpeg' => :optional
|
2013-04-16 20:43:26 +00:00
|
|
|
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
|
2013-05-02 17:55:00 +00:00
|
|
|
depends_on 'vorbis-tools' => :optional
|
|
|
|
depends_on 'vorbisgain' => :optional
|
2013-04-16 20:43:26 +00:00
|
|
|
depends_on 'wavpack' => :optional
|
|
|
|
depends_on 'wget' => :optional
|
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install 'caudec'
|
|
|
|
(bin/'decaude').make_symlink bin/'caudec'
|
|
|
|
etc.install 'caudecrc'
|
|
|
|
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
|