summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-05-11 09:04:06 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-05-11 17:59:08 +0200
commit353525c099ab4cd2dbabeca99ca0ab2c035c17cc (patch)
treeb808b78fc5cf230e9cbd81a01147959437b50186 /net-libs/libktorrent
parentnet-irc/konversation: 23.04.1 version bump (diff)
downloadgentoo-353525c099ab4cd2dbabeca99ca0ab2c035c17cc.tar.gz
gentoo-353525c099ab4cd2dbabeca99ca0ab2c035c17cc.tar.bz2
gentoo-353525c099ab4cd2dbabeca99ca0ab2c035c17cc.zip
net-libs/libktorrent: 23.04.1 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.04.1.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index bfaf9f694b73..9615ad5f9b7c 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1,2 +1,3 @@
DIST libktorrent-22.12.3.tar.xz 616864 BLAKE2B 7acccec7a946083bde8ecf7fe67a0e0fef2fa02a8e2d2e8319956249630d902651f56e1b22d4eafbbc2c1709b0b70cfde762475a2bbe4b355941c8a9aecdd4db SHA512 16fbdf1422882928e22c326df432c5d266815a56e83a80056734fd15a38898036d4cef993a86e63ccf8bf8a8618f857535b6aa4bc3c8479e1ad4b0dd3b4521c3
DIST libktorrent-23.04.0.tar.xz 603984 BLAKE2B cc8517e2c57bd49ae52b717f8eeb6cc8e70b2a6893da06deaff26b13c3c8fb2d7c626ba36311f41536f50278a69ad09709007168da1500aa8c69b0dc5c5d8865 SHA512 4d88beb5bc7893a27eb9a963f2d18aadf8c92bf13260c3520f4b83acf91c4083165019fbe21d24265439461a3541d2f6641c617e6d9d0936842bfbfa22a8b9e7
+DIST libktorrent-23.04.1.tar.xz 604072 BLAKE2B ecd0514275d3de55fa96de3fd5135994ffec9a323433b6c3b4ac27494cfedbccd09f1d4596f7198de045ca2a231b9535ed05e1e12c78fd2221580e7b3a151ccd SHA512 250143cab7d5e7275246a887b6b59dc82fba03064d8c62f6c707edc91fb91f4ae2778137c1464549df40c10ec339e8b4f03c92befa37d4593ed773e46a30e7ec
diff --git a/net-libs/libktorrent/libktorrent-23.04.1.ebuild b/net-libs/libktorrent/libktorrent-23.04.1.ebuild
new file mode 100644
index 000000000000..2ef0c863b832
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-23.04.1.ebuild
@@ -0,0 +1,60 @@
+# 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.104.0
+QTMIN=5.15.5
+VIRTUALX_REQUIRED="test"
+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
+}