From 26aa16b66725d1a774020aa3127c213f0fb5f396 Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Wed, 15 Oct 2025 19:30:26 +0200 Subject: [PATCH] gnu: libtorrent: Update to 0.16.1. * gnu/packages/bittorrent.scm (libtorrent): Update to 0.16.1. [source]: Switch to git-fetch. [inputs]: Add curl. [native-inputs]: Add autoconf, automake, and libtool. Change-Id: I4406a50980656e236863bf932cb2ad69b8a2e3a7 Signed-off-by: Andreas Enge --- gnu/packages/bittorrent.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index aa0673227229f0141a85b983772280f0de7f4e66..7141ac8d526637f5ee60c3e2d24ad3d89b9a5022 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -224,18 +224,19 @@ of the Transmission BitTorrent client, using its HTTP RPC protocol.") (define-public libtorrent (package (name "libtorrent") - (version "0.13.8") + (version "0.16.1") (source (origin - (method url-fetch) - (uri (string-append - "http://rtorrent.net/downloads/libtorrent-" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/rakshasa/libtorrent/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "10z9i1rc41cmmi7nx8k7k1agsx6afv09g9cl7g9zr35fyhl5l4gd")))) + "1rk5y27r2v3x2v1gngxfw8kj1i8n93dpkvda6idbid6yxvv9slkm")))) (build-system gnu-build-system) - (inputs (list openssl zlib)) - (native-inputs (list pkg-config cppunit)) + (inputs (list curl openssl zlib)) + (native-inputs (list autoconf automake cppunit libtool pkg-config)) (synopsis "BitTorrent library of rtorrent") (description "LibTorrent is a BitTorrent library used by and developed in parallel