summaryrefslogtreecommitdiff
path: root/kde-apps/kwrite
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kwrite')
-rw-r--r--kde-apps/kwrite/Manifest2
-rw-r--r--kde-apps/kwrite/kwrite-19.04.0.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest
index 2c0c1ea925b9..daa119230ae6 100644
--- a/kde-apps/kwrite/Manifest
+++ b/kde-apps/kwrite/Manifest
@@ -1,3 +1,5 @@
DIST kate-18.12.3.tar.xz 5765324 BLAKE2B 43c8490a1c98b96cecfd3537e06306124b3d4c5c625eed2d0dc1ddbcd9120c0947098f230667f6c2b2d97468328e8b11906aba8a9d21c64dc5925cd7e710c469 SHA512 2f067628d29b7f807e13d2faa2c6727a8028e273c61b4923d6a6eaeb4d74dbf0f0e83edf492821b228ccbe99a985cf712cfd75b9d6ea8d16af9b1ff7ec8ac00d
+DIST kate-19.04.0.tar.xz 5792940 BLAKE2B e846ed97811a4c7d279056f79333daaa025e029fc1617de2a07b95ee74fafc72d8f8a9b72ba6d561139291b10e04a21722fbc27e1a2eecfc56d14b9b1dc6a745 SHA512 4dc3cd8ee18ba994f7000b647644d7735659de52de66b3adc65d5f2283056961a7d4d3228d66f4de52b80e4c012a243ed5c95fe00066e6ad5eb8a4569f2d22d9
EBUILD kwrite-18.12.3.ebuild 1191 BLAKE2B c904ed894a03efc75d245a1884ee107b7509ed1ca09635b80167ad13a9e89019dc633bcfec8c0180ed1776313aff4fdea30209a9516de36bef76b2c751d8ad17 SHA512 4faf463329d3e1ccc75b99b6b24e1a1c8c634544a17fd75cdc9aa2f5830ed62fd779dee5ae9c9c047f49139195616c2144fa7a3681242b7cb6e46b9a318f73d2
+EBUILD kwrite-19.04.0.ebuild 1189 BLAKE2B 0d78c4f8458f37b176bcbc83fca6161a750f31f3f2211723d81a306ab25092ede1d1c3861034fc4c41ec6433f22dadf86fd5038a199d6a400b5162de04e71c9d SHA512 d7c56b7992c5c1f115f467b430015a4118b405e9b3789b44e521e7bd946fbc54738a2ca9e0ea5cc049ac3294a92bd6c8d42be994d86c914b4c72696e29a8d82d
MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
diff --git a/kde-apps/kwrite/kwrite-19.04.0.ebuild b/kde-apps/kwrite/kwrite-19.04.0.ebuild
new file mode 100644
index 000000000000..41a4ad5e9a3d
--- /dev/null
+++ b/kde-apps/kwrite/kwrite-19.04.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KMNAME="kate"
+KDE_HANDBOOK="optional"
+inherit kde5
+
+DESCRIPTION="KDE simple text editor"
+HOMEPAGE="https://kde.org/applications/utilities/kwrite"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DEPEND="
+ $(add_frameworks_dep kactivities)
+ $(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 kio)
+ $(add_frameworks_dep kjobwidgets)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep ktexteditor)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ kde5_src_prepare
+ # delete colliding kate translations
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ find po -type f -name "*po" -and -not -name "kwrite*" -delete || die
+ rm -rf po/*/docs/kate* || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_addons=FALSE
+ -DBUILD_kate=FALSE
+ )
+ use handbook && mycmakeargs+=( -DBUILD_katepart=FALSE )
+
+ kde5_src_configure
+}