summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-03-21 10:47:14 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-03-21 16:34:25 +0100
commit3ac0a065c1e56904ccb474a0443d70baa234aea9 (patch)
treea7f80614d20780637f11bafc280ab39986969afd /kde-apps/ksystemlog
parentkde-apps/kcron: 24.02.1 version bump (diff)
downloadgentoo-3ac0a065c1e56904ccb474a0443d70baa234aea9.tar.gz
gentoo-3ac0a065c1e56904ccb474a0443d70baa234aea9.tar.bz2
gentoo-3ac0a065c1e56904ccb474a0443d70baa234aea9.zip
kde-apps/ksystemlog: 24.02.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r--kde-apps/ksystemlog/Manifest1
-rw-r--r--kde-apps/ksystemlog/ksystemlog-24.02.1.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index 8d2a0e075677..e52f9437bfd6 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1,2 +1,3 @@
DIST ksystemlog-23.08.5.tar.xz 2014948 BLAKE2B 2d08528d7cb37b223c01bc509091b499c129e52cf90d893014f0a8ba564fc792f35131f67cca6465c59dff3f346e8ae5242ad6222850810af0ca532804f5f9e0 SHA512 8decb41ac919b3a7b67cc73f8e68d32c75b935072f14435939c373b84766a863c148572cf0d7e851f075e5ffe4ef8fddc85b70eaabeb29c16e8e3fa95b4ba584
DIST ksystemlog-24.02.0.tar.xz 2013576 BLAKE2B 4f9b7e29d2377f824fd04465dc181807cc742cc9206c72528ab44645c974b34f08976aab9f36c73805558eb81409ec02a71c6c601f3b4bbbffd8ae6f4a24e560 SHA512 7460f903bbec625057a77241330102b8c0d1f7f26913c1a465a0d89c600fd62ec42e070b0e8c594d70461a1c6d97c0ef3bda09720d7c27f95fa3df96fda77428
+DIST ksystemlog-24.02.1.tar.xz 2013792 BLAKE2B 24e990fbdbd76154f899a48ade9ebc4f24fe2af1ad9fa8b43d7698a05e940af6413aa8d5b0d09e6fa0bbe6ae995b68fc870648181697f1ae905ca1e2625f746c SHA512 1608e419ff781eaceb6e6f95d2089fa9960e39cf9d96c44ec65db222e00d2a6a44b3c3e8a773ae7003c750e066960e70ab8c3cb830bff567e5d136d1b83609c6
diff --git a/kde-apps/ksystemlog/ksystemlog-24.02.1.ebuild b/kde-apps/ksystemlog/ksystemlog-24.02.1.ebuild
new file mode 100644
index 000000000000..2d1a37cb1320
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-24.02.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="forceoptional"
+KFMIN=6.0.0
+QTMIN=6.6.2
+inherit ecm gear.kde.org
+
+DESCRIPTION="System log viewer by KDE"
+HOMEPAGE="https://apps.kde.org/ksystemlog/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="6"
+KEYWORDS="~amd64"
+IUSE="audit kdesu systemd"
+
+DEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6[gui,widgets]
+ >=kde-frameworks/karchive-${KFMIN}:6
+ >=kde-frameworks/kcompletion-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/kitemviews-${KFMIN}:6
+ >=kde-frameworks/ktextwidgets-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kxmlgui-${KFMIN}:6
+ audit? ( sys-process/audit )
+ systemd? (
+ >=dev-qt/qtbase-${QTMIN}:6[network]
+ 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."
+}