summaryrefslogtreecommitdiff
path: root/net-libs
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-02-01 10:55:41 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-02-01 10:55:41 +0100
commit23e9c16fdbf8feee0104f4bb9b5a0ce57088bb55 (patch)
tree2089a98d5cfa98f5b0f9072ab31b6b3582944f01 /net-libs
parent9af3dcec996110bf77891037135e1d0bda987ddd (diff)
downloadkde-23e9c16fdbf8feee0104f4bb9b5a0ce57088bb55.tar.gz
kde-23e9c16fdbf8feee0104f4bb9b5a0ce57088bb55.tar.bz2
kde-23e9c16fdbf8feee0104f4bb9b5a0ce57088bb55.zip
net-libs/libktorrent: 21.12.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-21.12.2.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
new file mode 100644
index 00000000000..0b6538f1b2f
--- /dev/null
+++ b/net-libs/libktorrent/Manifest
@@ -0,0 +1 @@
+DIST libktorrent-21.12.2.tar.xz 606020 BLAKE2B 2e0fc83b40d455e5b9ff3bfd57035bd20c5540d09b67ab829290f3f5f8a776c8ceab90479658f9ef39a4a32156bdae16eba097cdb6b2379af42c4a814c353560 SHA512 930b256b2bdbce0950f3473b7d9f9dec241207c32a72ac9cd6d7e5094f8a6c5ed1e36368c8120a8d467540b064da850bdd714b79fe3a5f2971e3c5e8d7a6a743
diff --git a/net-libs/libktorrent/libktorrent-21.12.2.ebuild b/net-libs/libktorrent/libktorrent-21.12.2.ebuild
new file mode 100644
index 00000000000..2d1078720d3
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-21.12.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="forceoptional"
+KDE_GEAR="true"
+KDE_ORG_CATEGORY="network"
+KFMIN=5.88.0
+QTMIN=5.15.2
+VIRTUALX_REQUIRED="test"
+inherit ecm 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
+ >=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
+}