diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-08-15 15:08:36 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-08-15 15:09:32 +0200 |
commit | 54d6ee8b4a5a60e7f3f7e1a2068c2ee69f9cd1d9 (patch) | |
tree | b1b36d8867b77df28e956c3f88378ef5518961f9 /kde-apps/ksystemlog | |
parent | kde-misc/kio-gdrive: Pin kde-apps/libkgapi version to <19.04.50 (diff) | |
download | gentoo-54d6ee8b4a5a60e7f3f7e1a2068c2ee69f9cd1d9.tar.gz gentoo-54d6ee8b4a5a60e7f3f7e1a2068c2ee69f9cd1d9.tar.bz2 gentoo-54d6ee8b4a5a60e7f3f7e1a2068c2ee69f9cd1d9.zip |
kde-apps: Add KDE Applications 19.08.0
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r-- | kde-apps/ksystemlog/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/ksystemlog/ksystemlog-19.08.0.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index e288b4300cba..2105032b304b 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1 +1,2 @@ DIST ksystemlog-19.04.3.tar.xz 1922176 BLAKE2B b8feba3e3907e974a8690eca92d8959814cc67dcd7d95701ed3ec795499eb2305198ee3636b4cd2768c09fabda73a68448443b98ce4f6fc87228455a9159813a SHA512 13654dfc5844b5aaefe209f1bc96198e7552eb42445b2f34bf97e2804f088076f95ef8ea10fa3784f718803af72b5c6ec7833429d86d79b250f1bb732431b4b3 +DIST ksystemlog-19.08.0.tar.xz 1927060 BLAKE2B 39a3ffed82bdf6f662bf07856ab86d1cff0f9b2fe474f26f4aef41be11702edd973471b9fb9db42ef0fb38a7bfff52d9308b79348e439f1f93474caefeca4f17 SHA512 e7d42ef42bb2fd20d33e4dc6457e680ffa9ee4ee0dbf6ac7a15f85018392ae9172091c0fe2416bc446c3a592a78fa5bb0b19354e7d0bc05105ef7c9152d82778 diff --git a/kde-apps/ksystemlog/ksystemlog-19.08.0.ebuild b/kde-apps/ksystemlog/ksystemlog-19.08.0.ebuild new file mode 100644 index 000000000000..66a4582b810b --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-19.08.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="forceoptional" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="System log viewer by KDE" +HOMEPAGE="https://kde.org/applications/system/ksystemlog/" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="systemd" + +# bug 378101 +RESTRICT+=" test" + +DEPEND=" + $(add_frameworks_dep karchive) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep kservice) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtgui) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtwidgets) + systemd? ( sys-apps/systemd ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + kde5_src_prepare + + if use test; then + # beat this stupid test into shape: the test files contain no year, so + # comparison succeeds only in 2007 !!! + local theyear=$(date +%Y) + einfo Setting the current year as ${theyear} in the test files + sed -e "s:2007:${theyear}:g" -i tests/systemAnalyzerTest.cpp || die + + # one test consistently fails, so comment it out for the moment + sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" \ + -i ksystemlog/tests/CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package systemd Journald) + ) + kde5_src_configure +} |