diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-12 16:10:58 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-12 16:18:26 +0200 |
commit | a6d3a93f1f50f5797b4d119f529dffcaf0d3a1e4 (patch) | |
tree | 4d3ec8ddaa83500e5b7b78a9fdbb5d4fd20540d5 /kde-apps/ksystemlog | |
parent | kde-frameworks/kdelibs: 4.14.37 version bump (diff) | |
download | gentoo-a6d3a93f1f50f5797b4d119f529dffcaf0d3a1e4.tar.gz gentoo-a6d3a93f1f50f5797b4d119f529dffcaf0d3a1e4.tar.bz2 gentoo-a6d3a93f1f50f5797b4d119f529dffcaf0d3a1e4.zip |
kde-apps: Add KDE Applications 17.08.2
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r-- | kde-apps/ksystemlog/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/ksystemlog/ksystemlog-17.08.2.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 80e7c4e2abb4..238a21bc2ff0 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.1.tar.xz 1782276 SHA256 dbd21cf1c598fad7dd6b4468736b2449e3635eef82ef2f609ca9b6dad0543c72 SHA512 e7e0e21ae10070efe7bb80361bf7d91bef691779e2a2a46c12a2e0b3440e9e0c083ab11d85b870d1507fa9f061b197ab75ea79d7dc3017478eb640aa051ae547 WHIRLPOOL 563a07b4b623d41823e13484f101d6335ebcc37de84ee4a05c4b2f34f507b4461ce8e22f454f41393bcacf52e9d982f21898476cf583d80b1405c9c10b571333 +DIST ksystemlog-17.08.2.tar.xz 1782280 SHA256 4db966f816fa0b7710bb68513787b766eef810274dbf894f60d6deb966bed199 SHA512 778f051f15464b4c52206e62914883f4ccc73d2daf3dc1b47f29c773618e23b4e52c2bd99a768250e20c4df278dcfa3c7ef29b1dae9aedd584ade2295d9c3c94 WHIRLPOOL b88cf6a8b901103809795853bc2e701efbf4e23a5519cfb316b25724bddbb3e7825fe7a60d7d8dd100a738ca6e1c5fc6c1e720d90d21765d9fcb81d95a15dff3 diff --git a/kde-apps/ksystemlog/ksystemlog-17.08.2.ebuild b/kde-apps/ksystemlog/ksystemlog-17.08.2.ebuild new file mode 100644 index 000000000000..7caf52a9ff05 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-17.08.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 +} |