homebrew-core/Formula/ezstream.rb
2018-09-17 20:42:01 +10:00

36 lines
1.3 KiB
Ruby

class Ezstream < Formula
desc "Client for Icecast streaming servers"
homepage "https://icecast.org/ezstream/"
url "https://downloads.xiph.org/releases/ezstream/ezstream-0.6.0.tar.gz"
sha256 "f86eb8163b470c3acbc182b42406f08313f85187bd9017afb8b79b02f03635c9"
bottle do
cellar :any
rebuild 1
sha256 "45d77ec44eb517437a2b0bf73b5fd30baafae77f37bc9eb4417956261f345fe4" => :mojave
sha256 "8dda7ec4014a1c4f13a3a17f7e243b9e7153c069f5c8cff1a20c7b2518d78be6" => :high_sierra
sha256 "eee3cc2ed988d5c0e131d9ba8f0aef0e7bb520311096a9719b914c0a1ca6ffe4" => :sierra
sha256 "365c26a87addf50359e65ccd98ce4244b61f7e9015a335ff47bf55a90b35ad19" => :el_capitan
sha256 "dfa4b2537b1ce6b0da0c4214ccedca664bdd2e69962fa6579d9c437b1ff94e92" => :yosemite
sha256 "04e3a89b8b1e91ce160ec94c981b71d8fb08d7be8fef3da3f1c33b29dc9e3f8c" => :mavericks
end
depends_on "pkg-config" => :build
depends_on "libogg"
depends_on "libshout"
depends_on "libvorbis"
depends_on "speex"
depends_on "theora"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
(testpath/"test.m3u").write test_fixtures("test.mp3").to_s
system bin/"ezstream", "-s", testpath/"test.m3u"
end
end