diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-06-08 12:32:46 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-06-08 13:35:27 +0200 |
commit | 43306b276688ea91802223df2517aa0ee6e7085c (patch) | |
tree | e3a28f0f792fb20e5ca12acc7218c83ff36935ad /kde-apps/ksystemlog | |
parent | kde-apps/kcron: 23.04.2 version bump (diff) | |
download | gentoo-43306b276688ea91802223df2517aa0ee6e7085c.tar.gz gentoo-43306b276688ea91802223df2517aa0ee6e7085c.tar.bz2 gentoo-43306b276688ea91802223df2517aa0ee6e7085c.zip |
kde-apps/ksystemlog: 23.04.2 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.2.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index feba46022a37..d86ec61aa820 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.1.tar.xz 2002876 BLAKE2B 9e9f56fe6a68c22b4165f2902af56f366c5a629d49b0be6759b6766f149a8645d43ac81190700e4a04d1263b5308362670dfa19f1a20e39537b8befccfca1bc2 SHA512 e4d09f90e5fb3c73898e95b085ae6ee595c18569e9cbbbee936abd890c4c5dc3bf0b552aec70f30b120355b49c695712268c51c5a93d764a4282832f21a54882 +DIST ksystemlog-23.04.2.tar.xz 2003144 BLAKE2B 0afa98fb6415fcccd9f58da8e9fa3b2b6fbaa832143fe5ebb8bafab1a526d8fad06af6eb6a04fc39ae2fba22c0c97de178383593012e67b7f39062f54a639044 SHA512 f93a1ae4db2fc4d991eb66f4db6c586b1ecae14d5318f77ded2929a69eccf32f68eb3cd9130a9c0b10a4fb75d846ead9fbd633143ce32527597db84bc49d9936 diff --git a/kde-apps/ksystemlog/ksystemlog-23.04.2.ebuild b/kde-apps/ksystemlog/ksystemlog-23.04.2.ebuild new file mode 100644 index 000000000000..48ad3349364d --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-23.04.2.ebuild @@ -0,0 +1,63 @@ +# 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.106.0 +QTMIN=5.15.9 +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." +} |