libtorrent-rasterbar 1.1.8

Closes #30161.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2018-07-17 02:08:58 -07:00
parent 088941e301
commit 646b51bfe5

View file

@ -1,8 +1,8 @@
class LibtorrentRasterbar < Formula
desc "C++ bittorrent library by Rasterbar Software"
homepage "https://www.libtorrent.org/"
url "https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1_7/libtorrent-rasterbar-1.1.7.tar.gz"
sha256 "8133bf683308decc24da22aff17437e36c522d8959bcf934e94cf7a3a567f3a9"
url "https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1_8/libtorrent-rasterbar-1.1.8.tar.gz"
sha256 "6bbf8fd0430e27037b09a870c89cfc330ea41816102fe1d1d16cc7428df08d5d"
bottle do
cellar :any
@ -26,20 +26,6 @@ class LibtorrentRasterbar < Formula
depends_on "boost"
depends_on "boost-python" if build.with? "python@2"
# Remove for > 1.1.7
# Upstream commit from 11 Apr 2018 "fix boost-1.67 build"
patch do
url "https://github.com/arvidn/libtorrent/commit/64d6b49004.patch?full_index=1"
sha256 "97987e7ec1100c3ae9a0a0b82c1c2237672f15d2abc3b1707c6c8b328c37ce32"
end
# Remove for > 1.1.7
# Upstream commit from 12 Apr 2018 "another boost-1.67 build fix"
patch do
url "https://github.com/arvidn/libtorrent/commit/9cd0ae67e7.patch?full_index=1"
sha256 "185d59167d89884849408e7ff831badd3fbf4048b48b634e847134b4a8033299"
end
def install
ENV.cxx11
args = ["--disable-debug",