summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-09-15 21:13:17 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-09-15 22:06:18 +0200
commitba093801484880719196807cdfcc6779dfc20939 (patch)
tree924fbc7e85aa319fa7710bf56f552ea3d16b36e4 /kde-apps/ksystemlog
parentkde-apps/kcron: 23.08.1 version bump (diff)
downloadgentoo-ba093801484880719196807cdfcc6779dfc20939.tar.gz
gentoo-ba093801484880719196807cdfcc6779dfc20939.tar.bz2
gentoo-ba093801484880719196807cdfcc6779dfc20939.zip
kde-apps/ksystemlog: 23.08.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-23.08.1.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index 22cd4b378629..6ce101b24eab 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1,2 +1,3 @@
DIST ksystemlog-23.04.3.tar.xz 2003260 BLAKE2B 61e2d8f8a468b6e1889e0b5a660a10dacfa46bfcfa81018397b753cd75a67d336d6ed505b77519b14c21f59aadf8b54e8afcceb8e1b3816a359a47316b28ffce SHA512 337a2d25d4e7b62d05738231dd1f454f98022b006b68bd8d80bbfb17fd0a75c3a5fcd147fc04235afeb7bc196a8a859f965b4411b80a8fc39169f6ca79026604
DIST ksystemlog-23.08.0.tar.xz 2004636 BLAKE2B 134864605723d5d10cb2da317954c38d838fa2024663e058207aa358676b1194ae4f63df3ed65c418788b6978b7852661fe3d14ba7c549e929bb16be7d6117e6 SHA512 3bcc0c3ef0813da338445556c3f7187d5250fea5a8881aba162572901cb126104796c675a9ef428a9edc9305b4b6ecc5e7bfab4ee714ee97299d4a55ff4ead36
+DIST ksystemlog-23.08.1.tar.xz 2004536 BLAKE2B 20c9329e5607bd6997b3f89a3d3c73e26010bc0e128354502450fbd16a9519173f0c73021af650e43debf15adb51f9f5f48c3d3bb7cb1f053794986431f9d3eb SHA512 c73fa2f66b0de7160dbea305ff6b94887ee6c22feae72bc195671ab171e19934e5110246a0f46cbe3c9f5332d5e1a91e88ae617027e5b6f1da68ede3d84529d1
diff --git a/kde-apps/ksystemlog/ksystemlog-23.08.1.ebuild b/kde-apps/ksystemlog/ksystemlog-23.08.1.ebuild
new file mode 100644
index 000000000000..5d3801228ae8
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-23.08.1.ebuild
@@ -0,0 +1,66 @@
+# 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/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ audit? ( sys-process/audit )
+ systemd? (
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ 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
+ use systemd || ecm_punt_qt_module Network
+}
+
+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."
+}