summaryrefslogtreecommitdiff
path: root/kde-apps/kate
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
commit38423c67c8a23f6a1bc42038193182e2da3116eb (patch)
tree04e2cf4bd43601b77daa79fe654e409187093c5e /kde-apps/kate
parent623ee73d661e5ed8475cb264511f683407d87365 (diff)
gentoo resync : 25.04.2020
Diffstat (limited to 'kde-apps/kate')
-rw-r--r--kde-apps/kate/Manifest2
-rw-r--r--kde-apps/kate/kate-20.04.0.ebuild110
2 files changed, 112 insertions, 0 deletions
diff --git a/kde-apps/kate/Manifest b/kde-apps/kate/Manifest
index 89a59eb2096d..324249ebac6c 100644
--- a/kde-apps/kate/Manifest
+++ b/kde-apps/kate/Manifest
@@ -1,3 +1,5 @@
DIST kate-19.12.3.tar.xz 5795816 BLAKE2B 567b0c37f0b50533eeb19a527f7527ae050b62c8a50d46bbfac06226f109cd024b7626abc7defa32b9a654e231f6f04246a3410ace92f40fc25fb22a6f893c82 SHA512 aa6a2c44a8c5892e61ac80df676da6059e61dd93f5e2934e0547040d89379f9f3ae90f46b8e043edf463228ef5b0ab3f795b8ab3dd6c488d0ba0c55cf20bd817
+DIST kate-20.04.0.tar.xz 5825200 BLAKE2B f4ef5411c321cd8188ac048ddf718e0d85b1df2d548b275b8ed876f3fe8a8bef38fcb6384eeab0e8500f3d95ae25d0a55fbab5b8d5c6c1e75fa06fc340672142 SHA512 839ffb2fc6ff8c07178672f44ec4b138f68ac44717263dc32b4251cdc4fb4d86429cf2db57d6677d33a8fae2da2e6b8b79e3909d425481d1db2e4586a15c7141
EBUILD kate-19.12.3.ebuild 2907 BLAKE2B 667e2e48fe90d3bf6ab65e56bfa0b4e2203aa5a68b63a18f8ea6c3b70165bc8fc109bbcdfd5d58066736c41bf1a9bd64e340b41179e19947695b158071248cf6 SHA512 03b619016c8eaee8e26a44a7af5111e00bd3c3e6134cb31767a15d33e5b3caecea74f4eeb7871b5b673d7461f3f0e12150fee5147145de8b62ff268669bcda92
+EBUILD kate-20.04.0.ebuild 3071 BLAKE2B d09da9663004fc4b789ca5a1222657be539ebe3e7c89f2529904ea456f36c2b6afe2955cbac84962c203223fc3a5873791e1334fa073dfa00ea1ccdef1ffeb4d SHA512 59f6a0ffd468938aef0718a79a965a20d8c652a51da635f84ae8027204efbf98e1aacfe71488f643f99cda1c49da681468e7124c280c93d0420fbbac9b4ebeca
MISC metadata.xml 862 BLAKE2B 9b27a2dc759d83a85b1be9a5afc2dedc77caab98255575d493f4af6961d9b5bb19699eb69858082e1bc05dd8ff14f5c0c9212e5e146ff13ec1a3685008fd837d SHA512 d1a90d55277f25dbbad445d8d591da5fa5ddf3bb65aa0ae2d70ba6626abe7deebb56cbcb8a3718c43ad136da2de1b06a017c9740493504b446f33fbeac2734a7
diff --git a/kde-apps/kate/kate-20.04.0.ebuild b/kde-apps/kate/kate-20.04.0.ebuild
new file mode 100644
index 000000000000..9131383a0175
--- /dev/null
+++ b/kde-apps/kate/kate-20.04.0.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="optional"
+ECM_TEST="true"
+KFMIN=5.69.0
+QTMIN=5.12.3
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Multi-document editor with network transparency, Plasma integration and more"
+HOMEPAGE="https://kate-editor.org/
+https://kde.org/applications/utilities/org.kde.kate"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="activities +filebrowser lspclient +projects plasma +snippets sql telemetry"
+
+# only addons/externaltools depends on kiconthemes, too small for USE
+DEPEND="
+ >=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}
+ !kde-misc/ktexteditorpreviewplugin
+"
+
+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() {
+ ecm_pkg_postinst
+
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "The functionality of ktexteditorpreview plugin can be extended with:"
+ elog " kde-misc/kmarkdownwebview"
+ elog " media-gfx/kgraphviewer"
+ fi
+}