diff options
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r-- | kde-apps/ksystemlog/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/ksystemlog/ksystemlog-19.08.0.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 1f726db0d31b..91ccffb41afc 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,3 +1,5 @@ DIST ksystemlog-19.04.3.tar.xz 1922176 BLAKE2B b8feba3e3907e974a8690eca92d8959814cc67dcd7d95701ed3ec795499eb2305198ee3636b4cd2768c09fabda73a68448443b98ce4f6fc87228455a9159813a SHA512 13654dfc5844b5aaefe209f1bc96198e7552eb42445b2f34bf97e2804f088076f95ef8ea10fa3784f718803af72b5c6ec7833429d86d79b250f1bb732431b4b3 +DIST ksystemlog-19.08.0.tar.xz 1927060 BLAKE2B 39a3ffed82bdf6f662bf07856ab86d1cff0f9b2fe474f26f4aef41be11702edd973471b9fb9db42ef0fb38a7bfff52d9308b79348e439f1f93474caefeca4f17 SHA512 e7d42ef42bb2fd20d33e4dc6457e680ffa9ee4ee0dbf6ac7a15f85018392ae9172091c0fe2416bc446c3a592a78fa5bb0b19354e7d0bc05105ef7c9152d82778 EBUILD ksystemlog-19.04.3.ebuild 1582 BLAKE2B 695fe6a4cca0b38fb8427e7ad45a31b10d481d547cc9b247241357db0f8a842d89980063c0ff0585e950e2a6bcac5b49d15a081ef4927df2dc92541c6eed6789 SHA512 be23a4585943f54666770800577dd11929f003ebe592b27affa1fd44c5f43a1fd6ac848a7eafd7266da5600835c0d8402ba148333902a38619efc1d0d94c1ac3 +EBUILD ksystemlog-19.08.0.ebuild 1585 BLAKE2B c085fd6c68958562928e63347de6e1280dfa2e5b1ab0bdc24f845cb628db27890eea03e68bddb15fc033efc665bb2c34c9b47e0f5fabf7212f986e11b32a7d26 SHA512 825578fb56f625526c7da390feef8d0b33dc6d6347bba6b8d7d4f52a37b7c809a59f110d8d6e573b2037934b3c7dffcc6959d33dcbd616cb09ffa879f8cface6 MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 diff --git a/kde-apps/ksystemlog/ksystemlog-19.08.0.ebuild b/kde-apps/ksystemlog/ksystemlog-19.08.0.ebuild new file mode 100644 index 000000000000..66a4582b810b --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-19.08.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="forceoptional" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="System log viewer by KDE" +HOMEPAGE="https://kde.org/applications/system/ksystemlog/" +KEYWORDS="~amd64 ~arm64 ~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 || die + + # one test consistently fails, so comment it out for the moment + sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" \ + -i ksystemlog/tests/CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package systemd Journald) + ) + kde5_src_configure +} |