faac 1.29.7.5
Closes #18470. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
432bd996f1
commit
283929c2f3
1 changed files with 11 additions and 7 deletions
|
@ -1,8 +1,8 @@
|
||||||
class Faac < Formula
|
class Faac < Formula
|
||||||
desc "ISO AAC audio encoder"
|
desc "ISO AAC audio encoder"
|
||||||
homepage "http://www.audiocoding.com/faac.html"
|
homepage "http://www.audiocoding.com/faac.html"
|
||||||
url "https://downloads.sourceforge.net/project/faac/faac-src/faac-1.29/faac-1.29.tar.gz"
|
url "https://downloads.sourceforge.net/project/faac/faac-src/faac-1.29/faac-1.29.7.5.tar.gz"
|
||||||
sha256 "8cc7b03ceb2722223a6457e95d4c994731d80214a03ba33d1af76ba53f4b3197"
|
sha256 "a9c36c49d6956eb78d062768927a87014dbb04573d7ce38e50a65a4772fc8016"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
cellar :any
|
cellar :any
|
||||||
|
@ -12,13 +12,17 @@ class Faac < Formula
|
||||||
sha256 "1d3c4c9b4848d88a29d16702ab1d3e9cca5d2e801cf99886d9b13b38510f09ef" => :yosemite
|
sha256 "1d3c4c9b4848d88a29d16702ab1d3e9cca5d2e801cf99886d9b13b38510f09ef" => :yosemite
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on "autoconf" => :build
|
# Remove for > 1.29.7.5
|
||||||
depends_on "automake" => :build
|
# Fix "error: initializer element is not a compile-time constant"
|
||||||
depends_on "libtool" => :build
|
# Upstream commit from 23 Sep 2017 https://sourceforge.net/p/faac/faac/ci/4036f2c85038ef199a4636a6cbc4448f5e914d39
|
||||||
|
patch do
|
||||||
|
url "https://raw.githubusercontent.com/Homebrew/formula-patches/6f36b35/faac/clang-compatibility-fix.patch"
|
||||||
|
sha256 "aab5d3636e6fe135b0137d2ea5f3800b3edf0225fa305a968ccabe92cf031e3f"
|
||||||
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./bootstrap"
|
system "./configure", "--disable-dependency-tracking",
|
||||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
"--disable-silent-rules",
|
||||||
"--prefix=#{prefix}"
|
"--prefix=#{prefix}"
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue