diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-19 15:33:18 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-19 15:33:37 +0200 |
commit | 1d72a0a1cd87d7401ef850a98513c7e080d7d2e1 (patch) | |
tree | cb93e377edcbd097f32d02b97f3a1a9a5d851b10 /kde-apps/kate | |
parent | sys-kernel/gentoo-sources: Linux patch 4.16.3 (diff) | |
download | gentoo-1d72a0a1cd87d7401ef850a98513c7e080d7d2e1.tar.gz gentoo-1d72a0a1cd87d7401ef850a98513c7e080d7d2e1.tar.bz2 gentoo-1d72a0a1cd87d7401ef850a98513c7e080d7d2e1.zip |
kde-apps: Add KDE Applications 18.04.0
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-18.04.0.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/kde-apps/kate/Manifest b/kde-apps/kate/Manifest index 7251ab444cf2..b51e13b46d59 100644 --- a/kde-apps/kate/Manifest +++ b/kde-apps/kate/Manifest @@ -1 +1,2 @@ DIST kate-17.12.3.tar.xz 5629840 BLAKE2B 384b15a1273ec02d0d3342e761f5c1135f000d1b8485445d07ff5384ea49f60c6d4a6aaadd8371d931cbfcab190e4e5ff820021708dbc44899a01340b980e3bd SHA512 3435afb4dc643064c9e98c86e02521cec9d53fb7ad30320e686db6260e3468b3745643447172218b033dcd46e7c9f02efbd00af26ee820b928ac74f5cf62b0a6 +DIST kate-18.04.0.tar.xz 5643140 BLAKE2B 298e15cd6545f35f1cbbb670c33f4d6c3305a250dd004e77bc56e28adc5975d242afbd7cc0b722c09239961e97d7400dcca76c842d721cd5a7e6c9b1c8967344 SHA512 2962b64a123be966017408bf02d3a92d6814ff76c759e8ea6f98e58c2cfa92086c290aea23f800dfa05ecf092c421ad7225161f757c98d409d40adce61aebc93 diff --git a/kde-apps/kate/kate-18.04.0.ebuild b/kde-apps/kate/kate-18.04.0.ebuild new file mode 100644 index 000000000000..751163775355 --- /dev/null +++ b/kde-apps/kate/kate-18.04.0.ebuild @@ -0,0 +1,74 @@ +# 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 +} |