diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-13 15:55:18 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-13 15:58:19 +0100 |
commit | ff68a61d7cd4786f56bed62410f9206e588e8d8e (patch) | |
tree | 69313c252a0aed267809ad3a0d7f31c5c10177a3 /kde-apps/kate | |
parent | dev-php/pecl-yaz: amd64 stable wrt bug #667068 (diff) | |
download | gentoo-ff68a61d7cd4786f56bed62410f9206e588e8d8e.tar.gz gentoo-ff68a61d7cd4786f56bed62410f9206e588e8d8e.tar.bz2 gentoo-ff68a61d7cd4786f56bed62410f9206e588e8d8e.zip |
kde-apps: Add KDE Applications 18.12.0
Package-Manager: Portage-2.3.52, Repoman-2.3.12
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-18.12.0.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/kde-apps/kate/Manifest b/kde-apps/kate/Manifest index 784a3655e7a2..cb6e92d813f1 100644 --- a/kde-apps/kate/Manifest +++ b/kde-apps/kate/Manifest @@ -1 +1,2 @@ DIST kate-18.08.3.tar.xz 5664744 BLAKE2B 6645600156844c52ca8162bec98f107b45f8f4040aa94adbcf51470fb0102c300fb6755b6d6fb6bd856e6792ce770cae72d3675a2ac7fe0519f0c18d4df70e7e SHA512 08eee6b06d0fc0272b8ed73b6100e9afce07596ddab09337309f31709db4dac022e36591228eb1c06e65c064f7ea8bc18bf77fca30962fd277560b35081402a3 +DIST kate-18.12.0.tar.xz 5770752 BLAKE2B a50b755497bc1adcc4c117c39f942f34ff2c2b80ed4b5e3ddb28942b11b0e823fd2865607949ee6aaae714dd0974611bd99175baec5f524e701dd8e7f4bde5cd SHA512 72fcec478a3beb789cbb6fa104c11191a8389866a4cb15e0a10d91392666b16f8ff6620827dc4756306fa58dc392c2735c1a683decc725a2ab477f8b421c53b1 diff --git a/kde-apps/kate/kate-18.12.0.ebuild b/kde-apps/kate/kate-18.12.0.ebuild new file mode 100644 index 000000000000..451e525f55cb --- /dev/null +++ b/kde-apps/kate/kate-18.12.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 use addons; then + elog "The functionality of ktexteditorpreview plugin can be extended with:" + elog " kde-misc/kmarkdownwebview" + elog " media-gfx/kgraphviewer" + fi +} |