diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-23 12:14:47 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-24 00:06:55 +0200 |
commit | 676a79636007840dd187ee278f14c416d27c03fe (patch) | |
tree | cb720563f718dd6463117035261bc709a5bc1ce0 /kde-apps/ksystemlog | |
parent | profiles: use.desc: Add 'telemetry' (diff) | |
download | gentoo-676a79636007840dd187ee278f14c416d27c03fe.tar.gz gentoo-676a79636007840dd187ee278f14c416d27c03fe.tar.bz2 gentoo-676a79636007840dd187ee278f14c416d27c03fe.zip |
kde-apps: Add KDE Release Service 20.04.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r-- | kde-apps/ksystemlog/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/ksystemlog/ksystemlog-20.04.0.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index bba2f3ec3b3d..6010f827a6ab 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1 +1,2 @@ DIST ksystemlog-19.12.3.tar.xz 1927732 BLAKE2B 75dde1b342663b85c2bfced7911da3e09484e9ef94bdeecf211cc07f0f84499f820ea87ac7e8b71c5808b03fbcdce628f919bdfb1bac91f1f23f0e1d10c11beb SHA512 88b12d12210b628d6470b1a73f28f0f01946158c3bb35be6bda14cfe5d3b75990149d2bf7f2077d030f5bc34df0dfea1192161c27128927d62d11d2bde8de530 +DIST ksystemlog-20.04.0.tar.xz 1929436 BLAKE2B def7ce2402a0970c92c1d008296b09a249620413720980d665c2bcf7a353d4e41c4c69ddea3dec4fc525bbc23652f477b49c4f69b774032448bbe5f21cc6be84 SHA512 1722997bfcb01a75161eb958b89c9dd6b5c7231f506e2fdd836db91cb6f69ca6ee59bd88313a01a5f542640dcff5ba7d6795e537411160d9cc935e6be125b25a 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 +} |