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 65A9B138335 for ; Fri, 27 Dec 2019 00:07:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D46CE0805; Fri, 27 Dec 2019 00:07:50 +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 DE619E0AD0 for ; Fri, 27 Dec 2019 00:07:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 98E0834DBE3 for ; Fri, 27 Dec 2019 00:07:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FB3043 for ; Fri, 27 Dec 2019 00:07:46 +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: <1577405238.716d562f91d6e7eaf6da6d499ea5e0ae9e63c6a0.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libktorrent/libktorrent-2.1.1.ebuild X-VCS-Directories: net-libs/libktorrent/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 716d562f91d6e7eaf6da6d499ea5e0ae9e63c6a0 X-VCS-Branch: master Date: Fri, 27 Dec 2019 00:07:46 +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: d1f959e9-7733-41a5-846d-5c448ccf36d3 X-Archives-Hash: acf2e51e69a245b691b6776023353d0c commit: 716d562f91d6e7eaf6da6d499ea5e0ae9e63c6a0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Dec 27 00:03:24 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Dec 27 00:07:18 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=716d562f net-libs/libktorrent: Port to ecm.eclass and kde.org.eclass Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> net-libs/libktorrent/libktorrent-2.1.1.ebuild | 30 +++++++++++++++------------ 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/net-libs/libktorrent/libktorrent-2.1.1.ebuild b/net-libs/libktorrent/libktorrent-2.1.1.ebuild index 9399cfd161b..a71a4a0418b 100644 --- a/net-libs/libktorrent/libktorrent-2.1.1.ebuild +++ b/net-libs/libktorrent/libktorrent-2.1.1.ebuild @@ -3,31 +3,35 @@ EAPI=7 -KDE_TEST="forceoptional" +ECM_TEST="forceoptional" +KFMIN=5.60.0 +QTMIN=5.12.3 VIRTUALX_REQUIRED="test" -inherit kde5 +inherit ecm kde.org DESCRIPTION="BitTorrent library based on KDE Frameworks" -HOMEPAGE="https://kde.org/applications/internet/ktorrent/" +HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent +https://userbase.kde.org/KTorrent" SRC_URI="mirror://kde/stable/ktorrent/5.1.2/${P}.tar.xz" LICENSE="GPL-2+" +SLOT="5" KEYWORDS="amd64 ~arm arm64 ~x86" IUSE="" BDEPEND="sys-devel/gettext" COMMON_DEPEND=" - $(add_frameworks_dep karchive) - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep ki18n) - $(add_frameworks_dep kio) - $(add_frameworks_dep solid) - $(add_qt_dep qtnetwork) - $(add_qt_dep qtxml) 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/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 " DEPEND="${COMMON_DEPEND} dev-libs/boost @@ -42,7 +46,7 @@ PATCHES=( ) src_prepare() { - kde5_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}\" //" \ @@ -57,5 +61,5 @@ src_test() { -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)" ) - kde5_src_test + ecm_src_test }