summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-07-07 08:58:57 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-07-07 12:44:56 +0200
commitaef4a5f5f4b244e2d7074fc8790940043d76c973 (patch)
tree6bc6c82b27d29133b3687205c06b0d6e55bdef05 /kde-apps/kate
parentkde-apps/dolphin: 22.04.3 version bump (diff)
downloadgentoo-aef4a5f5f4b244e2d7074fc8790940043d76c973.tar.gz
gentoo-aef4a5f5f4b244e2d7074fc8790940043d76c973.tar.bz2
gentoo-aef4a5f5f4b244e2d7074fc8790940043d76c973.zip
kde-apps/kate: 22.04.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kate')
-rw-r--r--kde-apps/kate/Manifest1
-rw-r--r--kde-apps/kate/kate-22.04.3.ebuild106
2 files changed, 107 insertions, 0 deletions
diff --git a/kde-apps/kate/Manifest b/kde-apps/kate/Manifest
index 3c793ceef8fc..439c8213cbef 100644
--- a/kde-apps/kate/Manifest
+++ b/kde-apps/kate/Manifest
@@ -1,2 +1,3 @@
DIST kate-21.12.3.tar.xz 7497692 BLAKE2B 768f8b7055b922b2d10ef93e2935a38f8095f581115fad79760c240a7dc78f49a5b3a096ea173ec464564d7bb692cf1c5ece1a1d2dd4b1e8cbe7efed3524390d SHA512 998256a13896441c0068fa1be166ee373acc5475022badce0accb7123f1b308b7fadd06511d6eb7359f51b0bd72c09dd23cdfb6608dcebb97bcd854aeb941086
DIST kate-22.04.2.tar.xz 7576072 BLAKE2B a5f31e8a869a2123fab1298fdee89bda79421199975db755b2c1885c098aaf74710932bf62ea23bf1e373f6a848a2ee2a10970249ad255f4f34a736d8b7e0078 SHA512 7f96d368e0cb0587b35eb0cc485d7b7f268faffeb1a60fc42596354b6a30506c77ba5c41356939594f50788c54a953700aa651f09d4fa847f787f7669c84cbc5
+DIST kate-22.04.3.tar.xz 7584932 BLAKE2B f97d89d327d2e548683c4eb551ca307398f6d9c369776a71bb16c0b020161f1d6f829161f7c23bdfe7bdb792d5038f7f04d399093f611e36bccbff8a16d23ccf SHA512 6c8de8d4a38cc2c187ebe8102c8f79694a91de00a72080f47a201550c67701bd4537c4232c7fb5bd719b770f91d65b8bd56cf271c1bd8a6615fb2205f09ad7e1
diff --git a/kde-apps/kate/kate-22.04.3.ebuild b/kde-apps/kate/kate-22.04.3.ebuild
new file mode 100644
index 000000000000..e386198588ea
--- /dev/null
+++ b/kde-apps/kate/kate-22.04.3.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="true"
+KFMIN=5.92.0
+QTMIN=5.15.4
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org optfeature
+
+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="activities +filebrowser lspclient +projects plasma +snippets sql telemetry"
+
+# only addons/externaltools depends on kiconthemes, too small for USE
+DEPEND="
+ >=dev-qt/qtconcurrent-${QTMIN}:5
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/kcodecs-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/kguiaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kitemviews-${KFMIN}:5
+ >=kde-frameworks/kjobwidgets-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/ktexteditor-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 )
+ filebrowser? ( >=kde-frameworks/kbookmarks-${KFMIN}:5 )
+ lspclient? ( >=kde-frameworks/kitemmodels-${KFMIN}:5 )
+ plasma? ( >=kde-frameworks/plasma-${KFMIN}:5 )
+ projects? (
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ >=kde-frameworks/threadweaver-${KFMIN}:5
+ )
+ snippets? ( >=kde-frameworks/knewstuff-${KFMIN}:5 )
+ sql? (
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=kde-frameworks/kwallet-${KFMIN}:5
+ )
+ telemetry? ( dev-libs/kuserfeedback:5 )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ ecm_src_prepare
+
+ # delete colliding kwrite translations
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ find po -type f -name "*po" -and -name "kwrite*" -delete || die
+ rm -rf po/*/docs/kwrite || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package activities KF5Activities)
+ -DBUILD_filebrowser=$(usex filebrowser)
+ -DBUILD_lspclient=$(usex lspclient)
+ -DBUILD_sessionapplet=$(usex plasma)
+ -DBUILD_project=$(usex projects)
+ -DBUILD_snippets=$(usex snippets)
+ -DBUILD_katesql=$(usex sql)
+ -DBUILD_kwrite=FALSE
+ $(cmake_use_find_package telemetry KUserFeedback)
+ )
+
+ ecm_src_configure
+}
+
+src_test() {
+ # tests hang
+ local myctestargs=(
+ -E "(session_manager_test|sessions_action_test)"
+ )
+
+ ecm_src_test
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "Markdown text previews" kde-misc/markdownpart:${SLOT} kde-misc/kmarkdownwebview:${SLOT}
+ optfeature "DOT graph file previews" media-gfx/kgraphviewer
+ fi
+ ecm_pkg_postinst
+}