aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-04-09 20:46:29 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-04-09 21:09:26 +0200
commit823a6d8da84863d4fe40ab292cc1b850f6d1b9a4 (patch)
treefb27e8353bcd081fe8719af5ec1ca13666b4f05d /net-libs
parentnet-irc/konversation: 24.02.2 version bump (diff)
downloadkde-823a6d8da84863d4fe40ab292cc1b850f6d1b9a4.tar.gz
kde-823a6d8da84863d4fe40ab292cc1b850f6d1b9a4.tar.bz2
kde-823a6d8da84863d4fe40ab292cc1b850f6d1b9a4.zip
net-libs/libktorrent: 24.02.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libktorrent/Manifest1
-rw-r--r--net-libs/libktorrent/libktorrent-24.02.2.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
new file mode 100644
index 0000000000..b8a07f4d7a
--- /dev/null
+++ b/net-libs/libktorrent/Manifest
@@ -0,0 +1 @@
+DIST libktorrent-24.02.2.tar.xz 603264 BLAKE2B 0d95544fcd86b6859ddde320daf5a5a4767e72984f851cf6df538e294ebb2412451699410fb78578800eab1ca65afeea46649f200d609fb08d7e209da9ee71ba SHA512 bda6c2a25cedc89b95a0aab4443a4609b02d4ba60088634a4d5cf07a613dba8e498755c60210859429949576ec0383d94521f3859abfe55698a55940b5b9b996
diff --git a/net-libs/libktorrent/libktorrent-24.02.2.ebuild b/net-libs/libktorrent/libktorrent-24.02.2.ebuild
new file mode 100644
index 0000000000..f3994065f7
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-24.02.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.0.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"
+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
+}