summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-10-12 13:05:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-10-12 15:20:05 +0200
commitcf3608d5b413dbf5440355538643f3dc7b33393e (patch)
tree0423cecf5890e83f8311b24693bdd456e6a42649 /net-libs/libktorrent
parentnet-irc/konversation: 23.08.2 version bump (diff)
downloadgentoo-cf3608d5b413dbf5440355538643f3dc7b33393e.tar.gz
gentoo-cf3608d5b413dbf5440355538643f3dc7b33393e.tar.bz2
gentoo-cf3608d5b413dbf5440355538643f3dc7b33393e.zip
net-libs/libktorrent: 23.08.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-23.08.2.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index ec193913b643..53f3ea803b6b 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1,2 +1,3 @@
DIST libktorrent-23.04.3.tar.xz 604076 BLAKE2B 50fd77cbd0563e2c38ed5e3e835315a71ec095befc99d2600402c2bef7ae1f47d1a71b265d110a164f3dabdb249a0a4b0c42b698e7e1adbf5fa8fab323761351 SHA512 5eb26785c29846290ed3d16809d618d3ce8027fa7a6f03d07b2ecf7c5b541dec8dc4a98f749a8716fbcedc8ea1181bdda53338c6fffb8acccdd39dabde5087df
DIST libktorrent-23.08.1.tar.xz 604120 BLAKE2B 5ef987a83a1bf11876f94388e552e2fe83c41e227d3ebeca76e67ad178d09049c46d9e83ceef8d9ecab50c899271569d12276aae48dc1d6b87c38d62f09590b3 SHA512 1cfa34bec4970d96a178468e76bdd51fa8e4811e533378f36bd8fed56e241a2953ff9f3a9023f6c093546214f6dd8da1ffb4b5381e0e37620e5b7f661a6fe022
+DIST libktorrent-23.08.2.tar.xz 604120 BLAKE2B fe189f47f3c6d7186304190ca1047534b241467af410b0bb387c8eaae6987d2e0bfc92cf248fb40d734a3fefacec1fce05eeeaeb87f704a42242fbeba1b8ddd0 SHA512 c44d249b7fc4b2a46de152b83df44c404cf134948201922838ddc67cc85295e5468196ba998cf0b11f14899e4234985fe26eac63f3dee936133b20515505b11a
diff --git a/net-libs/libktorrent/libktorrent-23.08.2.ebuild b/net-libs/libktorrent/libktorrent-23.08.2.ebuild
new file mode 100644
index 000000000000..97bd4df6feec
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-23.08.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="forceoptional"
+KDE_ORG_CATEGORY="network"
+KFMIN=5.106.0
+QTMIN=5.15.9
+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="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+ >=app-crypt/qca-2.3.0:2[qt5(+)]
+ >=dev-libs/gmp-6.0.0a:0=
+ dev-libs/libgcrypt:0=
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/solid-${KFMIN}:5
+"
+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@\"//" \
+ KF5TorrentConfig.cmake.in || die
+}
+
+src_test() {
+ # failing network tests
+ local myctestargs=(
+ -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)"
+ )
+
+ ecm_src_test
+}