summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r--kde-apps/ksystemlog/Manifest1
-rw-r--r--kde-apps/ksystemlog/ksystemlog-16.04.1.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index aed3dccc334b..36c4edfaf578 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1,3 +1,4 @@
DIST ksystemlog-15.08.3.tar.xz 381832 SHA256 fd34a99d8cdee9ddabc7372c4aa4b63ce788c4fe5bd48487a5d998a17c67ea89 SHA512 a9a599858fdc391b2d0b4708e9c6c0d7a40856efc1ba1949c52e0a2234450c09868ef00b557b475b5f68d3ef014c3ee83c16467c7c7fbbd430a5442e3c037f45 WHIRLPOOL e7462aa0cce80fee19b80f9f1423591bf67be09735e68f4b018ea21fd9568d47d4e9caf79cafe729aec2ac7cfc2df0fc9d1b87ca5bfa194e37f8e2917e47aff1
DIST ksystemlog-15.12.3.tar.xz 395500 SHA256 32f03ae9aebe252b6d46d39db081b044c13ed09a215c49911e6b492cd504387a SHA512 c0fc007d65462e2ca8b94853fb52511376292f48abff994ae69036937d60e5dfa20a34a7f2e4cd993627a62173af71988856c3ef5e4d590c1d13f4318c045e59 WHIRLPOOL c4bca21185dd895bb338080a8d1560d0d6408b57e851447508798dace78f6a7bf33f1ca90348e220bafc3153d695693037d5238770494d480bf1e5ab4fd8c15c
+DIST ksystemlog-16.04.1.tar.xz 395576 SHA256 6d9c37a09b8bf79ddeb0b4347040770116b0cc74a38779431d19fd972cdd4973 SHA512 5ba9246e4146f6c8123854543be24cf7e4a80388dbee7d23c9b48fd4003839a996f019bc143747db74caa317c6d0a1caf601907a025026d434ff3ea3231f71f2 WHIRLPOOL d664d076a4befb6e7396298d659ce373fd914884fd9ed929c9322e026cb7cd8adb1ff6f19f64b470443fde91af77895d11fec36d6d68b6108fe6c0ba4c22aa06
DIST ksystemlog-4.14.3.tar.xz 382060 SHA256 c252e61908d7ccabe564cda5f8dfe8ca0f34659f248d557d8dfb6088f50db087 SHA512 2054d1aeeb1c7b3f907a6446349d379580ded8ebe944f7a0f43a3b4727004b022bba63a378a8f5f3bfbddf15bf61773e07579e406185ce1c0e9368423f83d2d5 WHIRLPOOL fbb83f0f676faf322d7f2eaa338298ebf227abf9752121427ddbb5eb97229f9c800c2bcb91e50696f08986df7cfb00552dcfa373b43ebdac4b94430a06598a8f
diff --git a/kde-apps/ksystemlog/ksystemlog-16.04.1.ebuild b/kde-apps/ksystemlog/ksystemlog-16.04.1.ebuild
new file mode 100644
index 000000000000..5e7d797dc170
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-16.04.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_DOXYGEN="true"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="System log viewer by KDE"
+HOMEPAGE="https://www.kde.org/applications/system/ksystemlog/"
+KEYWORDS="~amd64 ~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
+
+ # one test consistently fails, so comment it out for the moment
+ sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" -i ksystemlog/tests/CMakeLists.txt
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package systemd Journald)
+ )
+ kde5_src_configure
+}