summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-02-07 00:11:27 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-07 13:59:58 +0100
commit7f45ce7728de31bb839db16ab19319f026ab0add (patch)
tree460a42bf534d6aa491db847a52a3026e3758c161 /kde-apps/kate
parentkde-apps/gwenview: Backport exiv2-0.27 support to 18.08.3 (diff)
downloadgentoo-7f45ce7728de31bb839db16ab19319f026ab0add.tar.gz
gentoo-7f45ce7728de31bb839db16ab19319f026ab0add.tar.bz2
gentoo-7f45ce7728de31bb839db16ab19319f026ab0add.zip
kde-apps: Add KDE Applications 18.12.2
Package-Manager: Portage-2.3.59, Repoman-2.3.12 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-18.12.2.ebuild84
2 files changed, 85 insertions, 0 deletions
diff --git a/kde-apps/kate/Manifest b/kde-apps/kate/Manifest
index 584541ec450a..48456a97ed4f 100644
--- a/kde-apps/kate/Manifest
+++ b/kde-apps/kate/Manifest
@@ -1,2 +1,3 @@
DIST kate-18.08.3.tar.xz 5664744 BLAKE2B 6645600156844c52ca8162bec98f107b45f8f4040aa94adbcf51470fb0102c300fb6755b6d6fb6bd856e6792ce770cae72d3675a2ac7fe0519f0c18d4df70e7e SHA512 08eee6b06d0fc0272b8ed73b6100e9afce07596ddab09337309f31709db4dac022e36591228eb1c06e65c064f7ea8bc18bf77fca30962fd277560b35081402a3
DIST kate-18.12.1.tar.xz 5763596 BLAKE2B 08ab380281d097890ee68083cb42f7318ea0b2835f9881342967f9447c09788653aa2a09547e3d49b82abfd1570a7c8cea4c5178c7b0d82883ffa9e2807876af SHA512 d7c5189a2bf807845beaa8181882215b67e33229ba0f97027034d74c7bda06a0f820c673bd98e7dee0c47e9f58f81d3bd9af516e5d91f61bf227c05657fa797e
+DIST kate-18.12.2.tar.xz 5764280 BLAKE2B 2f8dda3f2ff4353243567894393c7f041012bfca8163f828803d5ee38cce6d186a916fe819c0924144ddc4dace5af23c585d58d2ec79c65c86f6d60173ac7a13 SHA512 5207d575f6577ce0ca381d0051d63d85c6db2bb89f53d263a30429c066f453a11a14be68e2db1553474145386a5f3f73f2e9f3f1a68cbb76d93fa340d979c873
diff --git a/kde-apps/kate/kate-18.12.2.ebuild b/kde-apps/kate/kate-18.12.2.ebuild
new file mode 100644
index 000000000000..0ebe33c69eb1
--- /dev/null
+++ b/kde-apps/kate/kate-18.12.2.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://www.kde.org/applications/utilities/kate https://kate-editor.org/"
+KEYWORDS="~amd64 ~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
+}