diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-12 20:36:02 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-12 20:36:02 +0200 |
commit | 4186eabcad11c1cf1a6fdc6a555b72404eee0137 (patch) | |
tree | 7a07ac977ec9f17772623b3ec02801d5dad964f9 /kde-apps/ksystemlog | |
parent | app-crypt/certbot: fixing acme dep (diff) | |
download | gentoo-4186eabcad11c1cf1a6fdc6a555b72404eee0137.tar.gz gentoo-4186eabcad11c1cf1a6fdc6a555b72404eee0137.tar.bz2 gentoo-4186eabcad11c1cf1a6fdc6a555b72404eee0137.zip |
kde-apps: Add KDE Applications 18.04.3
Package-Manager: Portage-2.3.42, Repoman-2.3.9
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r-- | kde-apps/ksystemlog/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/ksystemlog/ksystemlog-18.04.3.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 0cfaa2fea00b..9b401c68fd91 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,2 +1,3 @@ DIST ksystemlog-17.12.3.tar.xz 1782044 BLAKE2B 0679e1f79edf65dc99958932d1e60cf4e5979d02786a97b0f5181a819b289ceb3dd219b4678dd84537df4fabec0560a6cf112fd55adb1155da2060b826acdd39 SHA512 b9f1a56a4ec0c26cae5556f3454d69fb7f186762affe95008ee4403071a42d1c76cc2b8451fdd19b3d0302fb0f2b1e7c8e04f84b0efae6fda3ceac90d83d9b61 DIST ksystemlog-18.04.2.tar.xz 1784856 BLAKE2B db717c04762de5001b91fdd1faf45ccafad4240bcfada50852e4f00b65028afa55e70bf1c0a93b9e2577aad760a670e9889554b8e786ed4b8460cfcd89a5724a SHA512 c9d9bbc1c9cb6435aaec7236d6652e639e251709c8a70830c17b23bdf7597bce52bfc895533bc26cc06a0f6a7dc6155debbba30863086d8fea3ed4b6be0b6722 +DIST ksystemlog-18.04.3.tar.xz 1784680 BLAKE2B 27f71ffb37ab30311cb638f1ed03a1ff0a78c92117c0452f1797c0b01cc1c816763b6ecb7295f22118747ad85856b64399d04a02447ca4766cde598385ad3ff0 SHA512 f42d7fdabd93f98180077388ff4fc93921db562795edaa1892dd4526a8f8637a2f5ed5c063c0b97f96603a0f0f2f0425336c61b956c9ba933cec565fb2cad827 diff --git a/kde-apps/ksystemlog/ksystemlog-18.04.3.ebuild b/kde-apps/ksystemlog/ksystemlog-18.04.3.ebuild new file mode 100644 index 000000000000..613a2eccdf4d --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-18.04.3.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 +} |