commit:     0e2728ea6d1471a004e4f5530fcd6dafdeb3a853
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 11 00:35:32 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Nov 11 00:35:32 2019 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=0e2728ea

app-cdr/isoimagewriter: Port to ecm.eclass and kde.org.eclass

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

 app-cdr/isoimagewriter/isoimagewriter-9999.ebuild | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/app-cdr/isoimagewriter/isoimagewriter-9999.ebuild 
b/app-cdr/isoimagewriter/isoimagewriter-9999.ebuild
index 50e9c35bf7..e13a14a991 100644
--- a/app-cdr/isoimagewriter/isoimagewriter-9999.ebuild
+++ b/app-cdr/isoimagewriter/isoimagewriter-9999.ebuild
@@ -3,23 +3,29 @@
 
 EAPI=7
 
-inherit kde5
+KFMIN=5.60.0
+QTMIN=5.12.3
+inherit ecm kde.org
 
 DESCRIPTION="Write hybrid ISO files onto a USB disk"
 
HOMEPAGE="http://wiki.rosalab.com/en/index.php/Blog:ROSA_Planet/ROSA_Image_Writer";
-[[ ${PV} != *9999* ]] && 
SRC_URI="mirror://kde/unstable/${PN}/${PV}/${P}.tar.xz"
+
+if [[ ${KDE_BUILD_TYPE} == release ]]; then
+       SRC_URI="mirror://kde/unstable/${PN}/${PV}/${P}.tar.xz"
+       KEYWORDS="~amd64"
+fi
 
 LICENSE="GPL-3"
-KEYWORDS=""
+SLOT="5"
 IUSE=""
 
 DEPEND="
-       $(add_frameworks_dep kauth)
-       $(add_frameworks_dep kcoreaddons)
-       $(add_frameworks_dep ki18n)
-       $(add_qt_dep qtgui)
-       $(add_qt_dep qtwidgets)
        app-crypt/gpgme[cxx,qt5]
+       >=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
        virtual/libudev:=
 "
 RDEPEND="${DEPEND}"

Reply via email to