diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-05 20:21:36 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-05 20:38:59 +0100 |
commit | 7836d95e3288b0b6490c8ee89fde81e0d9e2786d (patch) | |
tree | fcec0fe6c0421764ef6a753fc402cbd18e8607b2 /kde-apps/ksystemlog | |
parent | media-libs/libvpx: move build deps to BDEPEND (diff) | |
download | gentoo-7836d95e3288b0b6490c8ee89fde81e0d9e2786d.tar.gz gentoo-7836d95e3288b0b6490c8ee89fde81e0d9e2786d.tar.bz2 gentoo-7836d95e3288b0b6490c8ee89fde81e0d9e2786d.zip |
kde-apps: Add KDE Release Service 19.12.3
Package-Manager: Portage-2.3.92, Repoman-2.3.20
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-19.12.3.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 8bf1df2a21e3..9749d5560b0b 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,2 +1,3 @@ DIST ksystemlog-19.08.3.tar.xz 1928428 BLAKE2B 77efcc19726a9af47a009317196d062fd78bf689618f8b9005fbf41b096e7f3ff76fc0451579163d69336fbfc2b3e9e6b9eea409a5933ed24adf82e5cfd29d6a SHA512 bc2f1f73a04b417579d12351d78a0c66a2814590cffaa191c3d5158e3f0819aa7a24bb69603b6883e4ea753944444fdd2986393c9c8ed83dca81408cd56a655d DIST ksystemlog-19.12.2.tar.xz 1928240 BLAKE2B d458a5ebf6642a51cf45092ae6dbf2e7163c7d7560f446961b54c4d732b90d8c0c626828f550d5a611b5c1deddea313a42f297e40786725d3dcb5266c5ddac38 SHA512 bae6cee05b3149607a6fc9ae4ff84667bcd41d8559c693f8d916bc1e3fb64066e5a82221007991353153d681236f5dbefcb2e2c69dc8e97d2372197d1401ef6e +DIST ksystemlog-19.12.3.tar.xz 1927732 BLAKE2B 75dde1b342663b85c2bfced7911da3e09484e9ef94bdeecf211cc07f0f84499f820ea87ac7e8b71c5808b03fbcdce628f919bdfb1bac91f1f23f0e1d10c11beb SHA512 88b12d12210b628d6470b1a73f28f0f01946158c3bb35be6bda14cfe5d3b75990149d2bf7f2077d030f5bc34df0dfea1192161c27128927d62d11d2bde8de530 diff --git a/kde-apps/ksystemlog/ksystemlog-19.12.3.ebuild b/kde-apps/ksystemlog/ksystemlog-19.12.3.ebuild new file mode 100644 index 000000000000..09b3f69b9554 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-19.12.3.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.63.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 ~arm64 ~ppc64 ~x86" +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 +} |