From b751ce632d4dd9cd6d86bf65d07415bbf74f1f6e Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 8 Oct 2026 17:05:25 +0100 Subject: [PATCH] net-libs/libktorrent: 26.08.2 version bump Signed-off-by: Sam James --- net-libs/libktorrent/Manifest | 1 + .../libktorrent/libktorrent-26.08.2.ebuild | 65 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 net-libs/libktorrent/libktorrent-26.08.2.ebuild diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index a1b8774869842..9a4bc9ea54e27 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,2 +1,3 @@ DIST libktorrent-26.04.3.tar.xz 603424 BLAKE2B 0a15b9dd28c63e4a8e839465989d60fef3cc1ad45dad32da839afbdf3de75c9da3115fb9ba1af57f57cc93aef3869fb4f338eb16d9c0d941621eb90fd7e8cf93 SHA512 f2e5d993a7cb6ce753c331ec813b31e9b066b000513480b4ac2cfb9a4df7b6b9d4660a923f8aa8329ea4648bb77e6be0e22ab39ab0bf068feb04c672ac27ab63 DIST libktorrent-26.08.1.tar.xz 606828 BLAKE2B f22e7aac0ae9cae974f7ae053b965b49590533ac7bbc86e2671322e1c6b2cd601ec7022398642d47d9e1414ad26c2eb71a3bfae9b6edfb064e42f3fd70497f77 SHA512 f88aea1c57f38d80338ef3dda5c2d2dcec2692d18941c623e0abff4de1b3882dbf0639c18cd4e23d0183e06a6ffa361a47d3e5640e1970c7207d0cbdf4f3bcb5 +DIST libktorrent-26.08.2.tar.xz 606928 BLAKE2B 06940878fa6649ba70cca40899840b011d5681a60180102316351b267b2a6d2db3881d52b2c77a65afb482c21826fc48cd49aea061542c1438e38df95f8a613d SHA512 bd3a261c96dee7421fcd6308990b6483a29fda1e3782d613d2fbd6fb1f1678ed58f8340a5608b4afd8c50c80e528536f6053d7f4bc62c4d11144df55d2ad4619 diff --git a/net-libs/libktorrent/libktorrent-26.08.2.ebuild b/net-libs/libktorrent/libktorrent-26.08.2.ebuild new file mode 100644 index 0000000000000..61c64bad5d22e --- /dev/null +++ b/net-libs/libktorrent/libktorrent-26.08.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KDE_ORG_CATEGORY="network" +KFMIN=6.27.0 +QTMIN=6.11.2 +inherit ecm gear.kde.org + +DESCRIPTION="BitTorrent library based on KDE Frameworks" +HOMEPAGE="https://apps.kde.org/ktorrent/ https://userbase.kde.org/KTorrent" + +LICENSE="GPL-2+" +SLOT="6" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="xfs" + +COMMON_DEPEND=" + >=dev-libs/gmp-6.0.0a:0= + >=dev-libs/openssl-3:0= + >=dev-qt/qtbase-${QTMIN}:6[network,xml] + >=kde-frameworks/karchive-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/solid-${KFMIN}:6 + xfs? ( sys-fs/xfsprogs ) +" +DEPEND="${COMMON_DEPEND} + >=dev-libs/boost-1.71 +" +RDEPEND="${COMMON_DEPEND} + !dev-libs/botan[gmp(-)] +" +BDEPEND="sys-devel/gettext" + +src_prepare() { + ecm_src_prepare + + # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is breaking this + sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \ + CMakeLists.txt || die + sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \ + KTorrent6Config.cmake.in || die +} + +src_configure() { + local mycmakeargs=( + -DUSE_CRYPTO_BACKEND=OpenSSL + -DWITH_XFS=$(usex xfs) + ) + ecm_src_configure +} + +src_test() { + # failing network tests + local myctestargs=( + -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)" + ) + ecm_src_test +}