summaryrefslogtreecommitdiff
path: root/kde-apps/kate
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kate')
-rw-r--r--kde-apps/kate/Manifest2
-rw-r--r--kde-apps/kate/kate-22.08.0.ebuild65
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/kate/Manifest b/kde-apps/kate/Manifest
index c58755a711ec..d5f7ed92fde0 100644
--- a/kde-apps/kate/Manifest
+++ b/kde-apps/kate/Manifest
@@ -1,3 +1,5 @@
DIST kate-22.04.3.tar.xz 7584932 BLAKE2B f97d89d327d2e548683c4eb551ca307398f6d9c369776a71bb16c0b020161f1d6f829161f7c23bdfe7bdb792d5038f7f04d399093f611e36bccbff8a16d23ccf SHA512 6c8de8d4a38cc2c187ebe8102c8f79694a91de00a72080f47a201550c67701bd4537c4232c7fb5bd719b770f91d65b8bd56cf271c1bd8a6615fb2205f09ad7e1
+DIST kate-22.08.0.tar.xz 7655384 BLAKE2B 7f8ccf67f6e29c3047b3ad4cdbd28d373d35b5d4cb580aa29097229ad5910ed2393fe97acc742c755a4b35711086aaa55c698fc3fe3fbd0d3e64d9df021b15e8 SHA512 637e5314cabe87efdd6f8162b955d9b369a6bc12e77006325dd3038d517208ef5aca457ca2932cd37c1f98301b7a1968f30859e5c7a5cb16ce0b974910d7c5bc
EBUILD kate-22.04.3.ebuild 3089 BLAKE2B 401b29e57eeac04ce08cda12845ab271639078e54aa16ad6481cb609ce8384a9949f11fbe7596e167b25c5a52d9fe116c8c5fe7f9cc55e0108d026e836772652 SHA512 1e94a643ff5e21811e49e4b8c10fe31e4f32f75a7c4f8c1337a7e7f1a2f86da6116a8b564ff551adfce07bc7ede1673b7c510d244414ed4611b1b363ed364dca
+EBUILD kate-22.08.0.ebuild 1469 BLAKE2B 6d211d63b0eb183a119d1cfe538d5fcdc90ded52450dbec8c2ef16c88d61f8119d89727ddc707ae22488f2f02e125927440cb4978b2aa145e83a3d3956157ce6 SHA512 3454d24b4cfcde5cafdce9c709910b41e34ed63d18a05f3446c70f648d09b70db1c74c1b40030cc270c669d1eb4cc14c0bf576f74fd9f4ea9ba0b4116188ccae
MISC metadata.xml 931 BLAKE2B c19c14170c006897490abd974bdb13e6b3deaea6194aab5c5e370ef06aa05eda6848549618854a89d2711676191d9192eb35fb87fbfd5e367b06cc92f8ccc035 SHA512 7a7af87fb546dabcbd9fa834fc1521db489b45ca3a293a2439912af1921092956ce397dfdaa4c398eaf3f7cbeacd70743f7f083ec3306f79d48bb987b677584b
diff --git a/kde-apps/kate/kate-22.08.0.ebuild b/kde-apps/kate/kate-22.08.0.ebuild
new file mode 100644
index 000000000000..4756b80fd7a5
--- /dev/null
+++ b/kde-apps/kate/kate-22.08.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+KFMIN=5.96.0
+QTMIN=5.15.5
+VIRTUALX_REQUIRED="test"
+inherit ecm flag-o-matic gear.kde.org
+
+DESCRIPTION="Multi-document editor with network transparency, Plasma integration and more"
+HOMEPAGE="https://kate-editor.org/ https://apps.kde.org/kate/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE=""
+
+DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ ~kde-apps/kate-lib-${PV}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+"
+RDEPEND="${DEPEND}
+ ~kde-apps/kate-addons-${PV}:5
+"
+
+src_prepare() {
+ ecm_src_prepare
+
+ # these tests are run in kde-apps/kate-lib
+ cmake_run_in apps/lib cmake_comment_add_subdirectory autotests
+
+ # delete colliding kwrite translations
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ rm -f po/*/*.po || die # installed by kde-apps/kate-lib
+ rm -rf po/*/docs/kwrite || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_addons=FALSE
+ -DBUILD_kwrite=FALSE
+ )
+
+ # provided by kde-apps/kate-lib
+ append-libs -lkateprivate
+
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+
+ # provided by kde-apps/kate-lib
+ rm -v "${ED}"/usr/$(get_libdir)/libkateprivate.so.* || die
+}