libsndfile 1.0.28

Closes #13038.

Signed-off-by: Alexander Hamann <neutric@users.noreply.github.com>
This commit is contained in:
Dominyk Tiller 2017-04-29 15:31:47 +01:00 committed by Alexander Hamann
parent 3f885f3fc8
commit b6ad688659

View file

@ -1,8 +1,8 @@
class Libsndfile < Formula
desc "C library for files containing sampled sound"
homepage "http://www.mega-nerd.com/libsndfile/"
url "http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.tar.gz"
sha256 "a391952f27f4a92ceb2b4c06493ac107896ed6c76be9a613a4731f076d30fac0"
url "http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz"
sha256 "1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9"
bottle do
cellar :any
@ -20,8 +20,13 @@ class Libsndfile < Formula
depends_on "libvorbis"
def install
system "autoreconf", "-i"
system "autoreconf", "-fvi"
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make", "install"
end
test do
output = shell_output("#{bin}/sndfile-info #{test_fixtures("test.wav")}")
assert_match "Duration : 00:00:00.064", output
end
end