diff options
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r-- | kde-apps/ksystemlog/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/ksystemlog/ksystemlog-19.04.0.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index cf2d5dbe4886..6aaf1405fa25 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,3 +1,5 @@ DIST ksystemlog-18.12.3.tar.xz 1924336 BLAKE2B a115fbb7be2137fe3ec1073185dd25d5fbe97facb228e066471829c4feaab82550f00ee1454f689d511d91c76e5455643544bf7b7f3c04d3d06be497e015f475 SHA512 4808d8981e5d7d5d75be11c3b00c25e4962ea2b8a5e600f50aff2ca8e74d9af924859329224c92001a91e9fa697fae29a21c2ed1209cada641c732773b2bad0b +DIST ksystemlog-19.04.0.tar.xz 1924560 BLAKE2B 1a01258187a683b772d570dc75b2c0df6166a499e33bedf31939a999e5766141b256442e91fa24b8c769e02e7880cd6bc1c3c26bfa1812ced16c436114afb266 SHA512 7989b15d3cc0b10a170954e382f64fe6acffea7d6adcabd5728c284b502ce5f0c77d78f0df647ce9497c953897d479dc7a1c03f955535b012d08af0d425cd16b EBUILD ksystemlog-18.12.3.ebuild 1587 BLAKE2B 6f8e9f9d9fa8780b9e5d7eadd18cda68f2c37dd8685f1b9ef81e8ba0c39e1058285dfc3b5149846cdcc05df554061f226bc1f422b08562652e41d30de2e4c7f5 SHA512 16d55dade4efa82d7af29f401e8c780256ef503ee7dd2a3bcbff1ae4e22f0bf18efcbc7e8414992e8b44d966947f7700ed7d2b00955fd1520d1674b9a15b9c82 +EBUILD ksystemlog-19.04.0.ebuild 1585 BLAKE2B c085fd6c68958562928e63347de6e1280dfa2e5b1ab0bdc24f845cb628db27890eea03e68bddb15fc033efc665bb2c34c9b47e0f5fabf7212f986e11b32a7d26 SHA512 825578fb56f625526c7da390feef8d0b33dc6d6347bba6b8d7d4f52a37b7c809a59f110d8d6e573b2037934b3c7dffcc6959d33dcbd616cb09ffa879f8cface6 MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 diff --git a/kde-apps/ksystemlog/ksystemlog-19.04.0.ebuild b/kde-apps/ksystemlog/ksystemlog-19.04.0.ebuild new file mode 100644 index 000000000000..66a4582b810b --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-19.04.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 +} |