diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-13 13:45:22 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-13 15:13:04 +0200 |
commit | 1403d14ebb943de98be36e1e29ee5b3d6e00da20 (patch) | |
tree | 3151b7051308b002e4868374c510ae427123f90e /net-libs | |
parent | net-irc/konversation: 22.08.2 version bump (diff) | |
download | gentoo-1403d14ebb943de98be36e1e29ee5b3d6e00da20.tar.gz gentoo-1403d14ebb943de98be36e1e29ee5b3d6e00da20.tar.bz2 gentoo-1403d14ebb943de98be36e1e29ee5b3d6e00da20.zip |
net-libs/libktorrent: 22.08.2 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-22.08.2.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index 604128b1d423..87ea55685224 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,2 +1,3 @@ DIST libktorrent-22.04.3.tar.xz 595672 BLAKE2B a014e6cfe8f79953422f31fe94d01c48cfbadb2a5f144c13b960d860f0c581c7c301545cfd9b5f490dd10e06a2b7d2d56e7b9609c19bb3c83524a325d9f8c86a SHA512 3ea6530c62e1a022f8d679f9ed54654c3c468cfdd0aceff4b7f6e0a1687ec1ddf59aebcdc08a258d7a169f827ea0de4e8b5489df4225f4fb15988010bd0f4b99 DIST libktorrent-22.08.1.tar.xz 595436 BLAKE2B daa9867e255f1c14667994a9166a8bafe749cafa3cd0aa3a961b25c2c3ef55802c567897be8d76c77f119464ec5f3004b1b900068b70c3924484289d91a80906 SHA512 473355e69c0c9c0d2ca164c17a1c47763d47a4941294005773f82411c39652f1f9b896391654dfa5ab119c3edc826464c0cac24a1930e9a7f395c04d26614dfd +DIST libktorrent-22.08.2.tar.xz 595480 BLAKE2B 310c12a746b08ea5e079a8d79dda7cd926e45e8c9059284ab6acfeefe38c5d77dbe903a123c6e49dfaf0d0c02802aa2bd94d1acc03268bdb0613b15ae59a6ad1 SHA512 dd9bfcd7bc692f46e3dd607e00e845910643bb4d4ce5034e9856fab31d16bfaecce8b951e1dfadb82ad8f1ea5bcb7cbc62006f78116ea7f515c1147b4bd24b55 diff --git a/net-libs/libktorrent/libktorrent-22.08.2.ebuild b/net-libs/libktorrent/libktorrent-22.08.2.ebuild new file mode 100644 index 000000000000..d6afc8468fea --- /dev/null +++ b/net-libs/libktorrent/libktorrent-22.08.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KDE_ORG_CATEGORY="network" +KFMIN=5.96.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 +" +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 +} |