aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-05-13 23:38:03 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-05-14 01:11:31 +0200
commitc056b9bffa2a4201f5a0745f130e39ce110ab6e7 (patch)
tree2de6f6b446649d8a38e2e5390db7509804678e1a /net-libs
parentnet-irc/konversation: 24.04.90 version bump (diff)
downloadkde-c056b9bffa2a4201f5a0745f130e39ce110ab6e7.tar.gz
kde-c056b9bffa2a4201f5a0745f130e39ce110ab6e7.tar.bz2
kde-c056b9bffa2a4201f5a0745f130e39ce110ab6e7.zip
net-libs/libktorrent: 24.04.90 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.04.90.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..32fc747b0e
--- /dev/null
+++ b/net-libs/libktorrent/Manifest
@@ -0,0 +1 @@
+DIST libktorrent-24.04.90.tar.xz 605680 BLAKE2B 59ca023539ab396a42e44da3ca8c0de843b32501daa1216047fbeb638d4c239fc604f157119db2197cb99a4179136987f185074daae2e00ea4f5a9d4815965c1 SHA512 6710db2c657d9eeb328737eb612b92fa1a754cc52cc05a4a12fe18d5e1c7be749aea0b768e3cf7004bd169364553c57edfe8308a8fd502ee8204b3adcc70a53e
diff --git a/net-libs/libktorrent/libktorrent-24.04.90.ebuild b/net-libs/libktorrent/libktorrent-24.04.90.ebuild
new file mode 100644
index 0000000000..f3994065f7
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-24.04.90.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
+}