summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-06-08 23:00:50 +0200
committerJohannes Huber <johu@gentoo.org>2017-06-08 23:00:50 +0200
commitc892d3edb4099fe424a61b0d1aa296132d872ba0 (patch)
treee010db999c552c23e6993bd429516c40db852fe6 /kde-apps/ksystemlog
parentkde-frameworks/kdelibs: Version bump 4.14.33 (diff)
downloadgentoo-c892d3edb4099fe424a61b0d1aa296132d872ba0.tar.gz
gentoo-c892d3edb4099fe424a61b0d1aa296132d872ba0.tar.bz2
gentoo-c892d3edb4099fe424a61b0d1aa296132d872ba0.zip
kde-apps: Version bump KDE Applications 17.04.2
Package-Manager: Portage-2.3.6, 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.2.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index 82cf883e4f4f..58e40348d6c9 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1,2 +1,3 @@
DIST ksystemlog-16.12.3.tar.xz 351032 SHA256 712a22bf3649079a8c3db2900ed7e58abc31f2021d04ff4c0e8aa029c0bda675 SHA512 0e06d0e33027c050d1df4b9f0a041db9bff29786368501297f4c0c43d725feb766f91f4613e9222b77850fd09c9e49d37a9968db2fbe223596ffd478b78a96b7 WHIRLPOOL 602d09b0af4650d2870d2e9c96eb5c55139272d4bf96652aff96e062b52e589dc564969957c5dc9e0ab5ff7e6e0bd09db2daec24425a52b8dc164b4d3362f103
DIST ksystemlog-17.04.1.tar.xz 1784628 SHA256 163e0a9f46bd0250a60864f5e112fa74f81755f97f2cfb82c5a6e8dd10355e4a SHA512 65427a894e4efe1bedf20771c0e6e67bfdc5ab96ce1f9f9a6304e8d8851ea2447619f5fd767aedbf61f92f511f577bb6e8fe2c91054fda272bbe4d71afd49f90 WHIRLPOOL edc4ae37393044d1f4a8479d555102273a096960214900ba5be84dbb5bf7dbedfd73636e2ed9b5fbe992310948a0acdd9d0265d0c773affc50ad60f282c7ac5a
+DIST ksystemlog-17.04.2.tar.xz 1781764 SHA256 554c496448faacde1c3f3263713115d45aca574ae387c6f962953a38137285eb SHA512 8a49452300634bd7e41f085f017977bc13357e259a0538a0b7b5c886284b1d31e1f266c59d30cbbf96ff48419102fe45bd442239bc260ab5388aae44e4a611b9 WHIRLPOOL 234d06c9668dc3197aae9987962e6cd31ae7f4e7129d62400d0b4949d8a3796c60aee0117a69a2bff049cbb736d9378da46fc5f08f2dc1b0b8533936c7751320
diff --git a/kde-apps/ksystemlog/ksystemlog-17.04.2.ebuild b/kde-apps/ksystemlog/ksystemlog-17.04.2.ebuild
new file mode 100644
index 000000000000..7caf52a9ff05
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-17.04.2.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
+}