diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-06-07 19:18:20 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-06-07 19:18:36 +0200 |
commit | 2fb79a4076772020c18be0215abb7a430ac12b3b (patch) | |
tree | 02e6972566d0e4e18611dfd81121657a95919e66 /kde-apps/kate | |
parent | dev-libs/libinput: Restore version 1.10.6 (diff) | |
download | gentoo-2fb79a4076772020c18be0215abb7a430ac12b3b.tar.gz gentoo-2fb79a4076772020c18be0215abb7a430ac12b3b.tar.bz2 gentoo-2fb79a4076772020c18be0215abb7a430ac12b3b.zip |
kde-apps: Add KDE Applications 18.04.2
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'kde-apps/kate')
-rw-r--r-- | kde-apps/kate/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kate/kate-18.04.2.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/kde-apps/kate/Manifest b/kde-apps/kate/Manifest index 55c0e4316080..e6d947019ba0 100644 --- a/kde-apps/kate/Manifest +++ b/kde-apps/kate/Manifest @@ -1,2 +1,3 @@ DIST kate-17.12.3.tar.xz 5629840 BLAKE2B 384b15a1273ec02d0d3342e761f5c1135f000d1b8485445d07ff5384ea49f60c6d4a6aaadd8371d931cbfcab190e4e5ff820021708dbc44899a01340b980e3bd SHA512 3435afb4dc643064c9e98c86e02521cec9d53fb7ad30320e686db6260e3468b3745643447172218b033dcd46e7c9f02efbd00af26ee820b928ac74f5cf62b0a6 DIST kate-18.04.1.tar.xz 5639500 BLAKE2B 2c8eb6b64c5551b69a0d6386e0e92d60e6affa451729ac4e9b41a51a22293532d1846a3bc6260eeb70daa881309683d9790230d9a6aba3690f9eaf38def3758e SHA512 c892c90e2f01b1540bd8eb6bc8e23532dff680bd5d8980f69b18ece3a7cfd8fd695653cd461f9f9676d1990f8eda18a89710ae536696f17442e16bd60432542f +DIST kate-18.04.2.tar.xz 5641048 BLAKE2B 7385aaf26029a6c5b1e749440f41d8ed58e936a06fff9c40ff1b37fd5724298d49d7aa92eb3bdefb2b4088a6cbe106cf6f5796e2a410c2f348c9b42492c7ac7d SHA512 2b3545ba3042f95756f7f3af2d423041107860d390ab6884b52f410adc0a66c8e9fe85e0105935258c0a68daa41c96330ca78de2aa788685daa2b51d97afea7e diff --git a/kde-apps/kate/kate-18.04.2.ebuild b/kde-apps/kate/kate-18.04.2.ebuild new file mode 100644 index 000000000000..df641468f081 --- /dev/null +++ b/kde-apps/kate/kate-18.04.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 +} |