games-puzzle/ksokoban: Port to ecm.eclass and kde.org.eclass
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 13 Nov 2019 13:22:15 +0000 (14:22 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 13 Nov 2019 13:44:25 +0000 (14:44 +0100)
Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
games-puzzle/ksokoban/ksokoban-9999.ebuild

index cdba7211470b24c38fcb705aaf16459cd7750434..f33dceb915b5c801e527f04fc1f548997bf374a2 100644 (file)
@@ -3,10 +3,12 @@
 
 EAPI=7
 
-KDE_HANDBOOK="optional"
-inherit kde5
+ECM_HANDBOOK="optional"
+KFMIN=5.60.0
+QTMIN=5.12.3
+inherit ecm kde.org
 
-DESCRIPTION="The japanese warehouse keeper game"
+DESCRIPTION="The Japanese warehouse keeper game"
 HOMEPAGE="https://cgit.kde.org/ksokoban.git"
 
 LICENSE="GPL-2"
@@ -14,15 +16,15 @@ SLOT="0"
 KEYWORDS=""
 
 RDEPEND="
-       $(add_frameworks_dep kconfig)
-       $(add_frameworks_dep kcoreaddons)
-       $(add_frameworks_dep ki18n)
-       $(add_frameworks_dep kio)
-       $(add_frameworks_dep kwidgetsaddons)
-       $(add_frameworks_dep kxmlgui)
-       $(add_qt_dep qtgui)
-       $(add_qt_dep qtwidgets)
+       >=dev-qt/qtgui-${QTMIN}:5
+       >=dev-qt/qtwidgets-${QTMIN}:5
+       >=kde-frameworks/kconfig-${KFMIN}:5
+       >=kde-frameworks/kcoreaddons-${KFMIN}:5
+       >=kde-frameworks/ki18n-${KFMIN}:5
+       >=kde-frameworks/kio-${KFMIN}:5
+       >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+       >=kde-frameworks/kxmlgui-${KFMIN}:5
 "
 DEPEND="${RDEPEND}
-       $(add_frameworks_dep kiconthemes)
+       >=kde-frameworks/kiconthemes-${KFMIN}:5
 "