diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-12-06 23:17:28 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-12-07 10:04:55 +0100 |
commit | a5292b3e2dc1f0ccda79f9e11d406316ea99ae98 (patch) | |
tree | 152c7d8d273cc476fc275c35775e1f4783c69dca /net-libs/libktorrent | |
parent | net-irc/konversation: 23.08.4 version bump (diff) | |
download | kde-a5292b3e2dc1f0ccda79f9e11d406316ea99ae98.tar.gz kde-a5292b3e2dc1f0ccda79f9e11d406316ea99ae98.tar.bz2 kde-a5292b3e2dc1f0ccda79f9e11d406316ea99ae98.zip |
net-libs/libktorrent: 23.08.4 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-libs/libktorrent')
-rw-r--r-- | net-libs/libktorrent/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libktorrent/libktorrent-23.08.4.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..36930c4a00 --- /dev/null +++ b/net-libs/libktorrent/Manifest @@ -0,0 +1 @@ +DIST libktorrent-23.08.4.tar.xz 604128 BLAKE2B 432541ff0d49369a4de787fd48be5fee0f14edb54014fe98600732b2b31755dd862fbcf365195f7b30931d3318782c1976a057d92370a4d554e99517c19a222d SHA512 9546ac6252f85eb12e2ad870d7da25e08ede1aab917e2bb8237cd5e975b1fe0d99ecfbbdda40a807ac96ebe23830cffbea59ebfac8d4e53b487520d7bf67ffbc diff --git a/net-libs/libktorrent/libktorrent-23.08.4.ebuild b/net-libs/libktorrent/libktorrent-23.08.4.ebuild new file mode 100644 index 0000000000..97bd4df6fe --- /dev/null +++ b/net-libs/libktorrent/libktorrent-23.08.4.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 +} |