summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-misc/kmarkdownwebview/Manifest1
-rw-r--r--kde-misc/kmarkdownwebview/kmarkdownwebview-0.2.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/kde-misc/kmarkdownwebview/Manifest b/kde-misc/kmarkdownwebview/Manifest
index c1723fdc104..3b7564cb308 100644
--- a/kde-misc/kmarkdownwebview/Manifest
+++ b/kde-misc/kmarkdownwebview/Manifest
@@ -1 +1,2 @@
DIST kmarkdownwebview-0.1.0.tar.xz 33444 SHA256 361fec6c4fa9396975e788cfe759b1c45a2ccfc2b83e64b5105869ef312a5410 SHA512 0d02f89594fcd67f898158b4869b9810c5055f663c3e33284c577253ea0e98ecc5d62eb1e0df01e8e5c4685e1a90784abf24b9b8b8fb5af0f6277120e592a2f2 WHIRLPOOL 3b6ab8806da8a862beb05279a1c55983debdf1eb0dcde7573447c62ad1029af98388291fc7f1f6c5f7ba483f33f4349ea09f11b9848689958669dfd5fe68c592
+DIST kmarkdownwebview-0.2.0.tar.xz 52148 SHA256 c5a73c02bd2761d1786b080148e465ef69e4686d17e6adfc047350f36e7f6b16 SHA512 6419238b52a2ae82a5496d1afb82ef809e9a43c9ed8e6e5f27457087ddc8aad0ffeae99d287d2d3644da04f07e29b795a59ab2e6bc54658f267bd466844da1e7 WHIRLPOOL a58f5350e81fca0f5070cb962ee1648adf76ee1b52544fe8e9316a4e772acd8afc423d6770514d13a9dbaf2332cc723914239c1cd314f6aa0f3e5f635c65588a
diff --git a/kde-misc/kmarkdownwebview/kmarkdownwebview-0.2.0.ebuild b/kde-misc/kmarkdownwebview/kmarkdownwebview-0.2.0.ebuild
new file mode 100644
index 00000000000..48060d54cb7
--- /dev/null
+++ b/kde-misc/kmarkdownwebview/kmarkdownwebview-0.2.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 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 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
+}