diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-12-03 11:21:58 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-12-03 11:44:54 +0100 |
| commit | 933b87f07ec35ecdb0ffe6ba14225840b64b44cc (patch) | |
| tree | a98ba544ced7cee06eaf76e94aa7ddaa7ebd2c42 /net-libs | |
| parent | 3337d6d66ea06c470e78470dd65dc2fe8a20a1c5 (diff) | |
| download | kde-933b87f07ec35ecdb0ffe6ba14225840b64b44cc.tar.gz kde-933b87f07ec35ecdb0ffe6ba14225840b64b44cc.tar.bz2 kde-933b87f07ec35ecdb0ffe6ba14225840b64b44cc.zip | |
net-libs/libktorrent: 21.12.0 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-21.12.0.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest new file mode 100644 index 00000000000..86b78911bd6 --- /dev/null +++ b/net-libs/libktorrent/Manifest @@ -0,0 +1 @@ +DIST libktorrent-21.12.0.tar.xz 605896 BLAKE2B 9e1f50d03ec6cbf7a73cfb4cddc16eefd81721ff5a493a0eb3e59f7280641994d8afc6d7a3a406cdb9dc34e7195c79bd8ff2a043c57215a67fc8638a97f2f82b SHA512 a5c036ee925bbb138d6cb1c4b83a927f4894d00b0b54cd72c32657b6cfbfe7722318198e9eeefb1990f1dfef49b239a83af9794621235b68ad06e3f08e0b30ea diff --git a/net-libs/libktorrent/libktorrent-21.12.0.ebuild b/net-libs/libktorrent/libktorrent-21.12.0.ebuild new file mode 100644 index 00000000000..580da05f4f0 --- /dev/null +++ b/net-libs/libktorrent/libktorrent-21.12.0.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.88.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 ~riscv ~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 +} |
