From 38423c67c8a23f6a1bc42038193182e2da3116eb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Apr 2020 11:37:10 +0100 Subject: gentoo resync : 25.04.2020 --- kde-apps/ksystemlog/Manifest | 2 + kde-apps/ksystemlog/ksystemlog-20.04.0.ebuild | 66 +++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 kde-apps/ksystemlog/ksystemlog-20.04.0.ebuild (limited to 'kde-apps/ksystemlog') diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 8c98fe4cc66f..a47b8905f90c 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,3 +1,5 @@ DIST ksystemlog-19.12.3.tar.xz 1927732 BLAKE2B 75dde1b342663b85c2bfced7911da3e09484e9ef94bdeecf211cc07f0f84499f820ea87ac7e8b71c5808b03fbcdce628f919bdfb1bac91f1f23f0e1d10c11beb SHA512 88b12d12210b628d6470b1a73f28f0f01946158c3bb35be6bda14cfe5d3b75990149d2bf7f2077d030f5bc34df0dfea1192161c27128927d62d11d2bde8de530 +DIST ksystemlog-20.04.0.tar.xz 1929436 BLAKE2B def7ce2402a0970c92c1d008296b09a249620413720980d665c2bcf7a353d4e41c4c69ddea3dec4fc525bbc23652f477b49c4f69b774032448bbe5f21cc6be84 SHA512 1722997bfcb01a75161eb958b89c9dd6b5c7231f506e2fdd836db91cb6f69ca6ee59bd88313a01a5f542640dcff5ba7d6795e537411160d9cc935e6be125b25a EBUILD ksystemlog-19.12.3.ebuild 1757 BLAKE2B 12d3c59a58c6a8e1b23b19bad08d020b86233f600691136b9120335b1a0c404e338a5c13b354303e2abf1b0a97031aa11e3ef62e38107db69d4b196f0dbf54f6 SHA512 15d01d1a0cdb6880c36b28794635fc33e472b1740fdb7499deda01790b4c5126211efd093240d9f762c9a639af4d823c0f1cd585836c9640b9d5478f24b549af +EBUILD ksystemlog-20.04.0.ebuild 1748 BLAKE2B 486922ff58b6cfc190c22c2215f7c367128707dd14d370af9a12a9f157ca0dee2eaea723b62b6fe6ea2bc772b2f370b7aae866a9f5d82e727c0fc88723f97a9c SHA512 f369a33a3560790896792d5d7113f69311cb5cf4d0d13f7351eb89642d55aa1d05ac6c893c86f5752e648f040e4a200fc1a9bf9fac2ad64ae93378c060467751 MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 diff --git a/kde-apps/ksystemlog/ksystemlog-20.04.0.ebuild b/kde-apps/ksystemlog/ksystemlog-20.04.0.ebuild new file mode 100644 index 000000000000..ff7ed515525a --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-20.04.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="forceoptional" +KFMIN=5.69.0 +QTMIN=5.12.3 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="System log viewer by KDE" +HOMEPAGE="https://kde.org/applications/system/org.kde.ksystemlog" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~ppc64" +IUSE="systemd" + +# bug 378101 +RESTRICT+=" test" + +DEPEND=" + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + systemd? ( sys-apps/systemd ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + ecm_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_use_find_package systemd Journald) + ) + ecm_src_configure +} -- cgit v1.2.3