diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-05-12 19:46:45 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-05-13 21:53:48 +0200 |
commit | a4fbdaa313d268bbd884c0831e5e7b0845d5a292 (patch) | |
tree | 6014f0ae8a9f043a6a20178322a1bfeb26c6c903 /kde-apps/kate | |
parent | kde-apps/dolphin: 22.04.1 version bump (diff) | |
download | gentoo-a4fbdaa313d268bbd884c0831e5e7b0845d5a292.tar.gz gentoo-a4fbdaa313d268bbd884c0831e5e7b0845d5a292.tar.bz2 gentoo-a4fbdaa313d268bbd884c0831e5e7b0845d5a292.zip |
kde-apps/kate: 22.04.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kate')
-rw-r--r-- | kde-apps/kate/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kate/kate-22.04.1.ebuild | 106 |
2 files changed, 107 insertions, 0 deletions
diff --git a/kde-apps/kate/Manifest b/kde-apps/kate/Manifest index 236b844c2829..6e3730cd5f4e 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.0.tar.xz 7573324 BLAKE2B b157e78071a07c52e04daba136195564b8c78608ce2f32499d5f4520709a1d2470f54d90d33d5a76e8e1d117a9864398e6f02e2330739711dccf228f786af511 SHA512 043cc9d331ba05f240d9e7e48a6dbba8c4de44c679130dd79be9e61df36fff0683c496e24945c9039f6e96deff06d3755365df9b26ec044adccf940467e9c087 +DIST kate-22.04.1.tar.xz 7574272 BLAKE2B b96cddafd17277c56b710907e5151a22f6dcaaa56fcdab748aaae30060843cb8e22cb97bb4bb642f845ea29ecf5706225a233c40d179d8586b5cb7026bb99e23 SHA512 f7cd8605d47578d237f210e5857e1caf6e2aaea56d638be97adcf958a89d8abbf3af50a0f2392dc9e32c076669bac9415d35235f68a1ff7174794aec59f78170 diff --git a/kde-apps/kate/kate-22.04.1.ebuild b/kde-apps/kate/kate-22.04.1.ebuild new file mode 100644 index 000000000000..524c489a5a1a --- /dev/null +++ b/kde-apps/kate/kate-22.04.1.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.3 +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 +} |