commit:     1d409e6f411004943b1244f3c18870ee13f2d57f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 12 21:06:25 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 12 21:06:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d409e6f

sys-libs/kpmcore: Port to ecm.eclass and kde.org.eclass

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sys-libs/kpmcore/kpmcore-4.0.1.ebuild | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/sys-libs/kpmcore/kpmcore-4.0.1.ebuild 
b/sys-libs/kpmcore/kpmcore-4.0.1.ebuild
index 9adf61fb6b4..84b1bc595f9 100644
--- a/sys-libs/kpmcore/kpmcore-4.0.1.ebuild
+++ b/sys-libs/kpmcore/kpmcore-4.0.1.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit kde5
+KFMIN=5.60.0
+QTMIN=5.12.3
+inherit ecm kde.org
 
 if [[ ${KDE_BUILD_TYPE} = release ]]; then
        SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
@@ -12,23 +14,24 @@ fi
 
 DESCRIPTION="Library for managing partitions"
 HOMEPAGE="https://kde.org/applications/system/org.kde.partitionmanager";
+
 LICENSE="GPL-3"
 SLOT="5/8"
 IUSE=""
 
 BDEPEND="virtual/pkgconfig"
 DEPEND="
-       $(add_frameworks_dep kauth)
-       $(add_frameworks_dep kcoreaddons)
-       $(add_frameworks_dep ki18n)
-       $(add_frameworks_dep kwidgetsaddons)
-       $(add_qt_dep qtdbus)
-       $(add_qt_dep qtgui)
-       $(add_qt_dep qtwidgets)
        || (
                app-crypt/qca[botan]
                app-crypt/qca[ssl]
        )
+       >=dev-qt/qtdbus-${QTMIN}:5
+       >=dev-qt/qtgui-${QTMIN}:5
+       >=dev-qt/qtwidgets-${QTMIN}:5
+       >=kde-frameworks/kauth-${KFMIN}:5
+       >=kde-frameworks/kcoreaddons-${KFMIN}:5
+       >=kde-frameworks/ki18n-${KFMIN}:5
+       >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
        >=sys-apps/util-linux-2.33.2
 "
 RDEPEND="${DEPEND}"

Reply via email to