summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-11-09 10:47:29 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-11-09 14:05:01 +0100
commit425afb8f73f7597d95534a9dbead32cef0080a0b (patch)
tree188f4cde6e84eb3f468a507613990817eace6695 /kde-apps/ksystemlog
parentkde-apps/kcron: 23.08.3 version bump (diff)
downloadgentoo-425afb8f73f7597d95534a9dbead32cef0080a0b.tar.gz
gentoo-425afb8f73f7597d95534a9dbead32cef0080a0b.tar.bz2
gentoo-425afb8f73f7597d95534a9dbead32cef0080a0b.zip
kde-apps/ksystemlog: 23.08.3 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.3.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index df09697b515c..3f34149e4e09 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.2.tar.xz 2007808 BLAKE2B 6cbde7eaabb988d53a38538b2d55aad930ae3824a5c372229f385aa3ef3b0df1031504f430851c86e62b6a6757b10bdda04533d9b3090b034857b517172d95ab SHA512 9750425e814438eeddbc9de87acb538beb6ef1a23eb20a8647313ec02f4177f46ff65b196b51d3a5e73ef643136e6e9c4cf7104c13c891f6892c0556ff6d3d58
+DIST ksystemlog-23.08.3.tar.xz 2008916 BLAKE2B 6ce7780aa115926a6110ce0fae5844cdbf6a4effa3f8d2f022a408d182733be5110d32698e96c77280a6d6e6812f171d575b586f17ba8e69364246c03a6e66ac SHA512 0e948d3617902aa17bb122ba6c614c662b308c0181ed8652b941eacd425a9c5dffa3f9fd7a5e311ec933dbc44ebae50caf8f72da09c3284ecc4d5dbc4c4b21db
diff --git a/kde-apps/ksystemlog/ksystemlog-23.08.3.ebuild b/kde-apps/ksystemlog/ksystemlog-23.08.3.ebuild
new file mode 100644
index 000000000000..5d3801228ae8
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-23.08.3.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."
+}