diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-04-21 18:44:13 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-04-21 19:09:52 +0200 |
commit | 176a4f41516b7a85d8d9c9b451d3b92621239645 (patch) | |
tree | 29aec0629c5f56b680d7cf611a3ec710fc30a8de /kde-apps/ksystemlog | |
parent | kde-apps/kcron: 22.04.0 version bump (diff) | |
download | gentoo-176a4f41516b7a85d8d9c9b451d3b92621239645.tar.gz gentoo-176a4f41516b7a85d8d9c9b451d3b92621239645.tar.bz2 gentoo-176a4f41516b7a85d8d9c9b451d3b92621239645.zip |
kde-apps/ksystemlog: 22.04.0 version bump
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-22.04.0.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 95014e96d1e5..abb03973f6fe 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,2 +1,3 @@ DIST ksystemlog-21.08.3.tar.xz 1964344 BLAKE2B b07979b7cea394bf264c6a6c3196c87253057c619f0d30f4df58c67fe7ab19adc74dc57ff51e6e7135ea2936f061948973876ab9ffca7efbf06c43ef56661a29 SHA512 ed86c7bac5ce5441bbd5aef6b72687e6472f355cf0a26550e1fe5d1acea29d5970952f0e10b730b17d02f50b8e64a2c742cff8d93af1f839b02bd4512803cdd4 DIST ksystemlog-21.12.3.tar.xz 1967468 BLAKE2B 94b325c9e2dc39b1bd4b797f5763574461e93274e85b182ab4f2cf927d308a9a4dbb3f7e9685e59aa0a517fee883c744e354840af62ac5d11a2802938937e1c6 SHA512 238db6dac11b397f5d4fecbe0b40dd225d83c08f960a3ddcb2e2365dae302c01bb1012e8d123dcec895c17a5816879bfddf3e1942d01aabe6560bb9be65fe66c +DIST ksystemlog-22.04.0.tar.xz 1968552 BLAKE2B 0002d1042b6e5750a31a3523e897a7f9a6eb86dbbe26f0d1b3ecf3e52cb794c17173731abdc37727627ca003b595776c084e245e36b302c7f804413f0627f166 SHA512 262ecd5975a9ba9116f37322add708a37d7b93b35e5c3c910140ebcd14ec5d195187576d81d9ae157059366a99e9e5488a6114690b0df154196e3cd9834fcafd diff --git a/kde-apps/ksystemlog/ksystemlog-22.04.0.ebuild b/kde-apps/ksystemlog/ksystemlog-22.04.0.ebuild new file mode 100644 index 000000000000..2531c573f140 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-22.04.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="optional" +ECM_TEST="forceoptional" +KFMIN=5.92.0 +QTMIN=5.15.2 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="System log viewer by KDE" +HOMEPAGE="https://apps.kde.org/ksystemlog/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="audit kdesu systemd" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=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/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 + audit? ( sys-process/audit ) + systemd? ( sys-apps/systemd ) +" +RDEPEND="${DEPEND} + kdesu? ( kde-plasma/kde-cli-tools[kdesu] ) +" + +src_prepare() { + ecm_src_prepare + if ! use kdesu; then + sed -e "/^X-KDE-SubstituteUID/s:true:false:" \ + -i src/org.kde.ksystemlog.desktop || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package audit Audit) + $(cmake_use_find_package systemd Journald) + ) + ecm_src_configure +} + +pkg_postinst() { + ecm_pkg_postinst + use kdesu || elog "Will show only user readable logs without USE=kdesu (only in X)." + use kdesu && elog "Cannot be launched from application menu in Wayland with USE=kdesu." +} |