diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-05-11 08:56:41 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-05-11 17:58:09 +0200 |
commit | 4ec10cf95d78b04262f4e26d52d632dbfc3fed56 (patch) | |
tree | 7c93a21883c3acd252b8c72912452f8ac1528f0d /kde-apps/ksystemlog | |
parent | kde-apps/kcron: 23.04.1 version bump (diff) | |
download | gentoo-4ec10cf95d78b04262f4e26d52d632dbfc3fed56.tar.gz gentoo-4ec10cf95d78b04262f4e26d52d632dbfc3fed56.tar.bz2 gentoo-4ec10cf95d78b04262f4e26d52d632dbfc3fed56.zip |
kde-apps/ksystemlog: 23.04.1 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-23.04.1.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 9e5eff464a9a..f4c6b49cc66e 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,2 +1,3 @@ DIST ksystemlog-22.12.3.tar.xz 2002440 BLAKE2B 589f3fa18254833ce9774eabc4fc2dacc4884df383abf7fb8440a7616d5c01e17b10c1c5d42cf02cf8e309af339ed3b57714793336e79e8156f756a60254b0a9 SHA512 7eee52558bbeb4b061a8cd9fd933300af16cd8f7c17bc02c634da9d26131ff5ebfe520fa06935d8121ae874502cdf11ea0a270b87c2e7c9c940c2d03700dddaa DIST ksystemlog-23.04.0.tar.xz 2002708 BLAKE2B 46cd67fb1a4dad158efd1b4045fc877a0727d3e7e36c9c8973b6eb84cdab7e7c0f1df903e8117c380a78e54ab94945d67fe29def3106ba5da0d81cd2e9c772d1 SHA512 95adac64223ee357115f9f20231932a8b152a12340339a188d68d259100f30889bb4491a6eca5ed0e00fda51ed922653d3a4e0d30a10352038898bc6a1d02634 +DIST ksystemlog-23.04.1.tar.xz 2002876 BLAKE2B 9e9f56fe6a68c22b4165f2902af56f366c5a629d49b0be6759b6766f149a8645d43ac81190700e4a04d1263b5308362670dfa19f1a20e39537b8befccfca1bc2 SHA512 e4d09f90e5fb3c73898e95b085ae6ee595c18569e9cbbbee936abd890c4c5dc3bf0b552aec70f30b120355b49c695712268c51c5a93d764a4282832f21a54882 diff --git a/kde-apps/ksystemlog/ksystemlog-23.04.1.ebuild b/kde-apps/ksystemlog/ksystemlog-23.04.1.ebuild new file mode 100644 index 000000000000..2bfc559adfe5 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-23.04.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="optional" +ECM_TEST="forceoptional" +KFMIN=5.104.0 +QTMIN=5.15.5 +VIRTUALX_REQUIRED="test" +inherit ecm gear.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." +} |