summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-09 11:14:56 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-09 11:27:40 +0100
commit3e7bc1013dfdcb4e738b17832d6b98b511aaf8cf (patch)
treec4c6052346c8efca280645fcc2e1905f54eca7c1 /net-libs
parentnet-irc/konversation: 23.08.4 version bump (diff)
downloadgentoo-3e7bc1013dfdcb4e738b17832d6b98b511aaf8cf.tar.gz
gentoo-3e7bc1013dfdcb4e738b17832d6b98b511aaf8cf.tar.bz2
gentoo-3e7bc1013dfdcb4e738b17832d6b98b511aaf8cf.zip
net-libs/libktorrent: 23.08.4 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-23.08.4.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index c390e3394fb9..b5ded18ff45b 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.3.tar.xz 604144 BLAKE2B 85688b3bc77aefa7ef56cb146b0f51eac3ba17b1a0dd962dfcd046bc16c8909371f99f1a0fc022dc7c24d5e020f0a96fe457287957874f6fa0289e6bd58b2825 SHA512 0b401a183b8e52f59e2152890898b822c378f640032939bdf76810358ac4228fa7b1e47ecf67f02f34b42e31e4a9329da5df654e655fa8df6632436f9138d2c9
+DIST libktorrent-23.08.4.tar.xz 604128 BLAKE2B 432541ff0d49369a4de787fd48be5fee0f14edb54014fe98600732b2b31755dd862fbcf365195f7b30931d3318782c1976a057d92370a4d554e99517c19a222d SHA512 9546ac6252f85eb12e2ad870d7da25e08ede1aab917e2bb8237cd5e975b1fe0d99ecfbbdda40a807ac96ebe23830cffbea59ebfac8d4e53b487520d7bf67ffbc
diff --git a/net-libs/libktorrent/libktorrent-23.08.4.ebuild b/net-libs/libktorrent/libktorrent-23.08.4.ebuild
new file mode 100644
index 000000000000..97bd4df6feec
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-23.08.4.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
+}