freeswitch: depend on speexdsp
Closes #8449. Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
parent
c6cc5458c6
commit
edd3202a21
1 changed files with 3 additions and 17 deletions
|
@ -6,6 +6,7 @@ class Freeswitch < Formula
|
|||
:revision => "e755b430da70bd63eebf1dfddacdce48ce863fce"
|
||||
|
||||
head "https://freeswitch.org/stash/scm/fs/freeswitch.git"
|
||||
revision 1
|
||||
|
||||
bottle do
|
||||
sha256 "9bd634f8b100ecaad0c2348ea793e33d119fc80d313ed3672692153adab191da" => :sierra
|
||||
|
@ -30,20 +31,16 @@ class Freeswitch < Formula
|
|||
depends_on "ldns"
|
||||
depends_on "openssl"
|
||||
depends_on "pcre"
|
||||
depends_on "speex"
|
||||
depends_on "sqlite"
|
||||
depends_on "lua"
|
||||
depends_on "opus"
|
||||
depends_on "libsndfile"
|
||||
depends_on "speex"
|
||||
depends_on "speexdsp"
|
||||
|
||||
# https://github.com/Homebrew/homebrew/issues/42865
|
||||
fails_with :gcc
|
||||
|
||||
resource "speexdsp" do
|
||||
url "https://github.com/xiph/speexdsp/archive/SpeexDSP-1.2rc3.tar.gz"
|
||||
sha256 "e8be7482df7c95735e5466efb371bd7f21115f39eb45c20ab7264d39c57b6413"
|
||||
end
|
||||
|
||||
#----------------------- Begin sound file resources -------------------------
|
||||
sounds_url_base = "https://files.freeswitch.org/releases/sounds"
|
||||
|
||||
|
@ -150,17 +147,6 @@ class Freeswitch < Formula
|
|||
#------------------------ End sound file resources --------------------------
|
||||
|
||||
def install
|
||||
resource("speexdsp").stage do
|
||||
system "./autogen.sh"
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--prefix=#{libexec}/speexdsp"
|
||||
system "make"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
ENV.append_path "PKG_CONFIG_PATH", "#{libexec}/speexdsp/lib/pkgconfig"
|
||||
|
||||
system "./bootstrap.sh", "-j"
|
||||
|
||||
# tiff will fail to find OpenGL unless told not to use X
|
||||
|
|
Loading…
Reference in a new issue