diff options
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/Manifest.gz | bin | 32799 -> 32796 bytes | |||
-rw-r--r-- | net-libs/libktorrent/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libktorrent/libktorrent-23.04.0.ebuild | 60 |
3 files changed, 62 insertions, 0 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex 8372f1c1247a..dbb3453c9119 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index 746577dba892..3b55687a9d55 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,3 +1,5 @@ DIST libktorrent-22.12.3.tar.xz 616864 BLAKE2B 7acccec7a946083bde8ecf7fe67a0e0fef2fa02a8e2d2e8319956249630d902651f56e1b22d4eafbbc2c1709b0b70cfde762475a2bbe4b355941c8a9aecdd4db SHA512 16fbdf1422882928e22c326df432c5d266815a56e83a80056734fd15a38898036d4cef993a86e63ccf8bf8a8618f857535b6aa4bc3c8479e1ad4b0dd3b4521c3 +DIST libktorrent-23.04.0.tar.xz 603984 BLAKE2B cc8517e2c57bd49ae52b717f8eeb6cc8e70b2a6893da06deaff26b13c3c8fb2d7c626ba36311f41536f50278a69ad09709007168da1500aa8c69b0dc5c5d8865 SHA512 4d88beb5bc7893a27eb9a963f2d18aadf8c92bf13260c3520f4b83acf91c4083165019fbe21d24265439461a3541d2f6641c617e6d9d0936842bfbfa22a8b9e7 EBUILD libktorrent-22.12.3.ebuild 1449 BLAKE2B 4307e696aa8b5c804dbaa8f1759ec3fbdef64e7cedefdeeec9c880df1c81de6e09894f8ee92f3b17046328a307c0a4c35c793d81c260730baef3c326eb725e9c SHA512 4b8dfb6a3817d4c2015f54f4cef6cc24d9afc76b4a6ecc242f6e57c70ba54dc5f4fdd25c3d4b997ce01a589b7071347a7e70d9e584763b2b98ecff51cbbd9e0d +EBUILD libktorrent-23.04.0.ebuild 1452 BLAKE2B c94e0a7be1d7547fd29a6cff070d3857f840fe8e77ecd40f337e62706d4d9b58a72008cafac3029a8765df44c93c96d86774c424200588ab6557c83364c98e3e SHA512 3f5f1f375257df73aebd648f9ca957964577e67865d0996485457ef7895d8534a9652910543c5e4b26180ceafc746ce2ca85f89f7f4a2b7884adf5a0e333cfe1 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/net-libs/libktorrent/libktorrent-23.04.0.ebuild b/net-libs/libktorrent/libktorrent-23.04.0.ebuild new file mode 100644 index 000000000000..2ef0c863b832 --- /dev/null +++ b/net-libs/libktorrent/libktorrent-23.04.0.ebuild @@ -0,0 +1,60 @@ +# 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.104.0 +QTMIN=5.15.5 +VIRTUALX_REQUIRED="test" +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 +} |