summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-06-13 17:37:26 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-06-13 18:49:12 +0200
commitc53cba73f13c6a731ce14274b05c624eeb79809f (patch)
tree7872066e570ce37d939d134ba5c7b763a960c82f /kde-apps/ksystemlog
parentkde-apps/kcron: 24.05.1 version bump (diff)
downloadgentoo-c53cba73f13c6a731ce14274b05c624eeb79809f.tar.gz
gentoo-c53cba73f13c6a731ce14274b05c624eeb79809f.tar.bz2
gentoo-c53cba73f13c6a731ce14274b05c624eeb79809f.zip
kde-apps/ksystemlog: 24.05.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.05.1.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index a421eb1feded..3d879ac4b2d3 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.05.0.tar.xz 1855180 BLAKE2B 556917e6299d1fd88655448de514a2152b514d3e7d3976c6a8034c44e3bf9b34830e90ac816d3c509fb9df60a77e8306ddf60e70a4ef8a8b77c2c4a77f943213 SHA512 acb2f5cae806ed2a682795824e4bf9ad51a9818c19f4ca9408ce0e26e3eae0fec3a95d61ee0dd184d01b7ceaf23f7baf132a18f17c1f4465a9d3986babf29d75
+DIST ksystemlog-24.05.1.tar.xz 1854928 BLAKE2B 757d1f112e6305e7cc6ed53a3ca72df8eb9feaddd102ba7b2604f163ed6b6161ff5403e6f027ef10034445a811eb7f9c19757569afacd49ce3ae34ba70da735c SHA512 6f818542475aa030fab4b82312394f59018541ac4788dd92825660af434cbe95dc642a900191509fcca1d4cdc11cd884d3440e3359f46ca912f7ff97bf47731a
diff --git a/kde-apps/ksystemlog/ksystemlog-24.05.1.ebuild b/kde-apps/ksystemlog/ksystemlog-24.05.1.ebuild
new file mode 100644
index 000000000000..c7fe03f8e099
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-24.05.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.3.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."
+}