diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-12-27 01:03:24 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-12-27 01:07:18 +0100 |
commit | 716d562f91d6e7eaf6da6d499ea5e0ae9e63c6a0 (patch) | |
tree | 0c342a4842c34bdf085a38893d5e1e46d714d44b /net-libs/libktorrent | |
parent | net-p2p/ktorrent: Port to ecm.eclass and kde.org.eclass (diff) | |
download | gentoo-716d562f91d6e7eaf6da6d499ea5e0ae9e63c6a0.tar.gz gentoo-716d562f91d6e7eaf6da6d499ea5e0ae9e63c6a0.tar.bz2 gentoo-716d562f91d6e7eaf6da6d499ea5e0ae9e63c6a0.zip |
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 <asturm@gentoo.org>
Diffstat (limited to 'net-libs/libktorrent')
-rw-r--r-- | net-libs/libktorrent/libktorrent-2.1.1.ebuild | 30 |
1 files 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 9399cfd161ba..a71a4a0418bc 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 } |