homebrew-core/Formula/libreplaygain.rb

34 lines
1.3 KiB
Ruby

class Libreplaygain < Formula
desc "Library to implement ReplayGain standard for audio"
homepage "https://www.musepack.net/"
url "https://files.musepack.net/source/libreplaygain_r475.tar.gz"
version "r475"
sha256 "8258bf785547ac2cda43bb195e07522f0a3682f55abe97753c974609ec232482"
livecheck do
url "https://www.musepack.net/index.php?pg=src"
regex(/href=.*?libreplaygain[._-](r\d+)\.t/i)
end
bottle do
cellar :any
rebuild 1
sha256 "b7a2c4c9ab84445dbe76e5ba32cc84e5f64b4dca4bd0c6ceda202d024a4fcbe6" => :big_sur
sha256 "34a785ef56c26e506e4e225ace636163dd3b5dd310448a7b63d1ba1c99a2ea77" => :catalina
sha256 "13df0590c2056af8071e5c182bc1b73cfd52b6ad7afb561d16a1ac3ddf0df179" => :mojave
sha256 "c2d3becfcd2f629fb875b6d6c907505489381e5ea3893b0a882510ebbee9951a" => :high_sierra
sha256 "d8f7cfc1bfad75b97271300a16f5c927849b03ff488141423ecf48b25c6ed8c3" => :sierra
sha256 "58b52d360c2f37f3ab3a50c4a2fe72b9a370bd951d52939f8853a5ef49fcc322" => :el_capitan
sha256 "d47338c5b86daabf3e2e05ab9dd2443c04c1233f3319307e8e5d545b24dcf722" => :yosemite
sha256 "dc3f2c3823c5552bddad7b1727b9086dc2fe79e8fa13987b420d1621c97e2bce" => :mavericks
end
depends_on "cmake" => :build
def install
system "cmake", ".", *std_cmake_args
system "make", "install"
include.install "include/replaygain/"
end
end