repo/gentoo:master commit in: net-libs/libtorrent/
"Sam James" <[email protected]> Tue, 04 Aug 2026 00:18:05 +0000 (UTC)
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1785802580.2ac6e571e722c3dfa9baab9a2fd153b8a7373d64.sam@gentoo> |
commit: 2ac6e571e722c3dfa9baab9a2fd153b8a7373d64
Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Mon Aug 3 05:00:34 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 4 00:16:20 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ac6e571
net-libs/libtorrent: Bump to 0.16.19
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1608
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/libtorrent/Manifest | 1 +
net-libs/libtorrent/libtorrent-0.16.19.ebuild | 63 +++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
diff --git a/net-libs/libtorrent/Manifest b/net-libs/libtorrent/Manifest
index 4307a9fa0418..02164ef9bba9 100644
--- a/net-libs/libtorrent/Manifest
+++ b/net-libs/libtorrent/Manifest
@@ -3,3 +3,4 @@ DIST libtorrent-0.16.11.tar.gz 901667 BLAKE2B 16752e379084085f14e0d63453e59db159
DIST libtorrent-0.16.13.tar.gz 914332 BLAKE2B ed812461e9be10e4bfa8f78ed282a3a7fe23434c3d766594ad7847feedc0214bfe408f8c3296899bf18cba5b887badbf3190b50ac5950599da154930f2a3322f SHA512 bacb60d1c3e112a68ba6e7b62bcceade89995a276620925bf88ecd39255af9c8bb4509e74a745ac3bd89f364294dd085057d08758f8f22ac2560dde724564069
DIST libtorrent-0.16.14.tar.gz 910536 BLAKE2B edf5fddfd0e89a0b09a0ea92124cd2d503eae93289db2a6092d0a8220f644782b90b57d8e0eda7b1356a6fbd29d6c9d44bf96f3d2b9807572a4b40db5b6b083a SHA512 0c9a3f77bf71cf361136246f7df34b59229069ca793ede395cd3eae0e8cbbc5c41c3e381632103fac7890588f748066b8364edecde52471f391b651722a1fe0e
DIST libtorrent-0.16.15.tar.gz 911534 BLAKE2B ce0e80d9df9c1d5e3b0a0ba7b88dda8dd5c90741e53f46306eda5ac9ee797f91c2c37b23bbbf17ed02a89277d0cc90900df812174b5dd188086f36e50ac8aaa3 SHA512 7fe31538c13f9416d35c857b2de048beb3778e66d2da9ff46287b50567788a6df29e782d534b08fe29574c8fd494c11e0da5b742615e033f9862ae55559fb26d
+DIST libtorrent-0.16.19.tar.gz 925711 BLAKE2B 27269e877420554928054a17321e2a6025399c0ce25e54f5e23dc204cca77afe005ed0e1e73168e80facb0a3aaf37f497065bb9a136833cd051fb8e1a291ef29 SHA512 ccc12ec41eb5a0fb41cc301a7a27ed2c86fa6a205e89ba2c09055dab8e09aed5cb6d29236f4589f435fd00ac885bc49e940f76ae2fa8e9fdb3d9ca19f77861a1
diff --git a/net-libs/libtorrent/libtorrent-0.16.19.ebuild b/net-libs/libtorrent/libtorrent-0.16.19.ebuild
new file mode 100644
index 000000000000..60f7aed503ee
--- /dev/null
+++ b/net-libs/libtorrent/libtorrent-0.16.19.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=9
+
+inherit autotools
+
+DESCRIPTION="BitTorrent library written in C++ for *nix"
+HOMEPAGE="https://rtorrent.net"
+if [[ ${PV} == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/rakshasa/${PN}.git"
+else
+ SRC_URI="https://github.com/rakshasa/rtorrent/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos ~x64-solaris"
+fi
+
+LICENSE="GPL-2"
+# The README says that the library ABI is not yet stable and dependencies on
+# the library should be an explicit, syncronized version until the library
+# has had more time to mature. Until it matures we should not include a soname
+# subslot.
+SLOT="0"
+IUSE="debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/openssl:=
+ net-libs/udns
+ net-misc/curl
+ virtual/zlib:=
+"
+DEPEND="${RDEPEND}
+ test? ( dev-util/cppunit )
+"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ # use system-udns
+ rm -r src/net/udns || die
+ sed -e 's@"net/udns/udns.h"@<udns.h>@' \
+ -e '\@^#include "net/udns/udns_.*.c"@d' \
+ -i src/net/udns_library.cc src/net/udns_library.h src/net/udns_resolver.cc || die
+
+ [[ ${PV} == *9999 ]] && eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ LIBS="-ludns"
+ $(use_enable debug)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}