diff options
author | 2024-08-11 00:17:16 +0200 | |
---|---|---|
committer | 2024-08-11 00:17:16 +0200 | |
commit | 4ca6db4c8ca178b07cf74277879293a9aa65d5ee (patch) | |
tree | 6bfcc8b5204d805e70edb077273d03ca65612fda /net-libs | |
parent | net-irc/konversation: 24.07.90 version bump (diff) | |
download | kde-4ca6db4c8ca178b07cf74277879293a9aa65d5ee.tar.gz kde-4ca6db4c8ca178b07cf74277879293a9aa65d5ee.tar.bz2 kde-4ca6db4c8ca178b07cf74277879293a9aa65d5ee.zip |
net-libs/libktorrent: 24.07.90 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-24.07.90.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest new file mode 100644 index 0000000000..67dd4f92b7 --- /dev/null +++ b/net-libs/libktorrent/Manifest @@ -0,0 +1 @@ +DIST libktorrent-24.07.90.tar.xz 605892 BLAKE2B c002eed7b635ba14ce1c8d37ac3d983749641ce279794b2976bfcecd1592dfb5acf4c2df7cadd1eebd538b721fd8adf15f88dd35e5a7cac33421651c901b93ed SHA512 81653b3e1a2a238707111d0d0a674ef0af7297b7388c5909a23ac3aaac8349cd1852092b30a6706d6f9712d39ed3b2ba4e802a756c09bffa468fb8cfb03a7b4c diff --git a/net-libs/libktorrent/libktorrent-24.07.90.ebuild b/net-libs/libktorrent/libktorrent-24.07.90.ebuild new file mode 100644 index 0000000000..b4e75e71fc --- /dev/null +++ b/net-libs/libktorrent/libktorrent-24.07.90.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=6.5.0 +QTMIN=6.7.2 +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="6" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +COMMON_DEPEND=" + >=app-crypt/qca-2.3.7:2[qt6] + >=dev-libs/gmp-6.0.0a:0= + dev-libs/libgcrypt:0= + >=dev-qt/qtbase-${QTMIN}:6[network,xml] + >=dev-qt/qt5compat-${QTMIN}:6 + >=kde-frameworks/karchive-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/solid-${KFMIN}:6 +" +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@\"//" \ + KTorrent6Config.cmake.in || die +} + +src_test() { + # failing network tests + local myctestargs=( + -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)" + ) + + ecm_src_test +} |