summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-07-03 18:55:19 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-07-04 13:50:24 +0200
commitc5ad55da59eb9dc7cabce6871214aef7f141c8a1 (patch)
tree548b3fb9fc747c68e66bf39b2674a13f41b13412 /net-libs/libktorrent
parentnet-irc/konversation: 24.05.2 version bump (diff)
downloadgentoo-c5ad55da59eb9dc7cabce6871214aef7f141c8a1.tar.gz
gentoo-c5ad55da59eb9dc7cabce6871214aef7f141c8a1.tar.bz2
gentoo-c5ad55da59eb9dc7cabce6871214aef7f141c8a1.zip
net-libs/libktorrent: 24.05.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-libs/libktorrent')
-rw-r--r--net-libs/libktorrent/Manifest1
-rw-r--r--net-libs/libktorrent/libktorrent-24.05.2.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index ed03ac6a22c8..8a61aa79f4dd 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1,2 +1,3 @@
DIST libktorrent-23.08.5.tar.xz 604184 BLAKE2B e4fc72be9fe20b06220b25fa558a1f86dd029e4eec15da2c8f26ed4acc69e1c06db3fea6ed8dfdb643a01beaf2146c7c0939e8a0da05920712e7f5614e4b4a47 SHA512 c38f944167436a7190e46093cbc928d3db375f7414fa5acdf5b3fd9e77007435259740027941daed422c784d691532f3c9a6c824ce9ac23c091edbedc563aa11
DIST libktorrent-24.05.1.tar.xz 605856 BLAKE2B d6579444952e5d2e1a0912eb799a17f39988944229979deed0ecb236515b15a9eb9776891204ad2846a5b32d6745c1e2fc3b780206f1caae85fc3208a87230a5 SHA512 ed72ecb72a5810fe93ba1b038520cd374284ba73030790c015960316d1194f5c47d4796cdb5ba040695b31b0e7fa98b9fcc41d8367692f826f80ea7b6a4e4e75
+DIST libktorrent-24.05.2.tar.xz 605972 BLAKE2B 136951dd13029c4b05ce7f5785b913c14c2dcd47c575e10ca223ef9cd0fd187dd0654c49d1e65032ff9d9a4713c772c9bb48512b040d004736d67fce34b47016 SHA512 fb2fca63079988e8f623e77adeff21dfb49c15c604d6ae35da172be3b012c529e73139245061ead46a895bb5af8f4a3be35668295c0a2f5c5fbe1d0a7bc92711
diff --git a/net-libs/libktorrent/libktorrent-24.05.2.ebuild b/net-libs/libktorrent/libktorrent-24.05.2.ebuild
new file mode 100644
index 000000000000..1740a7f54320
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-24.05.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="forceoptional"
+KDE_ORG_CATEGORY="network"
+KFMIN=6.3.0
+QTMIN=6.6.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"
+IUSE=""
+
+COMMON_DEPEND="
+ >=app-crypt/qca-2.3.7:2[qt6]
+ >=dev-libs/gmp-6.0.0a:0=
+ dev-libs/libgcrypt:0=
+ >=dev-qt/qtbase-${QTMIN}:6[network,xml]
+ >=dev-qt/qt5compat-${QTMIN}:6
+ >=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
+"
+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_test() {
+ # failing network tests
+ local myctestargs=(
+ -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)"
+ )
+
+ ecm_src_test
+}