commit:     817b6ead8105d6d22ee4b318e56a37a18104a838
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 12 18:01:20 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 12 18:28:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=817b6ead

media-sound/soundkonverter: Port to ecm.eclass

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

 .../soundkonverter/soundkonverter-3.0.1-r2.ebuild  | 44 +++++++++++-----------
 1 file changed, 23 insertions(+), 21 deletions(-)

diff --git a/media-sound/soundkonverter/soundkonverter-3.0.1-r2.ebuild 
b/media-sound/soundkonverter/soundkonverter-3.0.1-r2.ebuild
index b930b9c11d2..0beceea2e00 100644
--- a/media-sound/soundkonverter/soundkonverter-3.0.1-r2.ebuild
+++ b/media-sound/soundkonverter/soundkonverter-3.0.1-r2.ebuild
@@ -1,39 +1,41 @@
-# 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
 
 DESCRIPTION="Frontend to various audio converters"
 HOMEPAGE="https://www.linux-apps.com/p/1126634/ 
https://github.com/dfaust/soundkonverter";
 SRC_URI="https://github.com/dfaust/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
+SLOT="5"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 BDEPEND="
        sys-devel/gettext
 "
 DEPEND="
-       $(add_frameworks_dep kcompletion)
-       $(add_frameworks_dep kconfig)
-       $(add_frameworks_dep kconfigwidgets)
-       $(add_frameworks_dep kcoreaddons)
-       $(add_frameworks_dep kdelibs4support)
-       $(add_frameworks_dep ki18n)
-       $(add_frameworks_dep kio)
-       $(add_frameworks_dep knotifications)
-       $(add_frameworks_dep kservice)
-       $(add_frameworks_dep ktextwidgets)
-       $(add_frameworks_dep kwidgetsaddons)
-       $(add_frameworks_dep kxmlgui)
-       $(add_frameworks_dep solid)
-       $(add_kdeapps_dep libkcddb)
-       $(add_qt_dep qtgui)
-       $(add_qt_dep qtwidgets)
-       $(add_qt_dep qtxml)
+       >=dev-qt/qtgui-${QTMIN}:5
+       >=dev-qt/qtwidgets-${QTMIN}:5
+       >=dev-qt/qtxml-${QTMIN}:5
+       >=kde-apps/libkcddb-19.04.3:5
+       >=kde-frameworks/kcompletion-${KFMIN}:5
+       >=kde-frameworks/kconfig-${KFMIN}:5
+       >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+       >=kde-frameworks/kcoreaddons-${KFMIN}:5
+       >=kde-frameworks/kdelibs4support-${KFMIN}:5
+       >=kde-frameworks/ki18n-${KFMIN}:5
+       >=kde-frameworks/kio-${KFMIN}:5
+       >=kde-frameworks/knotifications-${KFMIN}:5
+       >=kde-frameworks/kservice-${KFMIN}:5
+       >=kde-frameworks/ktextwidgets-${KFMIN}:5
+       >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+       >=kde-frameworks/kxmlgui-${KFMIN}:5
+       >=kde-frameworks/solid-${KFMIN}:5
        media-libs/phonon[qt5(+)]
        >=media-libs/taglib-1.10
        media-sound/cdparanoia
@@ -51,7 +53,7 @@ PATCHES=(
 S="${WORKDIR}"/${P}/src
 
 pkg_postinst() {
-       kde5_pkg_postinst
+       ecm_pkg_postinst
 
        elog "soundKonverter optionally supports many different audio formats."
        elog "You will need to install the appropriate encoding packages for 
the"

Reply via email to