kde-misc/rsibreak: Port to ecm, kde.org, update HOMEPAGE
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 13 Nov 2019 21:33:56 +0000 (22:33 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 13 Nov 2019 21:34:24 +0000 (22:34 +0100)
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-misc/rsibreak/rsibreak-0.12.11.ebuild

index db6c48179083ce36a8e4c725edf743c01d134a31..712f1a81d492a85484a9299edace671a8e3d1ee9 100644 (file)
@@ -3,41 +3,46 @@
 
 EAPI=7
 
-KDE_HANDBOOK="forceoptional"
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.60.0
+QTMIN=5.12.3
 VIRTUALX_REQUIRED="test"
-inherit kde5
+inherit ecm kde.org
 
 DESCRIPTION="Small utility which bothers you at certain intervals"
-HOMEPAGE="https://userbase.kde.org/RSIBreak"
+HOMEPAGE="https://kde.org/applications/utilities/org.kde.rsibreak
+https://userbase.kde.org/RSIBreak"
+
 if [[ ${KDE_BUILD_TYPE} = release ]]; then
        SRC_URI="mirror://kde/stable/${PN}/$(ver_cut 1-2)/${P}.tar.xz"
+       KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="GPL-2+ handbook? ( FDL-1.2 )"
-KEYWORDS="~amd64 ~x86"
+SLOT="5"
 IUSE=""
 
 BDEPEND="sys-devel/gettext"
 DEPEND="
-       $(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 kidletime)
-       $(add_frameworks_dep knotifications)
-       $(add_frameworks_dep knotifyconfig)
-       $(add_frameworks_dep ktextwidgets)
-       $(add_frameworks_dep kwidgetsaddons)
-       $(add_frameworks_dep kwindowsystem)
-       $(add_frameworks_dep kxmlgui)
-       $(add_qt_dep qtdbus)
-       $(add_qt_dep qtgui)
-       $(add_qt_dep qtwidgets)
+       >=dev-qt/qtdbus-${QTMIN}:5
+       >=dev-qt/qtgui-${QTMIN}:5
+       >=dev-qt/qtwidgets-${QTMIN}: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/kidletime-${KFMIN}:5
+       >=kde-frameworks/knotifications-${KFMIN}:5
+       >=kde-frameworks/knotifyconfig-${KFMIN}:5
+       >=kde-frameworks/ktextwidgets-${KFMIN}:5
+       >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+       >=kde-frameworks/kwindowsystem-${KFMIN}:5
+       >=kde-frameworks/kxmlgui-${KFMIN}:5
 "
 # bug 587170 for frameworkintegration
 RDEPEND="${DEPEND}
-       $(add_frameworks_dep frameworkintegration)
+       >=kde-frameworks/frameworkintegration-${KFMIN}:5
 "