aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorArun Raghavan2014-11-27 22:54:24 +0530
committerMike McQuaid2014-11-28 08:05:36 +0000
commit11fbc6d9fac1fc92c91873e600ae14b82dffa76c (patch)
treef7c303eea5d7f19a8996e17cb0f7d870bd9d8732 /Library
parenta408bfb5fabb28aa88ba1520ea213143c946c200 (diff)
downloadhomebrew-11fbc6d9fac1fc92c91873e600ae14b82dffa76c.tar.bz2
srtp 1.5.0
The updated shared library is courtesy Nirbheek Chauhan. Original patch: https://github.com/nirbheek/cerbero/blob/openwebrtc/recipes/libsrtp/shared-library.patch Closes #34506. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/srtp.rb13
1 files changed, 7 insertions, 6 deletions
diff --git a/Library/Formula/srtp.rb b/Library/Formula/srtp.rb
index 23de23cdd..cbe97fe09 100644
--- a/Library/Formula/srtp.rb
+++ b/Library/Formula/srtp.rb
@@ -1,20 +1,21 @@
require 'formula'
class Srtp < Formula
- homepage 'http://srtp.sourceforge.net/srtp.html'
- url 'https://downloads.sourceforge.net/project/srtp/srtp/1.4.4/srtp-1.4.4.tgz'
- sha1 '299c6cfe0c9d6f1804bc5921cfbdb6a6bc76a521'
+ homepage 'https://github.com/cisco/libsrtp'
+ url 'https://codeload.github.com/cisco/libsrtp/tar.gz/v1.5.0'
+ sha1 'fbace084aa58dddc295e15aeab80208f154b4f16'
# Add support for building shared libs
patch do
- url "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-libs/libsrtp/files/libsrtp-1.4.4-shared.patch?revision=1.2"
- sha1 "d7871a264dd9fd588fc6d79c15019a1dacd3edbb"
+ # Submitted upstream at https://github.com/cisco/libsrtp/pull/86
+ url "http://arunraghavan.net/downloads/brew/srtp-shared-library.patch"
+ sha1 "f44ff924a9e14826add202168f61843c1d88ddd4"
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
- system "make libsrtp.dylib"
+ system "make shared_library"
system "make install" # Can't go in parallel of building the dylib
end
end