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 294B9138334 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 59044E07FE; Fri, 27 Dec 2019 00:07:50 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 F00EDE0AD1 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 8FED034DBE2 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 2C8F642 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.a364c9ceea5ed11e7f0d3971c6f37404958898e6.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild X-VCS-Directories: net-p2p/ktorrent/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: a364c9ceea5ed11e7f0d3971c6f37404958898e6 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: 1c7185f5-422e-4827-8564-3d4b27fdb363 X-Archives-Hash: 44a20355afcf83d22a701801eba98182 commit: a364c9ceea5ed11e7f0d3971c6f37404958898e6 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Dec 26 23:59:34 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=a364c9ce net-p2p/ktorrent: 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-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild | 83 ++++++++++++++++--------------- 1 file changed, 43 insertions(+), 40 deletions(-) diff --git a/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild b/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild index 95f9bf8408b..cac1657e6a9 100644 --- a/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild +++ b/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild @@ -3,66 +3,69 @@ EAPI=7 -KDE_HANDBOOK="optional" -KDE_TEST="optional" +ECM_HANDBOOK="optional" +ECM_TEST="optional" +KFMIN=5.60.0 +QTMIN=5.12.3 VIRTUALX_REQUIRED="test" -inherit kde5 +inherit ecm kde.org DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks" -HOMEPAGE="https://kde.org/applications/internet/ktorrent/" +HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent" [[ ${KDE_BUILD_TYPE} = release ]] && SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz" LICENSE="GPL-2" +SLOT="5" KEYWORDS="amd64 arm64 ~x86" IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer +magnetgenerator +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf" BDEPEND="sys-devel/gettext" COMMON_DEPEND=" - $(add_frameworks_dep kcmutils) - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kconfigwidgets) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep kcrash) - $(add_frameworks_dep kdbusaddons) - $(add_frameworks_dep ki18n) - $(add_frameworks_dep kiconthemes) - $(add_frameworks_dep kio) - $(add_frameworks_dep knotifications) - $(add_frameworks_dep knotifyconfig) - $(add_frameworks_dep kparts) - $(add_frameworks_dep kwidgetsaddons) - $(add_frameworks_dep kwindowsystem) - $(add_frameworks_dep kxmlgui) - $(add_frameworks_dep solid) - $(add_qt_dep qtdbus) - $(add_qt_dep qtgui) - $(add_qt_dep qtnetwork) - $(add_qt_dep qtwidgets) - $(add_qt_dep qtxml) + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/knotifyconfig-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 >=net-libs/libktorrent-2.1.1:5 infowidget? ( dev-libs/geoip ) kross? ( - $(add_frameworks_dep karchive) - $(add_frameworks_dep kitemviews) - $(add_frameworks_dep kross) + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/kross-${KFMIN}:5 ) mediaplayer? ( media-libs/phonon[qt5(+)] >=media-libs/taglib-1.5 ) rss? ( - $(add_frameworks_dep kdewebkit) - $(add_frameworks_dep syndication) + >=kde-frameworks/kdewebkit-${KFMIN}:5 + >=kde-frameworks/syndication-${KFMIN}:5 ) search? ( - $(add_frameworks_dep kdewebkit) >=dev-qt/qtwebkit-5.212.0_pre20180120:5 + >=kde-frameworks/kdewebkit-${KFMIN}:5 ) - shutdown? ( $(add_plasma_dep plasma-workspace) ) - stats? ( $(add_frameworks_dep kplotting) ) - upnp? ( $(add_frameworks_dep kcompletion) ) - zeroconf? ( $(add_frameworks_dep kdnssd) ) + shutdown? ( >=kde-plasma/plasma-workspace-5.15.5 ) + stats? ( >=kde-frameworks/kplotting-${KFMIN}:5 ) + upnp? ( >=kde-frameworks/kcompletion-${KFMIN}:5 ) + zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:5 ) " DEPEND="${COMMON_DEPEND} dev-libs/boost @@ -71,8 +74,8 @@ RDEPEND="${COMMON_DEPEND} ipfilter? ( app-arch/bzip2 app-arch/unzip - $(add_frameworks_dep ktextwidgets) - $(add_kdeapps_dep kio-extras) + >=kde-apps/kio-extras-19.04.3 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 ) " @@ -92,7 +95,7 @@ src_configure() { -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer) -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator) -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer) - $(cmake-utils_use_find_package rss KF5Syndication) + $(cmake_use_find_package rss KF5Syndication) -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder) -DENABLE_SEARCH_PLUGIN=$(usex search) -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown) @@ -101,6 +104,6 @@ src_configure() { -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf) ) # add back when ported -# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface) - kde5_src_configure +# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface) + ecm_src_configure }