diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-09-15 21:20:45 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-09-15 22:06:46 +0200 |
commit | 7b671dba38471baa6f9cc03925c724cc777e731f (patch) | |
tree | 7b6fe8999faa017d8d6a68f6a98dfedab9633fc6 /net-libs/libktorrent | |
parent | net-irc/konversation: 23.08.1 version bump (diff) | |
download | gentoo-7b671dba38471baa6f9cc03925c724cc777e731f.tar.gz gentoo-7b671dba38471baa6f9cc03925c724cc777e731f.tar.bz2 gentoo-7b671dba38471baa6f9cc03925c724cc777e731f.zip |
net-libs/libktorrent: 23.08.1 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-23.08.1.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index ab81d796eec3..33b372e234e7 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.0.tar.xz 604156 BLAKE2B 08a6da6559205963588057a65ae89cffe8bcf875958127344bd8c01f3d4527ea9495bc8caeb59fc35be2bb98927a9d9d51eedebf54293d1f06766d55a056a048 SHA512 c3cad400b024c6afbef66af3ba01306f6d7e73664dc07fa546b48881b7615b85e6cdd0f3d2ef384524448622c03be28ff14ab0b49099da892fdd2e126fa4067b +DIST libktorrent-23.08.1.tar.xz 604120 BLAKE2B 5ef987a83a1bf11876f94388e552e2fe83c41e227d3ebeca76e67ad178d09049c46d9e83ceef8d9ecab50c899271569d12276aae48dc1d6b87c38d62f09590b3 SHA512 1cfa34bec4970d96a178468e76bdd51fa8e4811e533378f36bd8fed56e241a2953ff9f3a9023f6c093546214f6dd8da1ffb4b5381e0e37620e5b7f661a6fe022 diff --git a/net-libs/libktorrent/libktorrent-23.08.1.ebuild b/net-libs/libktorrent/libktorrent-23.08.1.ebuild new file mode 100644 index 000000000000..97bd4df6feec --- /dev/null +++ b/net-libs/libktorrent/libktorrent-23.08.1.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 +} |