diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-03-01 12:24:23 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-03-02 12:57:00 +0100 |
commit | 93690c06ba67efb1e786fcba6ad7e963bef1a9dc (patch) | |
tree | e02ae86d0d93db224faa129ad5fb093ba96ce789 /net-libs/libktorrent | |
parent | net-irc/konversation: 22.12.3 version bump (diff) | |
download | gentoo-93690c06ba67efb1e786fcba6ad7e963bef1a9dc.tar.gz gentoo-93690c06ba67efb1e786fcba6ad7e963bef1a9dc.tar.bz2 gentoo-93690c06ba67efb1e786fcba6ad7e963bef1a9dc.zip |
net-libs/libktorrent: 22.12.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-libs/libktorrent')
-rw-r--r-- | net-libs/libktorrent/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libktorrent/libktorrent-22.12.3.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index d16079962bef..aa6ae94dae43 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,2 +1,3 @@ DIST libktorrent-22.08.3.tar.xz 595472 BLAKE2B cccc3f8b78e207a78f0d6e5b4f231ac7e9f8d0fddb416ad4cd64c48a67d9886425ecd8ab65bfe3a81a6090c3d4fbc5eb01faa9bbbb6d2f051347522316a08a92 SHA512 1de3be54ef60a6a8634c5eab15d883ed7f9a152df4e672d9e62e2d90136ed3e42af1bfdd31463bb3bb8352cbaf59d2e4845371241a850d02fd3fa6e231da7225 DIST libktorrent-22.12.2.tar.xz 616784 BLAKE2B d04a8a3e443fd9f330564fc5bf4b553d828c5f1b8a2af0282559413019b53e8afe2dd4bf5ab8ad9ac07bdcd4db7dbf021b08d3ad43f6227ba413abecbc9f55ae SHA512 d0f1839637fbc6cbb2a12978c6add0e43120f465c40d7b507bf82f3941b79d368f51fafc6053dd6db0a4303c311c79d1c2ed0fc483fce0c609cb554aef3a72fa +DIST libktorrent-22.12.3.tar.xz 616864 BLAKE2B 7acccec7a946083bde8ecf7fe67a0e0fef2fa02a8e2d2e8319956249630d902651f56e1b22d4eafbbc2c1709b0b70cfde762475a2bbe4b355941c8a9aecdd4db SHA512 16fbdf1422882928e22c326df432c5d266815a56e83a80056734fd15a38898036d4cef993a86e63ccf8bf8a8618f857535b6aa4bc3c8479e1ad4b0dd3b4521c3 diff --git a/net-libs/libktorrent/libktorrent-22.12.3.ebuild b/net-libs/libktorrent/libktorrent-22.12.3.ebuild new file mode 100644 index 000000000000..d41d2fe9a319 --- /dev/null +++ b/net-libs/libktorrent/libktorrent-22.12.3.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.101.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 +} |