diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-04 11:08:47 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-04 22:27:43 +0100 |
commit | aca60fdc2774490def023600325d3882b5d9b22b (patch) | |
tree | cea44b665f60e6198f20c5a7f17ffc6611b7e93b /net-libs/libktorrent | |
parent | net-irc/konversation: 20.12.3 version bump (diff) | |
download | gentoo-aca60fdc2774490def023600325d3882b5d9b22b.tar.gz gentoo-aca60fdc2774490def023600325d3882b5d9b22b.tar.bz2 gentoo-aca60fdc2774490def023600325d3882b5d9b22b.zip |
net-libs/libktorrent: 20.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-20.12.3.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index 6d97d8e9dd4d..2ee902c71c3d 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,2 +1,3 @@ DIST libktorrent-2.2.0.tar.xz 357364 BLAKE2B 66a91fc32dc11a680d22755468513896c9cea1cbaef8664c84633860b78efba85e5c9e47684fdaaf7fb6f03f624268f9158ee2b8c6fc3d14b0e70339c1f6903e SHA512 2edcb3a230f4fa3a55a6b774c819f4964fe8f2f5447b723ba81cdb0c187dc0268b6e78566d710fa364abe2cc40cd618d1874ecb1637e872fbad0ea8c340abc1a DIST libktorrent-20.12.2.tar.xz 604596 BLAKE2B 20dc47a5f33fb45f3dd055f6e03548271327509a0cfb3c52ee9075f2c120365ed5d2bd586238848319b18292786f7f6880fb8bf7b8e96b1c36b7faf95c15d679 SHA512 2ddadfa8a3ee0aab1e636ffdbad3b2ff1f0069a1d5eb8190ab34dc07faacb478cd53b2bd54e7b1e211eece9ec38f9beb0aed7ba49d394bec75de1bc0cf63c661 +DIST libktorrent-20.12.3.tar.xz 604488 BLAKE2B e51bba82990632744aaadf3e40043fa80e64395f6f3721992780ff77d7663a0a3600aaf7d2653a00f32366555f1000a961c3e99de6d2e2cfecc4c1f79d1ebb00 SHA512 e2259251e8edbef6154674898614f81b3a29d5c711e9f751435450edbbb987c5e2a1d8ff864da5aa180b5d1adc3ef611f46175f2126faca52d1b1338d986d1cb diff --git a/net-libs/libktorrent/libktorrent-20.12.3.ebuild b/net-libs/libktorrent/libktorrent-20.12.3.ebuild new file mode 100644 index 000000000000..3bb33235eb97 --- /dev/null +++ b/net-libs/libktorrent/libktorrent-20.12.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_TEST="forceoptional" +KDE_ORG_CATEGORY="network" +KDE_RELEASE_SERVICE="true" +KFMIN=5.74.0 +QTMIN=5.15.2 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="BitTorrent library based on KDE Frameworks" +HOMEPAGE="https://apps.kde.org/en/ktorrent https://userbase.kde.org/KTorrent" + +LICENSE="GPL-2+" +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="" + +BDEPEND="sys-devel/gettext" +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 +" +RDEPEND="${COMMON_DEPEND} + !dev-libs/botan[gmp(-)] +" + +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 +} |