diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-07-06 15:42:43 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-07-06 16:23:07 +0200 |
commit | 7c7c4016440b8c725bb66a44bffe436d5c9f03f5 (patch) | |
tree | 687a919d0ef86aaf009f4496658f4bb592c29763 /net-libs | |
parent | net-irc/konversation: 23.04.3 version bump (diff) | |
download | gentoo-7c7c4016440b8c725bb66a44bffe436d5c9f03f5.tar.gz gentoo-7c7c4016440b8c725bb66a44bffe436d5c9f03f5.tar.bz2 gentoo-7c7c4016440b8c725bb66a44bffe436d5c9f03f5.zip |
net-libs/libktorrent: 23.04.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libktorrent/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libktorrent/libktorrent-23.04.3.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index a52b239ead04..27d206e9ff8e 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.2.tar.xz 604072 BLAKE2B 567b5051058bcca9457ae8fbbcb922ca570e110c7aaeb9506049c29673aa552c8ab333aa24ff4046266fc9f998da9daf24aa236072d0ebb705fbce91e36fac8e SHA512 836831b4b21cead5ff59654173681bf9784305c9f11db146a06b5f74c7c9e1802469ea324d7a1986071760aaf798768eb09a575b8df88df56df1d48675b2756c +DIST libktorrent-23.04.3.tar.xz 604076 BLAKE2B 50fd77cbd0563e2c38ed5e3e835315a71ec095befc99d2600402c2bef7ae1f47d1a71b265d110a164f3dabdb249a0a4b0c42b698e7e1adbf5fa8fab323761351 SHA512 5eb26785c29846290ed3d16809d618d3ce8027fa7a6f03d07b2ecf7c5b541dec8dc4a98f749a8716fbcedc8ea1181bdda53338c6fffb8acccdd39dabde5087df diff --git a/net-libs/libktorrent/libktorrent-23.04.3.ebuild b/net-libs/libktorrent/libktorrent-23.04.3.ebuild new file mode 100644 index 000000000000..97bd4df6feec --- /dev/null +++ b/net-libs/libktorrent/libktorrent-23.04.3.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 +} |