summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-11-09 20:09:00 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-11-09 20:18:28 +0100
commit0e8f2a31161f9138b1731358e9e567b244c6d3d5 (patch)
tree867a9206117086871e741c4956b66e2bdb621dc4 /kde-apps/ksystemlog
parentwww-client/qupzilla: 2.2.1 version bump (diff)
downloadgentoo-0e8f2a31161f9138b1731358e9e567b244c6d3d5.tar.gz
gentoo-0e8f2a31161f9138b1731358e9e567b244c6d3d5.tar.bz2
gentoo-0e8f2a31161f9138b1731358e9e567b244c6d3d5.zip
kde-apps: Add KDE Applications 17.08.3
Package-Manager: Portage-2.3.8, Repoman-2.3.4
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r--kde-apps/ksystemlog/Manifest1
-rw-r--r--kde-apps/ksystemlog/ksystemlog-17.08.3.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index 783aa914a83..5b7f2dcae9d 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1,2 +1,3 @@
DIST ksystemlog-17.04.3.tar.xz 1782104 SHA256 f12471b5fa940aca4aa645a732b89d260b2d9512e6468eaae8a010f10467e701 SHA512 20a27120837289255bee94afe81f03e12692b89a9d3fbae0e9e0adc1062c71ac392acae2b70a4bb74448d84cd202065fd1718de593fa40f0d06a5596e6af2d2d WHIRLPOOL e6ad4bd4afde134b033dc45c1f354f358b73daffae7ce0072bee349b67a662cbbd1b2080b97d9b66780b65dae1a34d98a48e84915ef9f90d6141430466e08fa1
DIST ksystemlog-17.08.2.tar.xz 1782280 SHA256 4db966f816fa0b7710bb68513787b766eef810274dbf894f60d6deb966bed199 SHA512 778f051f15464b4c52206e62914883f4ccc73d2daf3dc1b47f29c773618e23b4e52c2bd99a768250e20c4df278dcfa3c7ef29b1dae9aedd584ade2295d9c3c94 WHIRLPOOL b88cf6a8b901103809795853bc2e701efbf4e23a5519cfb316b25724bddbb3e7825fe7a60d7d8dd100a738ca6e1c5fc6c1e720d90d21765d9fcb81d95a15dff3
+DIST ksystemlog-17.08.3.tar.xz 1782244 SHA256 fbe92c4db3e6da0f93b2edb85a8dbdca600c5027134a8628c2c975216f5bb06a SHA512 9cbb1c9f10b219ffccd896aff4a2d50ad9828e5fb57d2371216270b2ec7778c6e24d9825d61d4c117685817d56e72712a9232b66f74661459f470d4fc00f09d7 WHIRLPOOL 848a9507e9d1348120d9974f6fc88f22569b7d86ca78df084f8c43450d1e221a11c94836773c376e9558be2a04ed1bb33f681173ded40b2ff0be6e1d46ba6f6c
diff --git a/kde-apps/ksystemlog/ksystemlog-17.08.3.ebuild b/kde-apps/ksystemlog/ksystemlog-17.08.3.ebuild
new file mode 100644
index 00000000000..7caf52a9ff0
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-17.08.3.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
+}