summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc/kmarkdownwebview/kmarkdownwebview-0.5.1.ebuild')
-rw-r--r--kde-misc/kmarkdownwebview/kmarkdownwebview-0.5.1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/kde-misc/kmarkdownwebview/kmarkdownwebview-0.5.1.ebuild b/kde-misc/kmarkdownwebview/kmarkdownwebview-0.5.1.ebuild
new file mode 100644
index 000000000000..4a3e6df449f9
--- /dev/null
+++ b/kde-misc/kmarkdownwebview/kmarkdownwebview-0.5.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+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+"
+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)
+ webkit? ( $(add_qt_dep qtwebkit) )
+ !webkit? (
+ $(add_qt_dep qtwebchannel)
+ $(add_qt_dep qtwebengine 'widgets')
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_QTWEBKIT=$(usex webkit)
+ )
+
+ kde5_src_configure
+}