2011-03-10 05:11:03 +00:00
|
|
|
class Cmus < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Music player with an ncurses based interface"
|
2014-05-22 11:36:25 +00:00
|
|
|
homepage "https://cmus.github.io/"
|
2015-07-15 09:38:03 +00:00
|
|
|
url "https://github.com/cmus/cmus/archive/v2.7.1.tar.gz"
|
|
|
|
sha256 "8179a7a843d257ddb585f4c65599844bc0e516fe85e97f6f87a7ceade4eb5165"
|
2014-05-22 11:36:25 +00:00
|
|
|
head "https://github.com/cmus/cmus.git"
|
2012-04-19 02:37:43 +00:00
|
|
|
|
2014-08-19 09:40:54 +00:00
|
|
|
bottle do
|
2015-09-24 05:04:40 +00:00
|
|
|
sha256 "4c85eeaae475c91cb94c1bf8e7c05959f3291c718a9ad75aac5a3e47f993a62b" => :el_capitan
|
2015-07-18 08:21:47 +00:00
|
|
|
sha256 "f4270eee31bc7c8ef97b1ae000f08d2a023c52e1088b2061ba3553546405b4f2" => :yosemite
|
|
|
|
sha256 "6df496b6de1ff930667217e4a8d5076bb0b89e171c9d6f0dd3566840daba0d46" => :mavericks
|
|
|
|
sha256 "b35d34f834f02e8e21611ade71a67dbbdbd0f1ffc4286279939e6f30f2767f28" => :mountain_lion
|
2014-08-19 09:40:54 +00:00
|
|
|
end
|
|
|
|
|
2014-05-21 15:17:45 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "libao"
|
|
|
|
depends_on "mad"
|
|
|
|
depends_on "libogg"
|
|
|
|
depends_on "libvorbis"
|
|
|
|
depends_on "faad2"
|
|
|
|
depends_on "flac"
|
|
|
|
depends_on "mp4v2"
|
|
|
|
depends_on "libcue"
|
|
|
|
depends_on "ffmpeg" => :optional
|
2015-07-15 09:38:03 +00:00
|
|
|
depends_on "opusfile" => :optional
|
2015-10-08 01:07:12 +00:00
|
|
|
depends_on "jack" => :optional
|
2015-07-05 20:45:03 +00:00
|
|
|
|
2010-07-25 16:09:49 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "prefix=#{prefix}", "mandir=#{man}"
|
2015-07-05 20:45:03 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/cmus", "--plugins"
|
2010-07-25 16:09:49 +00:00
|
|
|
end
|
|
|
|
end
|