summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-02-10 14:28:40 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-02-11 23:00:24 +0100
commit8e9254c5dac34b290d80baa283964bf5802d6630 (patch)
treee74c0d8d4491416d64de7802e3937452a509b1f1 /kde-apps/ksystemlog
parentkde-frameworks: Add KDE Frameworks 5.43.0 (diff)
downloadgentoo-8e9254c5dac34b290d80baa283964bf5802d6630.tar.gz
gentoo-8e9254c5dac34b290d80baa283964bf5802d6630.tar.bz2
gentoo-8e9254c5dac34b290d80baa283964bf5802d6630.zip
kde-apps: Add KDE Applications 17.12.2
Bug: https://bugs.gentoo.org/642854 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r--kde-apps/ksystemlog/Manifest1
-rw-r--r--kde-apps/ksystemlog/ksystemlog-17.12.2.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index 896a09bd3e3..d8d1573d762 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1,2 +1,3 @@
DIST ksystemlog-17.08.3.tar.xz 1782244 BLAKE2B 6872f82d321ca90e68724e64d15d712f25975339e5bacbaad1d2cf0a5c38a81561a58d3c39564b80a7f5fa7fca786168b5ca7488a12301d6f3f7f6467149b7d8 SHA512 9cbb1c9f10b219ffccd896aff4a2d50ad9828e5fb57d2371216270b2ec7778c6e24d9825d61d4c117685817d56e72712a9232b66f74661459f470d4fc00f09d7
DIST ksystemlog-17.12.1.tar.xz 1782228 BLAKE2B 360869bf9be3feab9fabfd05a6b10b1ab28da3a3db75adf68e0c3cb340974efdbdc8e163264d3c930bc145109797fc5a7aac941e60f9d0ec2a3c6416dc47e388 SHA512 95ae8b8a86f2a3af784095b9231efa5b2591f2486736e4b20b5f414ff4344fc8736e6c4a3dd91a47cb7d927c2f3efeb233f8090f42e8e5fd613d85e53823cf51
+DIST ksystemlog-17.12.2.tar.xz 1782060 BLAKE2B 4637ba40cb1c6da4e70b0140b04d819482ce321810d7dea6f8cf1a878226c7a758ae4edc5ed2f2445b5c9a992622432eb1b3427dc11e6ebfbb436252dfddb59f SHA512 d4f6bfe35cde11e2675e32c2b31468c3c848ae065eccaf2b4ded9adb7b03d558d2a555aeb77643a84028865b09027820d0eb7689eede8cc5dfb855c51855ef20
diff --git a/kde-apps/ksystemlog/ksystemlog-17.12.2.ebuild b/kde-apps/ksystemlog/ksystemlog-17.12.2.ebuild
new file mode 100644
index 00000000000..613a2eccdf4
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-17.12.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2018 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
+}