summaryrefslogtreecommitdiff
path: root/net-libs
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-11-27 10:35:04 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-27 12:29:25 +0100
commit4fb46eb236cefc389c054b4cd115dd40e4b0c1b2 (patch)
tree0cacffb80a4b63f2f2139dac8a5954c668cb6173 /net-libs
parent28d507ca0e961944840aebc89c2a417b942296ce (diff)
downloadkde-4fb46eb236cefc389c054b4cd115dd40e4b0c1b2.tar.gz
kde-4fb46eb236cefc389c054b4cd115dd40e4b0c1b2.tar.bz2
kde-4fb46eb236cefc389c054b4cd115dd40e4b0c1b2.zip
net-libs/libktorrent: 20.11.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-20.11.90.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index 1a95c45b252..e8b56edccc5 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1 +1,2 @@
DIST libktorrent-20.11.80.tar.xz 604456 BLAKE2B d31ca86d6a416a8e85eab4339bfd6587c41bb56dc1394fc76dd783227c5a57b23f7634e629cde198d08021caf72367d35cf59f5f5f3b472d27c4d9882390120f SHA512 29f6fe60b068d334d1f9e8b8343b299e4b7645f91d2cbea658ecc969ebe19758087582d83f0d4f253df61e5d46d410ea4521d2369fd8637931da929a32276316
+DIST libktorrent-20.11.90.tar.xz 604340 BLAKE2B cf808d7edbf5ae64524d14200b8325151a634e3249aa235a36483ed28742a20f8f41dfa3f191de2101a904dac2ecb25368a4dab0d6e7123dbc2ca75989c8b99a SHA512 e16f4fccb1cc023a51bb8d290f813c296e802b70e4c0fade4a65f26cca02063761dbcb8b134b928e195f34e2d323bf0cfbcefab0883b6cb9df09bdd604a74aee
diff --git a/net-libs/libktorrent/libktorrent-20.11.90.ebuild b/net-libs/libktorrent/libktorrent-20.11.90.ebuild
new file mode 100644
index 00000000000..4b4281cdef2
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-20.11.90.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="forceoptional"
+KDE_ORG_CATEGORY="network"
+KDE_RELEASE_SERVICE="true"
+KFMIN=5.74.0
+QTMIN=5.15.1
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="BitTorrent library based on KDE Frameworks"
+HOMEPAGE="https://apps.kde.org/en/ktorrent https://userbase.kde.org/KTorrent"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE=""
+
+BDEPEND="sys-devel/gettext"
+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
+"
+RDEPEND="${COMMON_DEPEND}
+ !dev-libs/botan[gmp(-)]
+"
+
+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
+}