media-sound/soundkonverter: Port to ecm.eclass
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 12 Jan 2020 18:01:20 +0000 (19:01 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 12 Jan 2020 18:28:47 +0000 (19:28 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-sound/soundkonverter/soundkonverter-3.0.1-r2.ebuild

index b930b9c11d267a133e858b771ea2bfa08c34b43c..0beceea2e00efd3c7b6d6b220cb4366a6fe5e5f8 100644 (file)
@@ -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"