diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-09-02 12:41:18 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-09-02 18:48:29 +0200 |
commit | b7312661f5098dd1705c9f2cf050090e76936807 (patch) | |
tree | 5fd1ee42d3ad284e6d91a1c17f61709013d96601 | |
parent | net-irc/konversation: 21.08.1 version bump (diff) | |
download | gentoo-b7312661f5098dd1705c9f2cf050090e76936807.tar.gz gentoo-b7312661f5098dd1705c9f2cf050090e76936807.tar.bz2 gentoo-b7312661f5098dd1705c9f2cf050090e76936807.zip |
net-libs/libktorrent: 21.08.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | net-libs/libktorrent/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libktorrent/libktorrent-21.08.1.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index 23f0ae79e7d3..710a4b139e41 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,2 +1,3 @@ DIST libktorrent-21.04.3.tar.xz 607516 BLAKE2B 5dfea2102fc865d61f2ebf2b1f7045c7ce0f542830f9c7e511d5139f910ff3797a949f85a593a17c56287c3433c086a198f96353a61a4cfc923d96aa30ab4545 SHA512 2c8ee156b0b1e51b96b2670c5fe3f00aa131a34bcebdfdd69898a723fd01a8d2da52a94a1914c13e82b7362a71beaefc03b27eb450dbc84bc43953771bf9b886 DIST libktorrent-21.08.0.tar.xz 607036 BLAKE2B ae814e649b4f12a67ad11ff267799b052a5c43458734a03f0dccbe8c77e58bf69b18c773d33511c27543de6d9fb3909a692ca0972742a5a588ec756efd0b07d0 SHA512 76f8af4b6f00a9dc0ada698295a4934d28dbab60104f65f8736ea3c3d3e6859a25cbd0dc23d2e9ba46c27b56a3de95b92244b60039e1670f2a5fb05988513918 +DIST libktorrent-21.08.1.tar.xz 606896 BLAKE2B 7a3f58d1d559b0c6376b65fcde7a1a4f76377424dc5c9b2dd07db7af100bcaaa5c859eae4d5247303007fd8f8d452e5cc8b64901c6e9327c0579ff2419984d04 SHA512 a0ab0a5eae08d0ef51772c9284a2041ad8aee2df9158830e62b2b8db428df005293bd3a9af169c4120a21c514e700c84795abc4dd843d27598ace0761986d7c2 diff --git a/net-libs/libktorrent/libktorrent-21.08.1.ebuild b/net-libs/libktorrent/libktorrent-21.08.1.ebuild new file mode 100644 index 000000000000..7c6b14babcfc --- /dev/null +++ b/net-libs/libktorrent/libktorrent-21.08.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KDE_GEAR="true" +KDE_ORG_CATEGORY="network" +KFMIN=5.84.0 +QTMIN=5.15.2 +VIRTUALX_REQUIRED="test" +inherit ecm 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 ~x86" +IUSE="" + +COMMON_DEPEND=" + >=app-crypt/qca-2.3.0:2 + >=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 +} |