net-libs/libktorrent: 26.04.1 version bump

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2026-05-08 22:33:35 +02:00
parent 4f999d49fa
commit b3618c3cbf
2 changed files with 66 additions and 0 deletions
+1
View File
@@ -1,2 +1,3 @@
DIST libktorrent-25.12.3.tar.xz 596240 BLAKE2B 33ea15fbe0221d8fb3af57e3363762ea670a088ab1540619d06a14aa745b461001e79a9e67593391910a0f60e8995d2a495c15128bfd6e89d9a9863513a4f7b3 SHA512 adb67fe343c427e5243f325c961fc0c4924956d9aefe3b467b94336ccb786de44e521775e94e1abdf6ae2c18fd0303fd988fb0c18af9c4e42a2b51690fadb07a
DIST libktorrent-26.04.0.tar.xz 603328 BLAKE2B 79bb9930d2a1d11f94e7cc3e8a0a1c0fb9050166b80d5ea57663b5356a83a11ca85d576e036103d6babdb83ff81f22ca06643a1ec2d6bee600ee71759f1413a9 SHA512 f890e7a4ed59d106e198f5778b0ae1889a91a855679f49e3c718c8ce1510e84aa5dcdaf23fa5e11d69aaad001009479b27b7b9ef44d2266857fd2da155e1ba78
DIST libktorrent-26.04.1.tar.xz 603288 BLAKE2B 4bbef5c0764455fd4135c433e4a12c9e04dec592d84d031ad152cf03634326666b477ce0f98e3eea2571672ca7377a21f44d5c2bc420a8dc15ccd694ce512b04 SHA512 c507dac0957ac20d4ec6ec43ba013e7e6d1d8d421f4b2ad1fde57be9125469a0bd5f3991c6a91c8f959dad1e17ee980c9f35f2649bc54952f9394c0f17548668
@@ -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.22.0
QTMIN=6.10.1
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
}