summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-01-21 05:16:01 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-01-21 05:19:23 +1100
commit62846319e1416b7c8a96de9f39bb67a8f99aaf89 (patch)
tree8f8ee6209aa838b9069d243e24deac84ff4b681d /kde-apps/ksystemlog
parentkde-apps: version bump kdemultimedia 15.12.1 (diff)
downloadgentoo-62846319e1416b7c8a96de9f39bb67a8f99aaf89.tar.gz
gentoo-62846319e1416b7c8a96de9f39bb67a8f99aaf89.tar.bz2
gentoo-62846319e1416b7c8a96de9f39bb67a8f99aaf89.zip
kde-apps: version bump kdeadmin 15.12.1
Package-Manager: portage-2.2.27
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r--kde-apps/ksystemlog/Manifest1
-rw-r--r--kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index cdc32bcc9f42..dfbbe64060b9 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1,2 +1,3 @@
DIST ksystemlog-15.08.3.tar.xz 381832 SHA256 fd34a99d8cdee9ddabc7372c4aa4b63ce788c4fe5bd48487a5d998a17c67ea89 SHA512 a9a599858fdc391b2d0b4708e9c6c0d7a40856efc1ba1949c52e0a2234450c09868ef00b557b475b5f68d3ef014c3ee83c16467c7c7fbbd430a5442e3c037f45 WHIRLPOOL e7462aa0cce80fee19b80f9f1423591bf67be09735e68f4b018ea21fd9568d47d4e9caf79cafe729aec2ac7cfc2df0fc9d1b87ca5bfa194e37f8e2917e47aff1
+DIST ksystemlog-15.12.1.tar.xz 395576 SHA256 06af747749bb4ac75a5fc51d321c7d6e11d443d5451b5c77ebbf03ddabe46b4c SHA512 880208bdd0890632d24c08f318e2a78481323905269c040bb4555a8951ca8748693204ed70c85ce3f9f877c43cb059cb0a11d160400dd6020727652d338ae9e2 WHIRLPOOL c2db495507ac88a0e49e8a89040448138e13726fbd18879267cfe2a180fb5cee59f26775ad4b51d63d7c6b7fa01e0a7c5eaaba596406343601467da1bb784cf0
DIST ksystemlog-4.14.3.tar.xz 382060 SHA256 c252e61908d7ccabe564cda5f8dfe8ca0f34659f248d557d8dfb6088f50db087 SHA512 2054d1aeeb1c7b3f907a6446349d379580ded8ebe944f7a0f43a3b4727004b022bba63a378a8f5f3bfbddf15bf61773e07579e406185ce1c0e9368423f83d2d5 WHIRLPOOL fbb83f0f676faf322d7f2eaa338298ebf227abf9752121427ddbb5eb97229f9c800c2bcb91e50696f08986df7cfb00552dcfa373b43ebdac4b94430a06598a8f
diff --git a/kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild b/kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild
new file mode 100644
index 000000000000..73c52fcffdfc
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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)
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+ 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
+}