diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-13 22:04:42 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-13 22:13:47 +0100 |
commit | 4dc35fb9a74493b47fe387a17151e6cb7cff40c0 (patch) | |
tree | 02a50a45c3bdbcaf4ab7311c651396ddddc3aa1b /net-libs | |
parent | net-irc/konversation: 23.08.5 version bump (diff) | |
download | kde-4dc35fb9a74493b47fe387a17151e6cb7cff40c0.tar.gz kde-4dc35fb9a74493b47fe387a17151e6cb7cff40c0.tar.bz2 kde-4dc35fb9a74493b47fe387a17151e6cb7cff40c0.zip |
net-libs/libktorrent: 23.08.5 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.08.5.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index 94aa6fae0b..ae93f78437 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1 +1,2 @@ +DIST libktorrent-23.08.5.tar.xz 604184 BLAKE2B e4fc72be9fe20b06220b25fa558a1f86dd029e4eec15da2c8f26ed4acc69e1c06db3fea6ed8dfdb643a01beaf2146c7c0939e8a0da05920712e7f5614e4b4a47 SHA512 c38f944167436a7190e46093cbc928d3db375f7414fa5acdf5b3fd9e77007435259740027941daed422c784d691532f3c9a6c824ce9ac23c091edbedc563aa11 DIST libktorrent-24.01.95.tar.xz 603104 BLAKE2B d1f1fc2b2cba1f162f309e1e3031b9dd478fa18c1ceb5889d7dc0a78947b0341c4664df7d335f100033a8ce09240308895298cdb14aca61224c33926ed6ae861 SHA512 c9d216b2d45f2fa4d1e62bd2d39fba4c60e1ff23ae00d1a420a0a690242e49dbb26dddcc7f7a96f57be50d6e5c594510d9266c72596f779b1bd5a269f2b312f6 diff --git a/net-libs/libktorrent/libktorrent-23.08.5.ebuild b/net-libs/libktorrent/libktorrent-23.08.5.ebuild new file mode 100644 index 0000000000..b119bffcb9 --- /dev/null +++ b/net-libs/libktorrent/libktorrent-23.08.5.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 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 +} |