diff options
Diffstat (limited to 'net-libs/libktorrent')
-rw-r--r-- | net-libs/libktorrent/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libktorrent/libktorrent-24.02.0.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index 4bfdaf2d6d0b..e463fdea58bb 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,5 +1,7 @@ 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 EBUILD libktorrent-23.08.4.ebuild 1424 BLAKE2B c75dcab9838324cb487b6af948687ba3044e452494b1068eb1cf8499fd5ae9fad84a137e4043f76093e14aabb6347277e13e9aacffbff7d6927ac66e32ce4152 SHA512 a1b47ee5380a6d5d505d19f55958c0c122a8c7c9ee75e63db84affe38865753e46c0adbc590dea381cf2ff7a72333cb9e653a0f888af0f2212c6b86e93bf0d22 EBUILD libktorrent-23.08.5.ebuild 1427 BLAKE2B 62e04776403173cdbd8ae3fd3724b1300655a94119acdeefc1f1ed569067c19f2e469c34df3edc1017cb55c376a49bb8e2cdbc68bc78cebea26e1ae3456ed5a5 SHA512 8dbb8d40dd15c548daf3e24e4bfa456a525dc5754718e3f7651ec791911600775e7217367d8111663a6b118dac037077157a509d92d86ed3e6d42a27b882c3f2 +EBUILD libktorrent-24.02.0.ebuild 1401 BLAKE2B 38aed12bdbff1414d8929ec37b24211b8ebf3ee05ee2e8bc7225db0921194e8951d47932ec0ed60a71d90877f9ef28c521cf352c1d5a46f30588c4549216bc8a SHA512 80e9a3ce7795902a8995602601b2b06ce8be2e3b280ce204605521642456cc53e09387841e784acb7d24b6d2bd0a512cf0ae759d5ff6109bb4468784c9a57b46 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 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 +} |