From b6ad68865950d587884ee0d7ad481a672db7e8bb Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Sat, 29 Apr 2017 15:31:47 +0100 Subject: [PATCH] libsndfile 1.0.28 Closes #13038. Signed-off-by: Alexander Hamann --- Formula/libsndfile.rb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Formula/libsndfile.rb b/Formula/libsndfile.rb index 42a68a44cd..ea67f45b4d 100644 --- a/Formula/libsndfile.rb +++ b/Formula/libsndfile.rb @@ -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