diff options
Diffstat (limited to 'kde-apps/kate')
-rw-r--r-- | kde-apps/kate/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/kate/kate-19.04.0.ebuild | 84 |
2 files changed, 86 insertions, 0 deletions
diff --git a/kde-apps/kate/Manifest b/kde-apps/kate/Manifest index a3a61c2db2f8..a52811d82005 100644 --- a/kde-apps/kate/Manifest +++ b/kde-apps/kate/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 kate-18.12.3.ebuild 2149 BLAKE2B e8eacda40c5e10203bb907e052f37bd89586fd2832f50bf9abfc497bb94ff01c195d764db70714d3f095568c2397fbfb70a51657444ad1c179e03c6ec9b691da SHA512 f4d9d29d1f1c5ce60bdef1242ab6be4622470df4a1cb23701b4bc08b172385fca3718d7c2570f0613c8e1c458147c6e638e8b2e3d433dc28b63208d6cfbc4cdc +EBUILD kate-19.04.0.ebuild 2147 BLAKE2B d50a03557c21d16a12e82dd7568075ff8d5449b3882e84328605fcc9add58bff4790fd5a16cb79d9103f3beeead9755faeecfc96e41f52da20b841c4ed3eabe7 SHA512 5a438e39e41437bbf8c55bb57a02caa35f3bd79ea76769bf079ac872504ce4467d3aeca9b2b8f4d940e89feb9dfc215b41ad34c8bf7e3ffc04fbd6cb1e2bda70 MISC metadata.xml 330 BLAKE2B 2c8081efb3a1a1a6c87988dcdf0ac12e4e3efd85ad5c3965662683891113c9a60caa085a97734ae793bc6d12ac3ae0b8cf5249120b45c98897651ea23c7c3045 SHA512 41ae5a022aca855524ba8c6d4c98e54408853a94398a3ae65afd162200e6e4bb8fb9909ac270a27e99a8dc489a61eb48d732a04a73321113874dfcf605d60e6e diff --git a/kde-apps/kate/kate-19.04.0.ebuild b/kde-apps/kate/kate-19.04.0.ebuild new file mode 100644 index 000000000000..df50ca926293 --- /dev/null +++ b/kde-apps/kate/kate-19.04.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_HANDBOOK="optional" +KDE_TEST="true" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Kate is an advanced text editor" +HOMEPAGE="https://kde.org/applications/utilities/kate https://kate-editor.org/" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+addons" + +DEPEND=" + $(add_frameworks_dep kactivities) + $(add_frameworks_dep kcodecs) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemmodels) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kservice) + $(add_frameworks_dep ktexteditor) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + addons? ( + $(add_frameworks_dep kbookmarks) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep kwallet) + $(add_frameworks_dep plasma) + $(add_frameworks_dep threadweaver) + $(add_qt_dep qtsql) + ) +" +RDEPEND="${DEPEND} + !kde-misc/ktexteditorpreviewplugin +" + +src_prepare() { + kde5_src_prepare + # test hangs + sed -e "/session_manager_test/d" -i kate/autotests/CMakeLists.txt || die + # 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=( + -DBUILD_addons=$(usex addons) + -DBUILD_kwrite=FALSE + ) + + kde5_src_configure +} + +pkg_postinst() { + kde5_pkg_postinst + + if [[ -z "${REPLACING_VERSIONS}" ]] && use addons; then + elog "The functionality of ktexteditorpreview plugin can be extended with:" + elog " kde-misc/kmarkdownwebview" + elog " media-gfx/kgraphviewer" + fi +} |