diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-28 13:02:07 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-28 14:53:17 +0100 |
commit | 527e98f5ecbddabd2b71345e6bd95e9bb75e7503 (patch) | |
tree | 683319824cd122c594fefc71e8ab7767b16396e1 /net-libs | |
parent | net-irc/konversation: 24.02.0 version bump (diff) | |
download | gentoo-527e98f5ecbddabd2b71345e6bd95e9bb75e7503.tar.gz gentoo-527e98f5ecbddabd2b71345e6bd95e9bb75e7503.tar.bz2 gentoo-527e98f5ecbddabd2b71345e6bd95e9bb75e7503.zip |
net-libs/libktorrent: 24.02.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-24.02.0.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index 2ee0e59cf9e6..49217b1167f6 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,2 +1,3 @@ DIST libktorrent-23.08.4.tar.xz 604128 BLAKE2B 432541ff0d49369a4de787fd48be5fee0f14edb54014fe98600732b2b31755dd862fbcf365195f7b30931d3318782c1976a057d92370a4d554e99517c19a222d SHA512 9546ac6252f85eb12e2ad870d7da25e08ede1aab917e2bb8237cd5e975b1fe0d99ecfbbdda40a807ac96ebe23830cffbea59ebfac8d4e53b487520d7bf67ffbc DIST libktorrent-23.08.5.tar.xz 604184 BLAKE2B e4fc72be9fe20b06220b25fa558a1f86dd029e4eec15da2c8f26ed4acc69e1c06db3fea6ed8dfdb643a01beaf2146c7c0939e8a0da05920712e7f5614e4b4a47 SHA512 c38f944167436a7190e46093cbc928d3db375f7414fa5acdf5b3fd9e77007435259740027941daed422c784d691532f3c9a6c824ce9ac23c091edbedc563aa11 +DIST libktorrent-24.02.0.tar.xz 603180 BLAKE2B 8e0d78634829d097ccf14ef39bd53424c3cf2448dbd81db9b5d2f698dd53153ea591f8ac30002dc92b788b76ba035ab18f68ec66696622fe5c21b3e2590ac7f7 SHA512 3280d7f608e473ccbb3fb734652c4964b9f4e46b09ff730282c36fa4f8ceef7a6852f52ec4a3206ea82ac9185e3463ad134a505d49a6f649caa05a5bb90c9960 diff --git a/net-libs/libktorrent/libktorrent-24.02.0.ebuild b/net-libs/libktorrent/libktorrent-24.02.0.ebuild new file mode 100644 index 000000000000..5458f6660e47 --- /dev/null +++ b/net-libs/libktorrent/libktorrent-24.02.0.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.0 +QTMIN=6.6.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" +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 +} |