Skip to content

Commit

Permalink
Merge pull request #192310 from Homebrew/bump-libtorrent-rakshasa-0.14.0
Browse files Browse the repository at this point in the history
libtorrent-rakshasa 0.14.0 rtorrent 0.10.0
  • Loading branch information
BrewTestBot authored Sep 29, 2024
2 parents a478ce2 + f10f745 commit 87d48dc
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 32 deletions.
2 changes: 2 additions & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1592,6 +1592,7 @@ libtiff
libtirpc
libtommath
libtool
libtorrent-rakshasa
libtrace
libtrng
libucl
Expand Down Expand Up @@ -2369,6 +2370,7 @@ rrdtool
rswift
rsyncy
rsyslog
rtorrent
rubberband
ruby
[email protected]
Expand Down
26 changes: 10 additions & 16 deletions Formula/lib/libtorrent-rakshasa.rb
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
class LibtorrentRakshasa < Formula
desc "BitTorrent library with a focus on high performance"
homepage "https://github.com/rakshasa/libtorrent"
url "https://github.com/rakshasa/libtorrent/archive/refs/tags/v0.13.8.tar.gz"
sha256 "0f6c2e7ffd3a1723ab47fdac785ec40f85c0a5b5a42c1d002272205b988be722"
url "https://github.com/rakshasa/libtorrent/archive/refs/tags/v0.14.0.tar.gz"
sha256 "0ec8ef7544a551ccbf6fce5c6c535f69cb3ad10e4d5e70e620ecd47fef90a13e"
license "GPL-2.0-or-later"
revision 1

livecheck do
url :stable
regex(/^v?(\d+(?:\.\d+)+)$/i)
end

bottle do
rebuild 1
sha256 cellar: :any, arm64_sequoia: "dba858445cc6c078216fb9da10fb9ab2f1884307e83e309c0ff251993ba443d4"
sha256 cellar: :any, arm64_sonoma: "9317851dfcfae89f25254c8c5b7dde87ae5ddff6845f65067af9d181b2e53423"
sha256 cellar: :any, arm64_ventura: "379e99e3801c7e703f998612e750dd93672fd24805725ebef3b665c3c86f8b81"
sha256 cellar: :any, arm64_monterey: "549f2adddde6fc9af3aaf1839225a61bbe157c0a93b32d5acf9ac019ad2877e8"
sha256 cellar: :any, arm64_big_sur: "c1a7a9b145c6f284bcb967af9af8e3ea3283cc0d00ba1028819170353b7afc44"
sha256 cellar: :any, sonoma: "63de69fbf75463e74e33687a74fcc7db2a940d30e943e51488f2913bf0e3ef3c"
sha256 cellar: :any, ventura: "e8658b9542a25a3c5c783d7945381f897dabdcb07684e0e4c5fb0b9bac9521d5"
sha256 cellar: :any, monterey: "be0c226697f610c2b2593b150608cd333710da4480eea29ebc4d291b8f17955d"
sha256 cellar: :any, big_sur: "b3595f86917cf3e9025b063cc24b08bea158da105f49d3bb974456f1fa46c546"
sha256 cellar: :any_skip_relocation, x86_64_linux: "733fb0be216ee03ae9394ba639fbc1d4d2e2f9299c8d91b93117e0e6074c5906"
sha256 cellar: :any, arm64_sequoia: "6b8fe6b2bfc5f3a6f14306459ec7e13b6691de88cae403a911db55a93ad0bc02"
sha256 cellar: :any, arm64_sonoma: "0c2c34b058e1a855d2abe7de2df0b67c27fc861609a8578fd6dd2e54657aa63e"
sha256 cellar: :any, arm64_ventura: "efd7e73f50633f369299429175a65b38d9ef69691acc98b7bdd9b4d237827424"
sha256 cellar: :any, sonoma: "2d59fc558170dc24256a5cd1019157f20bcd978ec53296d89fa17dde0485606d"
sha256 cellar: :any, ventura: "b3d3f595792363a889b76657bd139e5d7f1014ab3cc45e42d5c6ba7b3fe9fb6d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "25d07d284e4494c038603a297fbe75ade3a0b374cfe1069ffa8674cb49cd4216"
end

depends_on "autoconf" => :build
Expand All @@ -37,8 +31,8 @@ class LibtorrentRakshasa < Formula
because: "they both use the same libname"

