From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22CC71382C5 for ; Sun, 7 Jun 2020 09:30:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B68BE090E; Sun, 7 Jun 2020 09:30:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1FA4FE090E for ; Sun, 7 Jun 2020 09:30:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98FC234EF3F for ; Sun, 7 Jun 2020 09:30:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5287E31 for ; Sun, 7 Jun 2020 09:30:28 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1591522213.26a72b49e279788417dc42c87142f19c51212ed8.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libktorrent/Manifest net-libs/libktorrent/libktorrent-2.2.0.ebuild X-VCS-Directories: net-libs/libktorrent/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 26a72b49e279788417dc42c87142f19c51212ed8 X-VCS-Branch: master Date: Sun, 7 Jun 2020 09:30:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 30499416-66a8-4fc7-be85-50d55474b64e X-Archives-Hash: d37874a3d45d2af9ea2a356987fa037a commit: 26a72b49e279788417dc42c87142f19c51212ed8 Author: Andrius Štikonas stikonas eu> AuthorDate: Sat Jun 6 20:34:36 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jun 7 09:30:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26a72b49 net-libs/libktorrent: bump version to 2.2.0 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrius Štikonas stikonas.eu> Closes: https://github.com/gentoo/gentoo/pull/16095 Signed-off-by: Andreas Sturmlechner gentoo.org> net-libs/libktorrent/Manifest | 1 + net-libs/libktorrent/libktorrent-2.2.0.ebuild | 62 +++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index e5e618845c4..8ac1557721f 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1 +1,2 @@ DIST libktorrent-2.1.1.tar.xz 357516 BLAKE2B 8bcec166fa1d4f09b72c4f31c771d5316f7411da538b789b111b641c8ba551d9c88bd1d68d8ad96396e125bb6b16f9d4e2a42a6b2166b40572d730d692d3cf5d SHA512 5c7f0218193cae148b03ae86a886b89d08a46200755728468ef271a6201add88eca617898d486d1823699def282d0251e26e3b28d2642f45cab966c286127d37 +DIST libktorrent-2.2.0.tar.xz 357364 BLAKE2B 66a91fc32dc11a680d22755468513896c9cea1cbaef8664c84633860b78efba85e5c9e47684fdaaf7fb6f03f624268f9158ee2b8c6fc3d14b0e70339c1f6903e SHA512 2edcb3a230f4fa3a55a6b774c819f4964fe8f2f5447b723ba81cdb0c187dc0268b6e78566d710fa364abe2cc40cd618d1874ecb1637e872fbad0ea8c340abc1a diff --git a/net-libs/libktorrent/libktorrent-2.2.0.ebuild b/net-libs/libktorrent/libktorrent-2.2.0.ebuild new file mode 100644 index 00000000000..ea246055bc8 --- /dev/null +++ b/net-libs/libktorrent/libktorrent-2.2.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_TEST="forceoptional" +KDE_ORG_CATEGORY="network" +KFMIN=5.60.0 +QTMIN=5.12.3 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="BitTorrent library based on KDE Frameworks" +HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent +https://userbase.kde.org/KTorrent" +SRC_URI="mirror://kde/stable/ktorrent/5.2.0/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +BDEPEND="sys-devel/gettext" +COMMON_DEPEND=" + app-crypt/qca: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 +" +RDEPEND="${COMMON_DEPEND} + !dev-libs/botan[gmp(-)] +" + +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 +}