summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-04-20 18:15:02 +0200
committerJohannes Huber <johu@gentoo.org>2017-04-20 18:22:40 +0200
commit8f00b2bf566d896205f52099530159c97b977f68 (patch)
tree6dfeae9f7a9dc7b276cb384a7f4ad8d589de52d1 /kde-apps/ksystemlog
parentkde5*eclass: KDE Applications 17.04.0 improvements (diff)
downloadgentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.gz
gentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.bz2
gentoo-8f00b2bf566d896205f52099530159c97b977f68.zip
kde-apps: Version bump KDE Applications 17.04.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r--kde-apps/ksystemlog/Manifest1
-rw-r--r--kde-apps/ksystemlog/ksystemlog-17.04.0.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index 034d9443545f..99952a4d8a11 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1 +1,2 @@
DIST ksystemlog-16.12.3.tar.xz 351032 SHA256 712a22bf3649079a8c3db2900ed7e58abc31f2021d04ff4c0e8aa029c0bda675 SHA512 0e06d0e33027c050d1df4b9f0a041db9bff29786368501297f4c0c43d725feb766f91f4613e9222b77850fd09c9e49d37a9968db2fbe223596ffd478b78a96b7 WHIRLPOOL 602d09b0af4650d2870d2e9c96eb5c55139272d4bf96652aff96e062b52e589dc564969957c5dc9e0ab5ff7e6e0bd09db2daec24425a52b8dc164b4d3362f103
+DIST ksystemlog-17.04.0.tar.xz 1784876 SHA256 bec60ce3991dac85be7785c299c15291c9b819a82f6420316700f52f32655498 SHA512 2dd67170602d0ee490e3e8fed0a75827ab1507f01844bf76b7dcf10de8885d433e0b9156ef7dd6c79fcbaaec291f9cc2b8fc37ec43a5699d9ef73c9795e992d1 WHIRLPOOL 929ab28006e45e8339861b84f389e63db4547931b5e46395e21d86fe97a9414eda9381e6894c7fba376490c726c9ab5e6aec81c883651585cac6e947556ba449
diff --git a/kde-apps/ksystemlog/ksystemlog-17.04.0.ebuild b/kde-apps/ksystemlog/ksystemlog-17.04.0.ebuild
new file mode 100644
index 000000000000..7caf52a9ff05
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-17.04.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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
+}