Skip to content

Commit

Permalink
Merge pull request #139466 from chenrui333/bump-freeswitch-1.10.10
Browse files Browse the repository at this point in the history
freeswitch 1.10.10
  • Loading branch information
BrewTestBot authored Aug 14, 2023
2 parents 53d9840 + ca88e9e commit da151ba
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions Formula/freeswitch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ class Freeswitch < Formula
desc "Telephony platform to route various communication protocols"
homepage "https://freeswitch.org"
url "https://github.com/signalwire/freeswitch.git",
tag: "v1.10.9",
revision: "a615e85afcdc5f3ca438e86fefc7ca21ee6b3a06"
tag: "v1.10.10",
revision: "4cb05e7f4a23645ec387f3b5391194128be7d193"
license "MPL-1.1"
revision 2
head "https://github.com/signalwire/freeswitch.git", branch: "master"

livecheck do
Expand All @@ -14,13 +13,13 @@ class Freeswitch < Formula
end

bottle do
sha256 arm64_ventura: "63774550d80386ca14976a5d56c0e4d8bf3f6ad0cc60608233941d172aedf4f8"
sha256 arm64_monterey: "94f0b2d598552e4283bb9acb3aed5785db86462844b0c7e5782d220698a84837"
sha256 arm64_big_sur: "7f67c4a6c3c28df7e1cedfb4aa2ded3b3e5682db21d84489e5c789487a1bf47e"
sha256 ventura: "480ddce68db22b97dc398206ae1c0d55c1aa1b7811c3377f160de496a2f6a908"
sha256 monterey: "36bb1565a4496245c5c56194e82944b0a28529e8259faa59525445ec05898bb3"
sha256 big_sur: "c560f0f82664037c7132a06c20db3d32629522d79aa101f48f3f8d7e7d30af2f"
sha256 x86_64_linux: "d36012bc99586f33f56d29f0c19356ba06b4f8984f6644e9f9dbfaab5317176f"
sha256 arm64_ventura: "188df30b2e5b0559226b8d6c36185ce207a3c345578df4bf50c3acf4f99d3071"
sha256 arm64_monterey: "41bc376f644e01d2c907b04af886b78b9eba6697615671bf1bb46af803262c24"
sha256 arm64_big_sur: "90faf1e2987ae4f50e59130759ae8c8a3c07881c09afee88628b269864bec425"
sha256 ventura: "9460206e602d15b653c581903be36302e66c7eefd3cabc67aa4d752017a9b3f5"
sha256 monterey: "1d161324780b7f4d6ec1a2860121b9b7c1f328c5375b01a2992801bee80b2cf1"
sha256 big_sur: "58d5cb82b74f1b352f4be6de30aeaf05838f9f7ca449d903798fddac5f6f0fd1"
sha256 x86_64_linux: "10396295998cec74fd4c305098d7381bfbad58a83574809ef85a66964158589a"
end

depends_on "autoconf" => :build
Expand All @@ -29,7 +28,7 @@ class Freeswitch < Formula
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "yasm" => :build
depends_on "ffmpeg@4"
depends_on "ffmpeg@5"
depends_on "jpeg-turbo"
depends_on "ldns"
depends_on "libpq"
Expand Down Expand Up @@ -115,14 +114,14 @@ class Freeswitch < Formula

resource "libks" do
url "https://github.com/signalwire/libks.git",
tag: "v1.8.2",
revision: "85a575bb892254dd105a6490b9864956b90430ce"
tag: "v2.0.2",
revision: "423c68c92d1871e2c9cb83d974eac7830ddcdcf5"
end

resource "signalwire-c" do
url "https://github.com/signalwire/signalwire-c.git",
tag: "1.3.0",
revision: "e2f3abf59c800c6d39234e9f0a85fb15d1486d8d"
tag: "v2.0.0",
revision: "c432105788424d1ddb7c59aacd49e9bfa3c5e917"
end

def install
Expand All @@ -146,8 +145,8 @@ def install
ENV.append_path "PKG_CONFIG_PATH", libexec/"libks/lib/pkgconfig"
ENV.append "CFLAGS", "-I#{libexec}/libks/include"

# Add RPATH to libks.pc so libks.so can be found by freeswitch modules.
inreplace libexec/"libks/lib/pkgconfig/libks.pc",
# Add RPATH to libks2.pc so libks2.so can be found by freeswitch modules.
inreplace libexec/"libks/lib/pkgconfig/libks2.pc",
"-L${libdir}",
"-Wl,-rpath,${libdir} -L${libdir}"
end
Expand All @@ -159,9 +158,9 @@ def install

ENV.append_path "PKG_CONFIG_PATH", libexec/"signalwire-c/lib/pkgconfig"

# Add RPATH to signalwire_client.pc so libsignalwire_client.so
# Add RPATH to signalwire_client2.pc so libsignalwire_client2.so
# can be found by freeswitch modules.
inreplace libexec/"signalwire-c/lib/pkgconfig/signalwire_client.pc",
inreplace libexec/"signalwire-c/lib/pkgconfig/signalwire_client2.pc",
"-L${libdir}",
"-Wl,-rpath,${libdir} -L${libdir}"
end
Expand All @@ -177,7 +176,8 @@ def install
args << "--disable-libvpx" if Hardware::CPU.arm?

ENV.append_to_cflags "-D_ANSI_SOURCE" if OS.linux?
ENV.append_to_cflags "-Wno-implicit-function-declaration" # Workaround for Xcode 14.3.
# Workaround for Xcode 14.3
ENV.append_to_cflags "-Wno-implicit-function-declaration" if DevelopmentTools.clang_build_version >= 1403
system "./configure", *std_configure_args, *args
system "make", "all"
system "make", "install"
Expand Down

0 comments on commit da151ba

Please sign in to comment.