diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-10 14:28:40 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-11 23:00:24 +0100 |
commit | 8e9254c5dac34b290d80baa283964bf5802d6630 (patch) | |
tree | e74c0d8d4491416d64de7802e3937452a509b1f1 /kde-apps/kate | |
parent | kde-frameworks: Add KDE Frameworks 5.43.0 (diff) | |
download | gentoo-8e9254c5dac34b290d80baa283964bf5802d6630.tar.gz gentoo-8e9254c5dac34b290d80baa283964bf5802d6630.tar.bz2 gentoo-8e9254c5dac34b290d80baa283964bf5802d6630.zip |
kde-apps: Add KDE Applications 17.12.2
Bug: https://bugs.gentoo.org/642854
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'kde-apps/kate')
-rw-r--r-- | kde-apps/kate/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kate/kate-17.12.2.ebuild | 77 |
2 files changed, 78 insertions, 0 deletions
diff --git a/kde-apps/kate/Manifest b/kde-apps/kate/Manifest index 2bc7c5bc7fff..668ba430cc4e 100644 --- a/kde-apps/kate/Manifest +++ b/kde-apps/kate/Manifest @@ -1,2 +1,3 @@ DIST kate-17.08.3.tar.xz 5617380 BLAKE2B 582c128e1904fbd0cec6ff177296aca68c36749581b57b6d71fce3e251838699c5068945a6e43abc05339eca3c2ac9dd5ec53891c20e208e3634771d5a859dd0 SHA512 cf4be33ec05a5451322141beeb4b2a66ff34da9f34fbc1038d7303d707012ffc477510164a65837ea0b94733b0e2812b747109a78049b5e4d31a75887c66bd46 DIST kate-17.12.1.tar.xz 5630360 BLAKE2B 69f9855fbdb71c4215de58f046fcd88253d2edb7678633f07de4803aff8fc34dad975970e1f3d4800fd3f798d46ea30b0bdfef96ca11e22cacc53b0455d58fad SHA512 63644c093316f864390a67f419be047d9ae7eea8113f5a030bef047ccd2636ba4c8e2aeadcfb71cbebc675f91babef427b23bfbd96df310ff4ac5ad3e82d5e64 +DIST kate-17.12.2.tar.xz 5630528 BLAKE2B 29e0cfe6b25aef849f03e2a87bbdef4e64b1a9ee7ec3550c5257a6902e7fffd0f011ed08a89457f8215750ce8ec22c00b203734161902ee7a75a77fc349f6768 SHA512 cb71a569e4bd04c9ca1aeed81a7261b3838bf78d6bd731e31163f1eb254d81e78b13889d2118483de0d9cae6a92ebbc4e4dec9f3c62e29444ac1c3fd8dc7efe1 diff --git a/kde-apps/kate/kate-17.12.2.ebuild b/kde-apps/kate/kate-17.12.2.ebuild new file mode 100644 index 000000000000..490ab95c9114 --- /dev/null +++ b/kde-apps/kate/kate-17.12.2.ebuild @@ -0,0 +1,77 @@ +# 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 qtscript) + $(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 +" + +PATCHES=( "${FILESDIR}/${PN}-17.12.1-deps.patch" ) + +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 +} |