def install
system "sh", "autogen.sh"
system "./configure", *std_configure_args, "--disable-silent-rules"
system "autoreconf", "--force", "--install", "--verbose"
system "./configure", "--disable-silent-rules", *std_configure_args
system "make"
system "make", "install"
end
Expand Down
34 changes: 18 additions & 16 deletions Formula/r/rtorrent.rb
Original file line number Diff line number Diff line change
@@ -1,38 +1,40 @@
class Rtorrent < Formula
desc "Ncurses BitTorrent client based on libtorrent-rakshasa"
homepage "https://github.com/rakshasa/rtorrent"
url "https://github.com/rakshasa/rtorrent/releases/download/v0.9.8/rtorrent-0.9.8.tar.gz"
sha256 "9edf0304bf142215d3bc85a0771446b6a72d0ad8218efbe184b41e4c9c7542af"
url "https://github.com/rakshasa/rtorrent/releases/download/v0.10.0/rtorrent-0.10.0.tar.gz"
sha256 "cc65bba7abead24151f10af116eca2342b0c320fdff3cb8d604c0af09215d3aa"
license "GPL-2.0-or-later"
revision 3

bottle do
sha256 cellar: :any, arm64_sequoia: "d73c40d99e7cfbaa067a7c3b405ac28501376977857a68a66a9468122aa1d850"
sha256 cellar: :any, arm64_sonoma: "7b55a418e1ae243cd062ac5e3e1171ee082814623a15fd3898ecc3172b9a7fe4"
sha256 cellar: :any, arm64_ventura: "f2c7a8bd2f77caffa6fef4f0fa85f9e598fc8e8e0129562f6ebeb9fda9e84064"
sha256 cellar: :any, arm64_monterey: "85c38e502a8c6ec4b20c973b4d79785436925776ae26db29461931f8221d2d8b"
sha256 cellar: :any, sonoma: "a7f53e049ba9dd7af4ab89fd49f909654c0492e25dc9c0bc88719d2f7969de63"
sha256 cellar: :any, ventura: "c5a27e4139d425afe95746a83dd9cc77d97655a02a10eb02882bde897daaf57e"
sha256 cellar: :any, monterey: "b2a247f5cfba3c8b16326a82055d80e10bc494c3c7db8ace77dc4cee75460bbf"
sha256 cellar: :any_skip_relocation, x86_64_linux: "0c12f9d685c1f2702ecefa0eca8d926e4baf71a7935a469a81b864aadac396a6"
sha256 cellar: :any, arm64_sequoia: "4ff4cdfea0262578387a2bd2104e7f0caab74ad85853b9558b62c2bc5e7fbb64"
sha256 cellar: :any, arm64_sonoma: "7817e20a46918a4013d357c5d7d73a28f0173ebb1cb5b7c8672b7c92b05c0b7d"
sha256 cellar: :any, arm64_ventura: "653b6b2302dff61a612e18f8d48fbe79ac8d9d3797b0025b31097964c648a91b"
sha256 cellar: :any, sonoma: "9f3eca223df05e8dd831e6ba42bd6bc900e5289d7f76fca37b491dc1cf3dd1b3"
sha256 cellar: :any, ventura: "c74da101ca3e057601ff89d00cfe1d5dcb9e95cae0487483d5c1e6cb1f274b9b"
sha256 cellar: :any_skip_relocation, x86_64_linux: "1f59d9720aa571fe2d1b44637fa114cca245154452bb7fd52a50c972b1572093"
end

depends_on "autoconf" => :build
depends_on "autoconf-archive" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build

depends_on "libtorrent-rakshasa"
depends_on "xmlrpc-c"

uses_from_macos "curl"
uses_from_macos "ncurses"

def install
args = ["--prefix=#{prefix}", "--with-xmlrpc-c",
"--disable-debug", "--disable-dependency-tracking"]
# patch to use fsync for osx builds, upstream pr ref, https://github.com/rakshasa/rtorrent/pull/1297
patch do
url "https://github.com/rakshasa/rtorrent/commit/ad491b46ede1593dc28120231b87051530f5b391.patch?full_index=1"
sha256 "5242ccb5e85a40860d3928f3264d5579976717d071bdb228960eab8926396a69"
end

system "sh", "autogen.sh"
system "./configure", *args
def install
system "autoreconf", "--force", "--install", "--verbose"
system "./configure", "--with-xmlrpc-c", *std_configure_args
system "make"
system "make", "install"
end
Expand Down

0 comments on commit 87d48dc

Please sign in to comment.