diff options
Diffstat (limited to 'net-libs/libktorrent')
-rw-r--r-- | net-libs/libktorrent/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libktorrent/libktorrent-23.04.3.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index aaf1ec508cfc..9f7d8e91c215 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,5 +1,7 @@ DIST libktorrent-22.12.3.tar.xz 616864 BLAKE2B 7acccec7a946083bde8ecf7fe67a0e0fef2fa02a8e2d2e8319956249630d902651f56e1b22d4eafbbc2c1709b0b70cfde762475a2bbe4b355941c8a9aecdd4db SHA512 16fbdf1422882928e22c326df432c5d266815a56e83a80056734fd15a38898036d4cef993a86e63ccf8bf8a8618f857535b6aa4bc3c8479e1ad4b0dd3b4521c3 DIST libktorrent-23.04.2.tar.xz 604072 BLAKE2B 567b5051058bcca9457ae8fbbcb922ca570e110c7aaeb9506049c29673aa552c8ab333aa24ff4046266fc9f998da9daf24aa236072d0ebb705fbce91e36fac8e SHA512 836831b4b21cead5ff59654173681bf9784305c9f11db146a06b5f74c7c9e1802469ea324d7a1986071760aaf798768eb09a575b8df88df56df1d48675b2756c +DIST libktorrent-23.04.3.tar.xz 604076 BLAKE2B 50fd77cbd0563e2c38ed5e3e835315a71ec095befc99d2600402c2bef7ae1f47d1a71b265d110a164f3dabdb249a0a4b0c42b698e7e1adbf5fa8fab323761351 SHA512 5eb26785c29846290ed3d16809d618d3ce8027fa7a6f03d07b2ecf7c5b541dec8dc4a98f749a8716fbcedc8ea1181bdda53338c6fffb8acccdd39dabde5087df EBUILD libktorrent-22.12.3.ebuild 1449 BLAKE2B 4307e696aa8b5c804dbaa8f1759ec3fbdef64e7cedefdeeec9c880df1c81de6e09894f8ee92f3b17046328a307c0a4c35c793d81c260730baef3c326eb725e9c SHA512 4b8dfb6a3817d4c2015f54f4cef6cc24d9afc76b4a6ecc242f6e57c70ba54dc5f4fdd25c3d4b997ce01a589b7071347a7e70d9e584763b2b98ecff51cbbd9e0d EBUILD libktorrent-23.04.2.ebuild 1427 BLAKE2B 3a74fa7ac7abe64b3fc839af4f97f5560269db73ebb98da5e46e268f629cc7ef2a2815436910aaa443b54b00f281e8a7fe0a55124333b0d7c023909e60c2d8f7 SHA512 3abea601c401cc426ed483b598633697bd274289a91aa4414bfaddc49400529aaa6ad1b7f2037cfa5e6b44df82931e9500ee4fd931aebfa6d2ab6ac3ee37aa60 +EBUILD libktorrent-23.04.3.ebuild 1427 BLAKE2B 3a74fa7ac7abe64b3fc839af4f97f5560269db73ebb98da5e46e268f629cc7ef2a2815436910aaa443b54b00f281e8a7fe0a55124333b0d7c023909e60c2d8f7 SHA512 3abea601c401cc426ed483b598633697bd274289a91aa4414bfaddc49400529aaa6ad1b7f2037cfa5e6b44df82931e9500ee4fd931aebfa6d2ab6ac3ee37aa60 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/net-libs/libktorrent/libktorrent-23.04.3.ebuild b/net-libs/libktorrent/libktorrent-23.04.3.ebuild new file mode 100644 index 000000000000..97bd4df6feec --- /dev/null +++ b/net-libs/libktorrent/libktorrent-23.04.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KDE_ORG_CATEGORY="network" +KFMIN=5.106.0 +QTMIN=5.15.9 +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="5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +COMMON_DEPEND=" + >=app-crypt/qca-2.3.0:2[qt5(+)] + >=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 +} |