summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2017-09-25 19:40:36 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2017-09-25 21:13:31 +0200
commitb78f2c18f399a1b613c314c5ea9ac79c611a075e (patch)
treeee2dcfe9f8cc774a4e3d34e580f5997426da81fb
parentc2871a6f5bbc527bddc0612f4a61f77118e02d4b (diff)
downloadkde-b78f2c18f399a1b613c314c5ea9ac79c611a075e.tar.gz
kde-b78f2c18f399a1b613c314c5ea9ac79c611a075e.tar.xz
ktexteditorpreviewplugin: Initial exheres
-rw-r--r--metadata/repository_mask.conf1
-rw-r--r--packages/kde/ktexteditorpreviewplugin/ktexteditorpreviewplugin-0.1.0.exheres-07
-rw-r--r--packages/kde/ktexteditorpreviewplugin/ktexteditorpreviewplugin-scm.exheres-07
-rw-r--r--packages/kde/ktexteditorpreviewplugin/ktexteditorpreviewplugin.exlib28
4 files changed, 43 insertions, 0 deletions
diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf
index b1c10cf..6fcf6f0 100644
--- a/metadata/repository_mask.conf
+++ b/metadata/repository_mask.conf
@@ -166,6 +166,7 @@
kde/ksysguard:4[~scm]
kde/ksystemlog:4[~scm]
kde/kteatime:4[~scm]
+ kde/ktexteditorpreviewplugin[~scm]
kde/ktimer:4[~scm]
kde/ktouch:4[~scm]
kde/ktuberling:4[~scm]
diff --git a/packages/kde/ktexteditorpreviewplugin/ktexteditorpreviewplugin-0.1.0.exheres-0 b/packages/kde/ktexteditorpreviewplugin/ktexteditorpreviewplugin-0.1.0.exheres-0
new file mode 100644
index 0000000..0a18e72
--- /dev/null
+++ b/packages/kde/ktexteditorpreviewplugin/ktexteditorpreviewplugin-0.1.0.exheres-0
@@ -0,0 +1,7 @@
+# Copyright 2017 Heiko Becker <heirecka@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require ktexteditorpreviewplugin
+
+PLATFORMS="~amd64"
+
diff --git a/packages/kde/ktexteditorpreviewplugin/ktexteditorpreviewplugin-scm.exheres-0 b/packages/kde/ktexteditorpreviewplugin/ktexteditorpreviewplugin-scm.exheres-0
new file mode 100644
index 0000000..0a18e72
--- /dev/null
+++ b/packages/kde/ktexteditorpreviewplugin/ktexteditorpreviewplugin-scm.exheres-0
@@ -0,0 +1,7 @@
+# Copyright 2017 Heiko Becker <heirecka@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require ktexteditorpreviewplugin
+
+PLATFORMS="~amd64"
+
diff --git a/packages/kde/ktexteditorpreviewplugin/ktexteditorpreviewplugin.exlib b/packages/kde/ktexteditorpreviewplugin/ktexteditorpreviewplugin.exlib
new file mode 100644
index 0000000..377d21a
--- /dev/null
+++ b/packages/kde/ktexteditorpreviewplugin/ktexteditorpreviewplugin.exlib
@@ -0,0 +1,28 @@
+# Copyright 2017 Heiko Becker <heirecka@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require kde.org [ subdir="${PN}/${PV}/src" ] kde [ cmake_minimum_version=3.0 ]
+
+SUMMARY="Live preview plugin for Kate, KDevelop or others using KTextEditor"
+DESCRIPTION="
+The plugin enables a live preview of the currently edited text document in the
+final format. For the display it uses the KParts plugin which is currently
+selected as the preferred one for the MIME type of the document. If there is
+no matching KParts plugin, no preview is possible."
+
+LICENCES="LGPL-2.1"
+SLOT="0"
+MYOPTIONS=""
+
+KF5_MIN_VER="5.23.0"
+
+DEPENDENCIES="
+ build+run:
+ kde-frameworks/ki18n:5[>=${KF5_MIN_VER}]
+ kde-frameworks/ktexteditor:5[>=${KF5_MIN_VER}]
+ x11-libs/qtbase:5[>=5.6.0]
+ suggestion:
+ kde/kmarkdownwebview [[ description = [ Preview for Markdown files ] ]]
+ kde/svgpart:4 [[ description = [ Preview for SVG files ] ]]
+"
+