summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-12 12:00:47 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-12 12:45:36 +0100
commit3a4c910dbefad66b50361e413e42bdc86fe42660 (patch)
treefda2b1904a99ab67c10bbe5887f1c11316b6b99a /kde-misc
parentkde-misc/colord-kde: Drop 0.5.0-r1 (diff)
downloadgentoo-3a4c910dbefad66b50361e413e42bdc86fe42660.tar.gz
gentoo-3a4c910dbefad66b50361e413e42bdc86fe42660.tar.bz2
gentoo-3a4c910dbefad66b50361e413e42bdc86fe42660.zip
kde-misc/kmarkdownwebview: 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 'kde-misc')
-rw-r--r--kde-misc/kmarkdownwebview/kmarkdownwebview-0.5.5.ebuild29
1 files changed, 16 insertions, 13 deletions
diff --git a/kde-misc/kmarkdownwebview/kmarkdownwebview-0.5.5.ebuild b/kde-misc/kmarkdownwebview/kmarkdownwebview-0.5.5.ebuild
index 86226db89b6f..79dafe740c4f 100644
--- a/kde-misc/kmarkdownwebview/kmarkdownwebview-0.5.5.ebuild
+++ b/kde-misc/kmarkdownwebview/kmarkdownwebview-0.5.5.ebuild
@@ -1,31 +1,34 @@
-# 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 kde.org
DESCRIPTION="KPart for rendering Markdown content"
HOMEPAGE="https://frinring.wordpress.com/2017/09/14/kmarkdownwebview-0-1-0/"
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
LICENSE="!webkit? ( BSD ) LGPL-2.1+"
+SLOT="5"
KEYWORDS="amd64"
IUSE="webkit"
DEPEND="
- $(add_frameworks_dep kconfigwidgets)
- $(add_frameworks_dep kcoreaddons)
- $(add_frameworks_dep ki18n)
- $(add_frameworks_dep kio)
- $(add_frameworks_dep kparts)
- $(add_frameworks_dep kxmlgui)
- $(add_qt_dep qtgui)
- $(add_qt_dep qtwidgets)
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
webkit? ( >=dev-qt/qtwebkit-5.212.0_pre20180120:5 )
!webkit? (
- $(add_qt_dep qtwebchannel)
- $(add_qt_dep qtwebengine 'widgets')
+ >=dev-qt/qtwebchannel-${QTMIN}:5
+ >=dev-qt/qtwebengine-${QTMIN}:5[widgets]
)
"
RDEPEND="${DEPEND}"
@@ -35,5 +38,5 @@ src_configure() {
-DUSE_QTWEBKIT=$(usex webkit)
)
- kde5_src_configure
+ ecm_src_configure
}