diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-04-08 11:11:07 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-04-08 11:11:07 +0200 |
commit | 9d74fb68d9d087b99d3a7e7e97b8e82f78e7e1b7 (patch) | |
tree | 51cef544e9297838b69c186577be0c872f11bbec /kde-apps/ksystemlog | |
parent | kde-apps/kcron: 22.03.90 version bump (diff) | |
download | kde-9d74fb68d9d087b99d3a7e7e97b8e82f78e7e1b7.tar.gz kde-9d74fb68d9d087b99d3a7e7e97b8e82f78e7e1b7.tar.bz2 kde-9d74fb68d9d087b99d3a7e7e97b8e82f78e7e1b7.zip |
kde-apps/ksystemlog: 22.03.90 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.03.90.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 81061fe987..9d815c40c8 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1 +1,2 @@ DIST ksystemlog-22.03.80.tar.xz 1967144 BLAKE2B 0c3a4d7f1c3b5e97999eee501fcd6f809a0184705594bb1979f91ae2caf855501174642c5de49286372f0fa6fbb0f9049c69d7d480527c740ac3d3b81517c862 SHA512 12fcdac7d5e307b6475269855cf37b0e804398c04b0f1135fc9693a7f075c586a54c7715c7969ee811e33008c3eba548bb0c9ab402a0c65d425c632f9a5bb367 +DIST ksystemlog-22.03.90.tar.xz 1967796 BLAKE2B 021ff394c9939c67df68dd9dde814d8554b00f60147626a3a09c5f49e095298485aeb5351746fe78f3ccad7f5b07ca01096128916407dd79c13df1a0a43e4831 SHA512 211b39017b0c9e1d2d3615cd57556d32b60ad1409006db43fc71e0fa9caad854df539858d20f10b7a7829c0b9e091bc967988732e29a9da9f6be50e50c15ea8c diff --git a/kde-apps/ksystemlog/ksystemlog-22.03.90.ebuild b/kde-apps/ksystemlog/ksystemlog-22.03.90.ebuild new file mode 100644 index 0000000000..2531c573f1 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-22.03.90.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." +} |