summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-12 21:58:20 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-12 22:03:55 +0100
commitce0717bbb8a84948ab265b4b2d64f418d57cecba (patch)
tree8ba6311e055efd68648d3c02c2f2730e4f3f5552 /sys-block
parentsci-mathematics/rkward: Port to ecm.eclass and kde.org.eclass (diff)
downloadgentoo-ce0717bbb8a84948ab265b4b2d64f418d57cecba.tar.gz
gentoo-ce0717bbb8a84948ab265b4b2d64f418d57cecba.tar.bz2
gentoo-ce0717bbb8a84948ab265b4b2d64f418d57cecba.zip
sys-block/partitionmanager: Port to ecm.eclass and kde.org.eclass
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/partitionmanager/partitionmanager-4.0.0.ebuild46
1 files changed, 25 insertions, 21 deletions
diff --git a/sys-block/partitionmanager/partitionmanager-4.0.0.ebuild b/sys-block/partitionmanager/partitionmanager-4.0.0.ebuild
index b39b232b8972..158d380ad8d2 100644
--- a/sys-block/partitionmanager/partitionmanager-4.0.0.ebuild
+++ b/sys-block/partitionmanager/partitionmanager-4.0.0.ebuild
@@ -1,34 +1,38 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-FRAMEWORKS_MINIMAL="5.56"
-KDE_HANDBOOK="optional"
-inherit kde5
+ECM_HANDBOOK="optional"
+KFMIN=5.56.0
+QTMIN=5.12.3
+inherit ecm kde.org
DESCRIPTION="Utility for management of disks, partitions and file systems"
HOMEPAGE="https://kde.org/applications/system/org.kde.partitionmanager"
-[[ ${KDE_BUILD_TYPE} == release ]] && SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
+
+if [[ ${KDE_BUILD_TYPE} == release ]]; then
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
+ KEYWORDS="amd64 ~arm ~arm64 x86"
+fi
LICENSE="GPL-3"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-IUSE=""
+SLOT="5"
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 kio)
- $(add_frameworks_dep kjobwidgets)
- $(add_frameworks_dep kwidgetsaddons)
- $(add_frameworks_dep kxmlgui)
- $(add_qt_dep qtgui)
- $(add_qt_dep qtwidgets)
- >=sys-libs/kpmcore-4.0.0: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/kio-${KFMIN}:5
+ >=kde-frameworks/kjobwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=sys-libs/kpmcore-3.3.0:5=
"
RDEPEND="${DEPEND}"