35 lines
1.0 KiB
Ruby
35 lines
1.0 KiB
Ruby
class SoundTouch < Formula
|
|
desc "Audio processing library"
|
|
homepage "https://www.surina.net/soundtouch/"
|
|
url "https://gitlab.com/soundtouch/soundtouch/-/archive/2.2/soundtouch-2.2.tar.gz"
|
|
sha256 "525478c745a51dadaf7adb8e5386ec1f903d47196fab5947dc37414344684560"
|
|
license "LGPL-2.1"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "514181f2783b615a363bb51c4dcf9edc320850d9a4d1effa17b681e2d47736af" => :catalina
|
|
sha256 "f990e0d947c1026c51a83471b4466b5e6955c8f7a599d6ecb7da5c8466dcce8f" => :mojave
|
|
sha256 "34e3a02dd0906028a4b7acd7b1ecd26d24df0002fe3e765fb49d24afa3f6a9fb" => :high_sierra
|
|
end
|
|
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
|
|
def install
|
|
system "/bin/sh", "bootstrap"
|
|
args = %W[
|
|
--disable-dependency-tracking
|
|
--disable-silent-rules
|
|
--prefix=#{prefix}
|
|
]
|
|
|
|
system "./configure", *args
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
assert_match /SoundStretch v#{version} -/, shell_output("#{bin}/soundstretch 2>&1", 255)
|
|
end
|
|
end
|