summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-04-22 10:07:04 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-04-22 11:11:47 +0200
commit4dcfa99c5829838bc183e44e631717939e7490b9 (patch)
treed3e9eb0a99a1428584f19214155f6171a40dcf7e /kde-apps/ksystemlog
parentkde-apps/kcron: 23.04.0 version bump (diff)
downloadgentoo-4dcfa99c5829838bc183e44e631717939e7490b9.tar.gz
gentoo-4dcfa99c5829838bc183e44e631717939e7490b9.tar.bz2
gentoo-4dcfa99c5829838bc183e44e631717939e7490b9.zip
kde-apps/ksystemlog: 23.04.0 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-23.04.0.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index 07a25dce199e..9e5eff464a9a 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1 +1,2 @@
DIST ksystemlog-22.12.3.tar.xz 2002440 BLAKE2B 589f3fa18254833ce9774eabc4fc2dacc4884df383abf7fb8440a7616d5c01e17b10c1c5d42cf02cf8e309af339ed3b57714793336e79e8156f756a60254b0a9 SHA512 7eee52558bbeb4b061a8cd9fd933300af16cd8f7c17bc02c634da9d26131ff5ebfe520fa06935d8121ae874502cdf11ea0a270b87c2e7c9c940c2d03700dddaa
+DIST ksystemlog-23.04.0.tar.xz 2002708 BLAKE2B 46cd67fb1a4dad158efd1b4045fc877a0727d3e7e36c9c8973b6eb84cdab7e7c0f1df903e8117c380a78e54ab94945d67fe29def3106ba5da0d81cd2e9c772d1 SHA512 95adac64223ee357115f9f20231932a8b152a12340339a188d68d259100f30889bb4491a6eca5ed0e00fda51ed922653d3a4e0d30a10352038898bc6a1d02634
diff --git a/kde-apps/ksystemlog/ksystemlog-23.04.0.ebuild b/kde-apps/ksystemlog/ksystemlog-23.04.0.ebuild
new file mode 100644
index 000000000000..2bfc559adfe5
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-23.04.0.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."
+}